How to use the detectImage function from bindings
Find comprehensive JavaScript bindings.detectImage code examples handpicked from public code repositorys.
GitHub: mobimeo/node-yolo
![mobimeo profile picture](/mobimeo.png?size=40)
1 2 3 4 5 6 7 8 9 10
module.exports = { detectImage(cfg, cb) { cfg.thresh = cfg.thresh || 0.24; cfg.hierThresh = cfg.hierThresh || 0.5; darknet.detectImage(cfg, cb); }, detect(cfg, cb) { const captureFromFile = !!cfg.video; const captureFromCam = !captureFromFile;
+ 3 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)