Test AI Kit by ssh connection command line

You have downloaded the correct aarch64 whl file from developer_zone?
Seems you’re trying to install without it…

I downloaded aarch64 whl file from here…

yes I followed the same way to install hailo on your device? look

then

can you send me this link please

I do all steps but i can not install

@haldun
can you remove sudo before pip.

Second thing confirm you’re downloading the correct aarch64 wheel.
In your screenshot you are using x86.

hello

finally I have done install : pip install hailort-X.X.X-cpXX-cpXX-linux_x86_64.whl
successfully

but in last command for test I get this error

@haldun

i can not find way or method download yolov8n/s from model explorer for hailo8l

can you give me link for for download yolov8n/s from model explorer for hailo8l

https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.13.0/hailo8l/yolov8n.hef

1 Like

thanks :star_struck: :star_struck:

1 Like

thanks :star_struck: every thing ok

1 Like

hello

After implementing this example and resolving all issues, how can we continuously analyze a video or camera feed?" like this

cap = cv2.VideoCapture(“speed3.mp4”)
while True:
success, frame = cap.read()
analyze result = analyze (frame)

----

The script https://github.com/hailo-ai/Hailo-Application-Code-Examples/blob/main/runtime/python/object_detection/object_detection_utils.py assumes that the image is in one of the following formats: .jpg, .jpeg, .png or .bmp

No module named ‘hailo’
import hailo
ModuleNotFoundError: No module named ‘hailo’

  • I have executed the next code, but I encountered the error that I sent you earlier.
    cap = cv2.VideoCapture(“rtsp://admin:anas1155@192.168.1.168:554/Streaming/Channels/1/”)

    cap = cv2.VideoCapture(“speed3.mp4”)

    device = hailo.Device()

    pipeline = hailo.create_pipeline(device)

    while True:
    success, frame = cap.read()
    if not success:
    break

      frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
      
      try:
          roi = hailo.get_roi_from_buffer(frame)
          detections = roi.get_objects_typed(hailo.HAILO_DETECTION)
          print('hailo while ',detections)
          # Process detections...
      except Exception as e:
          print(f"Error occurred: {e}")
          break
    

    cap.release()

Hey @haldun

The latest error appears to be due to PYhailoRT not being installed in your virtual environment.

how I can install PYhailoRT installel in my virtual environment.

I remember installed on host machine when I put AIkit and test it by this command : sudo apt install hailo-all

(env) rasai@raspberrypi:~/kh/kh10/Hailo-Application-Code-Examples-copy/runtime/python/object_detection $ pip install hailort-4.18.0-cp311-cp311-linux_aarch64.whl i installed but same error : ModuleNotFoundError: No module named ‘hailo’

(env) rasai@raspberrypi:~/kh/kh10/Hailo-Application-Code-Examples-copy/runtime/python/object_detection $ python -c “import hailo_platform; print(hailo_platform.version)”

4.18.0