Changes between Version 6 and Version 7 of hailoai


Ignore:
Timestamp:
03/25/2024 10:37:40 PM (8 months ago)
Author:
Ryan Erbstoesser
Comment:

add bike example python

Legend:

Unmodified
Added
Removed
Modified
  • hailoai

    v6 v7  
    221221
    222222}}}
     223
     224== Hailo Examples
     225
     226Hailo has some pre-built examples.
     227
     228Use the following steps:
     229 * Checkout example code:
     230{{{
     231git clone https://github.com/hailo-ai/Hailo-Application-Code-Examples.git
     232}}}
     233
     234* Run example which will take an input picture and then label any objects detected in the picture.
     235 * Original image:
     236  * [[Image(bike.png,300px)]]
     237 * Processed Image:
     238   * [[Image(bike-after.jpg,300px)]]
     239Code example:
     240{{{
     241gateworks@jammy-venice:~/apps/apps/Hailo-Application-Code-Examples/runtime/python/yolo_general_inference$ python3 ./yolo_inference.py --labels ./coco2017.txt ./yolov7.hef ./bike.jpg yolo_v7
     242Warning! Unable to query CPU for the list of supported features.
     243DEBUG:tensorflow:Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client.
     244      i     | Input  layer: yolov7/input_layer1 (640, 640, 3)
     245      i     | Output layer: yolov5_nms_postprocess (80, 5, 80)
     246Labels detected in image0:
     247person: 89.02%
     248bicycle: 92.16%
     249gateworks@jammy-venice:~/apps/apps/Hailo-Application-Code-Examples/runtime/python/yolo_general_inference$
     250
     251}}}
    223252== Hailo Tappas
    224253