Skip to content

Module for node.js, based on OpenCV DNN, YOLO and COCO dataset.

License

Notifications You must be signed in to change notification settings

wooseokyourself/people-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

people-detector

Module for node.js, based on OpenCV DNN, YOLOv3 and COCO dataset.

Dependencies

  • Linux
  • OpenCV 4 (with pkgconfig)
  • node-gyp

Install

  1. Initialize project
$ npm init -y
  1. Install node packages in project
$ npm install bindings node-addon-api
  1. Configure node-gyp
$ node-gyp configure
  1. Build module
$ node-gyp build
  1. Get YOLOv3 pre-trained model
$ chmod 755 getModel.sh
$ sh getModel.sh

Usage

see test.js. It returns the number of people in image and write result image.

Others

  • If you want to use model of yolov4, then OpenCV 4.4 or later version is required.

About

Module for node.js, based on OpenCV DNN, YOLO and COCO dataset.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages