Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.11 KB

Running this demo

Download the trained models from

and put them into the demo directory.

Then run inference_over_image.py from inside the demo directory:

python inference_over_image.py \
    --detection_inference_graph 2018-03-09_faster_rcnn_mensural_detection.pb \
    --classification_inference_graph 2018-03-26_inception_resnet_v2_position_classification.h5 \
    --input_image 12673.JPG \
    --detection_label_map category_mapping.txt \
    --classification_label_map position_mapping.txt \
    --ignorable_classes_list ignorable_classes.txt \
    --output_image annotated_image.jpg \
    --output_result output_transcript.txt

Note that the depicted parameters are the default-parameter, so if you are happy with them, they can be omitted (e.g. the label_maps).