- Go to the folder microfaune_package
- Run the command
pip install .
- Go to the folder microfaune_package
- Run the command
pipenv run pip install .
Can be used as any package python:
from microfaune import audio
s, f = audio.load_wav("whatever.wav")
To use the detection model:
from microfaune.detection import RNNDetector
detector = RNNDetector()
global_score, local_score = detector.predict_on_wav("whatever.wav")
Once built, the documentation is available by opening the file doc/build/html/index.html
.
To generate the documentation, the packages sphinx and sphinx-rtd-theme need to be installed.
All the commands must be launched in console from the folder doc/
.
To remove the previous generated documentation:
make clean
To generate the html documentation:
make html