Wild demo#66
Open
kgarwoodsdzwa wants to merge 159 commits into
Open
Conversation
previously adding this to the path was in detect_img for some reason
all the config and logging and loading was just happening when the script ran but it should just happen in main
there is important documentation about the different api calls you can do from strikeforce, but it should be clearly stored in the docstring and not in a floating comment in the middle
before this whole script was not nested in functions at all. One of the things this pr does is make fetch and alert into functions, but we werent passing the correct variables to the functions but now we are
most of the packages were dependent on 3.8 python, and had specific wheels for that python version. the whole environment creation needed to be changed in order to be compatible with python3.12 which is what the newest animl version needs to run. this might need further updates but currently all the packages allow the environment to be created without conflicts
new function names in animl and new config values needed to load detectors
images were not seen as images in animl because strikeforce sends a duplicate file extension, so now the extensions are modified to have one. the new detector loader also needs resizes set, and the defaults from animl are hardcoded now as the resizing
didnt realize cougarvision was already at 1.1.0 on master
a few changes, loading the model passes a tuple that needs to be unpacked in fetch_and_alert. detect image had to rework the functions and what gets passed, theres some differences in type of data in some of the functions, so some stuff needs to be converted before its passed or have columns added to the df. but classification officially works. just need to test and make sure when it gets a positiive detection that it will send email properly.
animl-py now requires python3.12 as opposed to the previous env which needed 3.8, and all packages were very specifically for 3.8, so had to be entirely reworked to be for 3.12.
before bbox was bbox1 etc but now its bbox_x etc
Bump version to 1.1.1.dev0
…b/cougarvision into 63_animl_update_3.1.1
63 animl update 3.1.2 Tested by kyra and approved
… configinfo object and it attributes
changed all attribute names in class configInfo to be capitalized. Changed refences to CONFIG to object config of the configInfo class. To access class attibutes use config.'ATTRIBUTE_NAME'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.