Skip to content

A simple application that detects and counts the number of trees in a vineyard. Makes use of darknet and OpenCV.

License

Notifications You must be signed in to change notification settings

sampreets3/treecounter-ML

Repository files navigation

treecounter-ML

A simple application that detects and counts the number of trees in a vineyard. Makes use of darknet and OpenCV.


Setup

  • Clone the repository onto your local machine : git clone https://github.com/sampreets3/treecounter-ML
  • Create the videos and models directories :
    $ mkdir models
    $ mkdir videos
    
  • Add the video in the videos directory.
  • Add the model-specific data in the models directory
  • Run the detector :
python3 test.py -iv imgs/input-video.mp4 -ov result.mp4

Common Problems:

  • GtkMessage-fixed Gtk-Message: Failed to load module "canberra-gtk-module" : You can fix the issue by installing the gtk and gtk3 modules sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

Maintainer Information

Sampreet Sarkar [email protected]

About

A simple application that detects and counts the number of trees in a vineyard. Makes use of darknet and OpenCV.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published