-
Notifications
You must be signed in to change notification settings - Fork 0
Animl update and wild_demo #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kgarwoodsdzwa
wants to merge
18
commits into
master
Choose a base branch
from
animl_update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0b35fb2
Merge pull request #55 from conservationtechlab/master
kgarwoodsdzwa 89effd9
Revert "updating wild demo to reflect master"
kgarwoodsdzwa 7d15dc7
Merge pull request #56 from conservationtechlab/revert-55-master
kgarwoodsdzwa 11906ef
Make the demo modular
kgarwoodsdzwa 4c4243c
Change filename for cougarvision_visualize script
kgarwoodsdzwa bfddaa7
Condence function import and improve specificity on logging msg
kgarwoodsdzwa 5a2f8a5
Fix logging duplicates
kgarwoodsdzwa 9e7b8f9
Fix pylint and flake8 errors
kgarwoodsdzwa 68e66d0
Handle .pt classifier models
kgarwoodsdzwa e5ba67c
Add some new config values/change names
kgarwoodsdzwa 749b716
Remove dependency of old animl function
kgarwoodsdzwa ae22184
updated yml outline
kgarwoodsdzwa 1410512
Merge branch 'animl_update' into wild_demo
kgarwoodsdzwa 59966fc
Merge pull request #58 from conservationtechlab/wild_demo
kgarwoodsdzwa d4be3e6
Merge branch 'master' into animl_update
kgarwoodsdzwa cbfd01f
Make readme.md reflect the updated master README.md
kgarwoodsdzwa 432ef5d
Merge branch 'animl_update' of github.com:conservationtechlab/cougarv…
kgarwoodsdzwa b0e2efd
remove our camera id and names from example config
kgarwoodsdzwa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,46 +1,60 @@ | ||
| #home_dir - path to local cougarvision repo | ||
| home_dir: /home/johnsmith/cougarvision | ||
| #True to send detections to consumer emails | ||
| email_alerts: True | ||
| er_alerts: True | ||
| #True to send detections to earthranger | ||
| # 1 = email alerts and 2 = earthranger alerts | ||
| email_alerts: True | ||
| er_alerts: True | ||
| #detector_model - path to detector model | ||
| detector_model: /home/johnsmith/cougarvision/detector_models/megadetector.pt | ||
| detector_model: /home/johnsmith/cougarvision/detector_models/megadetector_v4.1.pb | ||
| #classifier_model - path to classifier model | ||
| classifier_model: /home/johnsmith/cougarvision/classifier_models/EfficientNetB5_456_Unfrozen_05_0.26_0.92.h5 | ||
| checkpoint_frequency: -1 | ||
| #log_dir - path to logs (must create this folder first) | ||
| log_dir: /home/johnsmith/cougarvision/logs/ | ||
| #classes - path to the class list for the classifier model | ||
| classes: /home/johnsmith/cougarvision/labels/sw_classes.txt | ||
| #Run version that allows for images cast to two screens? True/False | ||
| visualize_output: True | ||
| #for visualizing output, folder for cougarvision to put all images | ||
| path_to_unlabeled_output: /path/to/unlabeled/img/folder | ||
| #for visualizing output, folder for cougarvision detections with bounding boxes | ||
| path_to_labeled_output: /path/to/labeled/img/folder | ||
| #the emails that will receive email alerts, can be multiple emails | ||
| consumer_emails: [<insert emails>] | ||
| # the amiul (s) you with to receive the developmemt email alert- contains confidence value of detection | ||
| dev_emails: [<insert emails>] | ||
| consumer_emails: [your@email.com] | ||
| #emails to recieve daily check-in and confidence of detections | ||
| dev_emails: [your@email.com] | ||
| #threshold confidence score | ||
| confidence: 0.7 | ||
| #cpu threads | ||
| threads: 8 | ||
| # Web Scraping | ||
| #strike force api url | ||
| strikeforce_api: https://api.strikeforcewireless.com/api/v2/ | ||
| #strikeforce wireless username | ||
| username_scraper: [yourusername.cam@gmail.com] | ||
| username_scraper: yourusername.cam@gmail.com | ||
| #strikeforce wireless password | ||
| password_scraper: [yourpassword] | ||
| #authorization token from Strike Force, can be obtained with login credentials and using strikeforceget.py in /cougarvision_utils folder | ||
| auth_token: ["<insert account token>"] | ||
| password_scraper: yourpassword | ||
| #authorization token from Strike Force | ||
| auth_token: <must get from web dev tools after strikeforcewireless login> | ||
| #save_dir - path to where the images get stored (must create folder) | ||
| save_dir: /home/johnsmith/images/ | ||
| #dictionary containing the strikeforce unique ID with the actual 4 digit camera name, ID can be obtained using strikeforcegetcameras.py within the /cougarvision_utils folder | ||
| camera_names: {'<strikeforce id>': <camera name>, ...} | ||
| #dict of camera names and their respective strikeforce wireless ids, these must be retrieved from | ||
| #strikeforce wireless web dev tools in the code and currently the cam names must be 4 chars long | ||
| camera_names: {'<strikeforceid>': <camera name>, '<strikeforceid>': <camera name>...} | ||
| #animals that the detector will send alerts for if detected (from class list) | ||
| alert_targets: [cougar, bobcat, skunk, deer, dog, coyote] | ||
| alert_targets: [cougar, bobcat, skunk, deer, dog, coyote, rabbit, elephant] | ||
| #checkn_interval - time interval between still-alive emails to let us know no errors have crashed | ||
| #cougarvision if it's running constantly | ||
| checkin_interval: 24 | ||
| #email to send still-alive email to | ||
| admin: admin@email.com | ||
| #x-csrf token retreived from earthranger interactive api example requests, must be logged into an | ||
| #existing earthranger account with interactive api access | ||
| token: '<insert token>' | ||
| token: [insert token] | ||
| #authorization bearer token retreived from same earthranger interactive api example requests | ||
| authorization: 'Bearer <insert authorization>' | ||
| authorization: Bearer [insert authorization] | ||
| #the time between repeating running fetch_and_alert, if visualize_output = True, it will be in seconds and if it = False it will be in minutes | ||
| run_scheduler: 10 | ||
| #color of the bounding box | ||
| color: 'LawnGreen' | ||
| #color: 'Orange' | ||
| #color: 'Azure' |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.