Skip to content

Instantly share code, notes, and snippets.

View sunilsomarajan's full-sized avatar
🏠
Working from home

Sunil Somarajan sunilsomarajan

🏠
Working from home
  • Sacramento
View GitHub Profile
General configuration for OpenCV 4.3.0 =====================================
Version control: unknown
Extra modules:
Location (extra): /home/ssunil/mywork/install_from_web/opencv/opencv_contrib-4.3.0/modules
Version control (extra): unknown
Platform:
Timestamp: 2020-05-02T17:27:26Z
Host: Linux 4.9.140-tegra aarch64
@sunilsomarajan
sunilsomarajan / opencv_mobile_ssd.py
Created May 2, 2020 22:51
OpenCV DNN with CUDA example
mport cv2 as cv
import time
rootdir = '/home/ssunil/mywork/ml_opencv_code/'
tfmodeldir = "model_configs/ssd_mobilenet_v2_coco_2018_03_29/"
tfgraph = "frozen_inference_graph.pb"
tfconfig = "ssd_mobilenet_v2_coco_2018_03_29.pbtxt"
handleChange = event => {
event.persist();
this.setState({
searchterm: event.target.value
});
};