Skip to content

Wild demo#66

Open
kgarwoodsdzwa wants to merge 159 commits into
animl_updatefrom
wild_demo
Open

Wild demo#66
kgarwoodsdzwa wants to merge 159 commits into
animl_updatefrom
wild_demo

Conversation

@kgarwoodsdzwa
Copy link
Copy Markdown
Member

No description provided.

kgarwoodsdzwa and others added 30 commits May 26, 2025 16:15
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
63 animl update 3.1.2

Tested by kyra and approved
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants