Giter Club home page Giter Club logo

megadetector-desktop's Introduction

⚠️ The MegaDetector Desktop Project has been superseded by the CamTrap Detector project. ⚠️

MegaDetector Desktop

Warning: MegaDetector Desktop is currently considered alpha software. Expect bugs and crashes, and please report them on the GitHub repository. For a more stable CLI utility, see the Microsoft/CameraTraps MegaDetector Scripts.

MegaDetector Desktop Splash Image

Install

MegaDetector Desktop is currently available for Windows (x64) and MacOS (Intel). Latest versions can be found on the releases page.

Citation

If you use MegaDetector Desktop in your research, please cite the original MegaDetector work:

@article{beery2019efficient,
 title={Efficient Pipeline for Camera Trap Image Review},
 author={Beery, Sara and Morris, Dan and Yang, Siyu},
 journal={arXiv preprint arXiv:1907.06772},
 year={2019}
}

https://github.com/microsoft/CameraTraps/blob/main/megadetector.md#citing-megadetector

Furthermore, if you use MegaDetector Desktop in your research, please cite the MegaDetector Desktop project:

TODO

Development

Details on development and building can be found in CONTRIBUTING.md.

License

MIT

megadetector-desktop's People

Contributors

bencevans avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ainstitute

megadetector-desktop's Issues

Document MacOS M1 Setup

https://asciinema.org/a/3ix56vOvZ8toBr1HFfCztpUpz

git clone [email protected]:bencevans/megadetector-desktop.git mdd
cd mdd
conda create -n fresh python==3.9
conda activate fresh
conda install -c apple tensorflow-deps
python -m pip install tensorflow-macos
poetry export --dev --without-hashes > requirements.txt
cd ..
git clone https://github.com/tensorflow/io
cd io
git checkout v0.25.0
python3 setup.py -q bdist_wheel
pip install --no-deps ./dist/tensorflow_io-0.25.0-cp39-cp39-macosx_11_0_arm64.whl
python3 setup.py -q bdist_wheel --project tensorflow_io_gcs_filesystem
pip install ./dist/tensorflow_io_gcs_filesystem-0.25.0-cp39-cp39-macosx_11_0_arm64.whl
cd ../mdd
pip install -r requirements.txt
python -m pip install tensorflow-macos
pip install -r requirements.txt
conda install tensorflow==2.8
pip install -r requirements.txt
python app.py
# wooo all working!

MacOS Build Failing to Boot

dist-2/MegaDetector Desktop.app/Contents]$ ./MacOS/MegaDetector\ Desktop MacOS/MegaDetector\ Desktop
Traceback (most recent call last):
  File "app.py", line 1, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "tkinter/__init__.py", line 37, in <module>
ModuleNotFoundError: No module named '_tkinter'
[16534] Failed to execute script 'app' due to unhandled exception: No module named '_tkinter'
[16534] Traceback:
Traceback (most recent call last):
  File "app.py", line 1, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module
  File "tkinter/__init__.py", line 37, in <module>
ModuleNotFoundError: No module named '_tkinter'

Handle Corrupt Images

  • Should not crash if unable to read an image

  • #16

    from PIL import ImageFile
    ImageFile.LOAD_TRUNCATED_IMAGES = True

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.