How to use the detectImage function from bindings

Find comprehensive JavaScript bindings.detectImage code examples handpicked from public code repositorys.

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;
fork icon50
star icon369
watch icon0

+ 3 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)