ML Object Detection on Orange Pi 5! Using PhotonVision fork!

We’re looking for teams with an Orange Pi 5 or other RK3588/RK2588S based coprocessors using Photonvision to beta test object detection.

Q: What does this require from me?
A: Uploading a jar using PhotonVision’s “offline update” feature.

Q: What cameras can be used with this?
A: Any USB/CSI color camera should work.

Q: What’s the performance of this?
A: My unit can get 60+ fps with multiple cameras at once. Looking for beta testers to validate my numbers.

Q: Do I need to train my own model?
A: You can if you want to, but I have many models ready to use, including YOLOv5n, YOLOv5s, and YOLOv8n, for 640x640, 960x960, for NOTES detection and CUBES/CONES as well.

Q: How do I interface with it via code?
A: You use the same class you use for AprilTags. The tagId field is used for the class of the detected object, and the ambiguity is used for its confidence.

7 Likes

Is the source code for this available anywhere?

7 Likes

We tried this a few days ago and were very satisfied with the results. The latency is very low and the model can recognize partially hidden Notes and sometimes stacked ones, too. Notice the low FPS is because the LifeCam we used is capped at 30FPS.

4 Likes

I was able to find it, but I’m pretty weirded out by not answering questions on CD

Edit: This personal GitHub account is owned by an account with the same name on CD, who was banned from CD

4 Likes

They’re also banned from the photonvision discord on multiple accounts, FWIW.

here’s your extra letter, Ustin: A

3 Likes

Open RKNN Beta🎉

Everyone is welcome to use the latest beta release of the fork, available here.
Just flash your Orange Pi 5 with the included image, or use offline update to upload the supplied linuxarm64 jar.

Model Conversions :partying_face:

The jupyter notebooks for training and converting YOLOv5 and YOLOv8 into RKNN models are now available, links in the discord server! A lot of work was put into both parts, so please share your feedback:)

1 Like

Getting Started

A Getting-Started guide is now available!

1 Like

Any plan to create a version for mini PC like Beelink N5095-based Mini PC?

The model is looking great! Just a question: is it compatible to Raspberry PI 4/5? If not, are there plan for their support in the future?

This ML works using the NPU that’s present on the RK3588S chip that’s on the Orange Pi 5 and similar boards. RKNN is supported only by rockchip devices, so it cannot be supported on a PC or a Raspberry Pi.

1 Like

I am trying to use this. I installed your image on my Orange Pi 5 and it seems to work and can detect the notes. However, when I try and access the data from the roborio, I get an error saying that v2024.2.7 does not match v2024.2.6. However 2.6 seems to be the latest version available on your repository. Is there a way to fix this?

1 Like

The new version is now available here

Thanks much.

1 Like