codeproject / CodeProject.AI-Server

CodeProject.AI Server is a self contained service that software developers can include in, and distribute with, their applications in order to augment their apps with the power of AI.
https://codeproject.github.io/codeproject.ai
Other
732 stars 160 forks source link

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

Closed keith721 closed 1 month ago

keith721 commented 2 months ago

Area of Concern

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 https://github.com/google-coral/pycoral/issues/137#issuecomment-1974048543

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):

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 commented 1 month ago

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 commented 1 month ago

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: https://github.com/codeproject/CodeProject.AI-Server/discussions/132

ChrisMaunder commented 1 month ago

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 commented 3 weeks ago

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!