I am trying to use my OAK-1 with an rpi 4 for a project.
I used the pre-configured RPi OS image provided in the documentation, namely:
KS_RpiOS_Full V1 (Buster) and also tried KS_RpiOS_Full V2 (Bullseye)
DepthAI is running fine without any issues. However, when using other cv functions such as RootSIFT feature detection and BF matchers, the performance is extremely slow (5 seconds per image).
So First, I used the same feature detection functions on another RPi [4GB] provided by my university. It has openCV version 4.1.1 and can do the same feature matching in just 0.5 seconds. The problem in this Pi was that I had issues with the DepthAI in it. When I run any sample code, no window appears and the terminal freezes.
Therefore, I tried to use the pre-configured RPi OS images mentioned above with another [8GB] Rpi.
Here, it uses openCV version 4.5.5. DepthAI works perfectly, but the feature matching takes 5 seconds!/
I ran the
topcommand in terminal and found that python3 is utilizing 100% of the cpu
Any thoughts to solve the issue?