Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectDetectionCoral - Please consider switching pyCoral code source to feranick fork #128

Closed
1 of 6 tasks
keith721 opened this issue Sep 8, 2024 · 4 comments
Closed
1 of 6 tasks

Comments

@keith721
Copy link

keith721 commented Sep 8, 2024

Area of Concern

  • Server
  • Behaviour of one or more Modules: ObjectDetectionCoral
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

Describe the bug
Google appears to have abandoned the Coral Python libraries. This presents issues with current/later versions of Python. User Feranick forked the Google pyCoral libraries at https://github.com/feranick/pycoral Details available at google-coral/pycoral#137 (comment)

Expected behavior
I expect the ObjectDetectionCoral module to initialize and execute successfully.
It currently reports errors with the inability to load the OpenCV and numpy modules.

Screenshots
objectdetection_coral_adapter.py: Unable to load OpenCV or numpy modules. Only using PIL.
objectdetection_coral_adapter.py: Unable to find or initialise the Coral TPU. Falling back to CPU-only.
objectdetection_coral_adapter.py: Using CPU

Your System (please complete the following information):

  • CodeProject.AI Server version: 2.6.5
  • OS: Windows 11 Pro x64
  • System RAM 32Gb
  • GPU (if available) Intel UHD Graphics 630
  • GPU RAM (if available) [???]

Additional context
PCIe m.2 dual-core Coral processor card installed, but not recognized.
System runs the BlueIris camera monitoring application.
CodeProject.AI runs in the background to perform object detection.
Recently forced to re-install Windows and BlueIris and CP.ai when system SSD failed.

@melyux
Copy link

melyux commented Sep 30, 2024

CodeProject AI itself seems to be abandoned. First DeepStack, now this. You'd think AI projects would be under heavier development. Wonder why that is

@SlothCroissant
Copy link

CodeProject AI itself seems to be abandoned. First DeepStack, now this. You'd think AI projects would be under heavier development. Wonder why that is

FWIW, there has been some transition ongoing within the CodeProject team, with CodeProject.AI rebasing itself here. there was seemingly a lull as some things got hashed out, but there has been plenty of commits in recent weeks.

I was worried about things as well, but reading through things, I'm confident CPAI will remain as a big player in the AI enablement space.

Discussion: #132

@ChrisMaunder
Copy link
Contributor

Are you using USB or PCIe Coral? USB on Windows is insanely flakey. I strongly recommend not using Coral on Windows. The .NET object detector on windows is a more stable replacement

@keith721
Copy link
Author

Are you using USB or PCIe Coral? USB on Windows is insanely flakey. I strongly recommend not using Coral on Windows. The .NET object detector on windows is a more stable replacement

I previously used a single-TPU USB version on Windows. As you note, it's rather hit-and-miss. I ordered an m.2 dual-TPU card, but still waiting for the m.2 B+M adapter board to use it. I appreciate you responding here, and I understand the recent project shift/reorg difficulties. Just keep things running smoothly as well as possible. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants