Duane

  • Nov 12, 2024
  • Joined Jan 12, 2024
  • 0 best answers
  • Fixed a small issue with the code in the integrations/roboflow.py file. The integration was making a request to api.roboflow.com prior to checking to see if the cache existed. This caused offline systems to throw an exception. I've put in a pull request here luxonis/depthai1154 to merge that change back into the main repo.

    Thanks again for pointing me at the depthai_sdk!

    • Hello,

      I'm working with Roboflow and a trained model. I've successfully got a raspberry pi to run the Oak-D W Camera and do detection based on the model using the RoboflowOak example below:
      https://blog.roboflow.com/opencv-ai-kit-deployment/

      However our usages it to have the robot NOT connected to the Internet. So when we bridge the robot to the internet all works great. When we disconnect it the camera code crashes with the below error:

      urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.roboflow.com', port=443): Max retries exceeded with url: /oak/crescendonote/1?api_key=[Redacted Key]&device=19443010E15EA12E00&nocache=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbd125710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

      Is it not possible to use these cameras with a cached model and use the roboflowoak library? is there an easier tutorial you could point me at?

      Thanks,

      Duane

    • Sweet that worked fine. Oddly I had reboot to after python3 -m pip install or it kept throwing errors that the library was not seen.

      Thanks!

    • May be a silly question but. I'm trying to use other python libraries in my robot app. I've "pip installed" my custom lib but when I goto run the app it says "ModuleNotFoundError: No Module Named 'MyLibrary'. Is there a different way to install normal python packages?

      Thanks.

      Duane