MIT License
Copyright (c) 2022 Michail Liarmakopoulos [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This app is a CLI bird classifier using a specific pretrained Tensorflow model and specific bird labels.
As it is now, it needs network access so that it works, since both the model and the labels are being fetched from the internet.
Simply run within a python virtual environment running Python of version 3.9
or greater:
pip install -r requirements.txt
This app comes with a simple but handy CLI API.
We've put some test images of birds in the images directory, imgs/
.
To test some of them simply run from within this directory:
python runner.py imgs/bird_01.jpg
If you try running the runner.py
without inserting any image, or comma separated images, you should get a warning.
To get help on how to run the runner.py
script, write:
python runner.py --help
- 3.9
- 3.10
- Ubuntu 18.04, 20.04 (ubuntu-latest).
- MacOSX 10.15, 11.6.2 (macos-latest).
- Currently the library fails to work properly with python 3.6, 3.7, 3.8.
- CI breaks to run on Windows Server (2016, 2019, 2022).