Skip to content

Capture recognised objects using CvHaar Classifier. Was used to auto lock laptop when leaving desk

Notifications You must be signed in to change notification settings

samsarge/recognition-cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recognition camera script

Capture recognised objects via webcam

Setup

  • brew install opencv@2
  • bundle, if you get errors run
  • gem install ruby-opencv -- --with-opencv-dir=/usr/local/opt/opencv@2
  • ruby app.rb

Notes

This depends greatly on your ruby version. If you get cpp errors when installing the gem then use a lower ruby version. I can confirm it doesn't work on 2.6.x

About

Capture recognised objects using CvHaar Classifier. Was used to auto lock laptop when leaving desk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages