Skip to content

mcclintock-lab/ocean-ruler-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo for the python code that runs generates length estimates for oceanruler.org

Setting up a python environment

Use Miniconda

Some dependent packages are only installable via conda. Additionally, conda installs its own python3.6, freeing you from that responsibility

If you don't have conda already, install it with the miniconda installer

Sample run

python poseidon.py --ref_object square --ref_object_units cm --ref_object_size 10.0 --fishery_type finfish --uuid "12345678Test" --username testRun --email "None given" --original_filename "fuu.bar" --original_size 0 --loc_code "none" --measurement_direction length --image sample_photos/finfish/288_KLPBS_315.jpg --show True --show True will pop up the results so you can see how the model(s) are operating If you see this: ModuleNotFoundError: No module named 'cv2', you need to run conda activate fastai-cpu

About

Repo for experimental abalone length scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published