conservationtechlab / animl-py

Animl comprises a variety of machine learning tools for analyzing ecological data. This Python package includes a set of functions to classify subjects within camera trap field data and can handle both images and videos.
MIT License
6 stars 3 forks source link

11 labeled box #12

Closed srinidhi98 closed 1 year ago

srinidhi98 commented 1 year ago

This pull request addresses linting issues in plot_boxes.py module identified by Flake8 and pylint. The changes include:

The modified code successfully passed linting checks in both Flake8 and pylint without any issues or warnings. Please review and merge this pull request to improve code quality and ensure compliance with linting guidelines.

srinidhi98 commented 1 year ago

Deleted src file (previously under examples). Now, has updated run_plotboxes.py and plot_boxes.py

srinidhi98 commented 1 year ago

Updated run_plotboxes "import plot_boxes" to "import animl.plot_boxes" Passed flake8 and pylint for run_plotboxes.py and plot_boxes.py

srinidhi98 commented 1 year ago

This is a great PR, Nidhi!

I just ran the script using the same CSV from before and everything seems to work great. Boxes are still drawn not on the animals but in a different part of the image but that's just because they are fake boxes, right?

I just put in a couple of things I think we should address before merging.

Right, for now since the values are random I'm assuming the boxes will not be drawn in the expected regions.