geezacoleman / OpenWeedLocator

An open-source, low-cost, image-based weed detection device for in-crop and fallow scenarios.
MIT License
320 stars 56 forks source link

improve gog error checking #110

Closed geezacoleman closed 6 months ago

geezacoleman commented 6 months ago

Improved GreenonGreen error checking with:

  1. Better try/except catching and an _handle_exceptions() method to make it cleaner
  2. Added model_path as a variable instead of relying on algorithm='gog'
  3. Fixed bug when drawing bounding boxes in GreenonGreen class.