This file contains 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 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 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 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 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)?; |