This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if the right number of arguments were passed | |
if [ $# -ne 6 ]; then | |
echo "Usage: $0 \"primary_text\" \"secondary_text\" "KURAL_ENN" "Athigaram" input_image.png output.mp4" | |
echo "Example: $0 "இருள்சேர் இருவினையும் சேரா இறைவன்\nபொருள்சேர் புகழ்புரிந்தார் மாட்டு" "கடவுளின் மெய்மைப் புகழையே விரும்புபவரிடம் அறியாமை இருளால் வரும் நல்வினை தீவினை என்னும் இரண்டும் சேருவதில்லை" "5" "கடவுள் வாழ்த்து" bg.png kural5.mp4" | |
exit 1 | |
fi | |
# Assign arguments to variables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Odoo-docker-directory | |
#├── addons | |
#├── config | |
#│ └── odoo.conf | |
#├── docker-compose.yaml | |
#├── odoo_pg_pass | |
#└── sessions | |
# Create a config file inside the config directory with the following content | |
# [options] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dependencies | |
// esp-idf-sys = { version = "0.31.11", features = ["binstart"] } | |
// esp-idf-svc = "0.43.4" | |
// esp-idf-hal = "0.39.3" | |
// embedded-hal = "0.2.7" | |
// embedded-svc = "0.23.1" | |
use std::{ | |
thread::sleep, | |
time::Duration, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
#Reading an image (https://i.imgur.com/cdmHQiR.jpg) | |
img = cv2.imread('blue.jpg') | |
cv2.imshow('Original', img) | |
#Converting image to HSV Colorspace | |
hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) | |
cv2.imshow('HSV', hsv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use opencv::{ | |
Result, | |
prelude::*, | |
objdetect, | |
highgui, | |
imgproc, | |
core, | |
types, | |
videoio, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Rajesh Pachaikani | |
Contact: [email protected] | |
*/ | |
use opencv::{highgui, prelude::*, videoio, Result}; | |
fn main() -> Result<()> { | |
let mut cam = videoio::VideoCapture::new(0, videoio::CAP_ANY)?; | |
highgui::named_window("window", highgui::WINDOW_FULLSCREEN)?; |