Skip to content

cactusbento/goOpenCVTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goOpenCVTemplate

A starter repository for training a cascade classifier on game objects using gocv on X11.

Mainly created because I wanted to experiment on visual game object detection for game automation.


BotVision

Follow the OpenCV Cascade Classifier training article when using this repository, most things are automated here.

Note:

  • Training parameters should be adjusted to match the desired output
  • Adjust OpenCV application paths to match your system's OpenCV installation
  • uninput, xdotool, and X11 are the current requirements, so no Windows, Mac, or Wayland

Instructions:

  • Press v to take positive screenshots.
  • Press b to take negative screenshots.
  • ./annotate.sh to launch OpenCV's annotate program and start annotating positives.
  • ./samples.sh to create samples.
  • ./train.sh to train the models. Make sure to edit these scripts to match your OpenCV installation and preferences.

About

A starter repo for working with gocv cascade classifiers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published