sipeed / MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
https://wiki.sipeed.com/maixpy
Other
1.68k stars 438 forks source link

Stereo Vision example? #354

Open Rafipaulino opened 3 years ago

Rafipaulino commented 3 years ago

I am trying to make a simple program to determine the distance at which objects are located using the dual camera for Maix Dock.

Since OpenCV is not supported by the board, it's getting a little complicated for me to do the application. Is there an example of Stereo Vision from which to start?

Thanks in advance

junhuanchen commented 3 years ago

maybe you can see this https://github.com/sipeed/MaixPy_scripts/tree/master/machine_vision

Rafipaulino commented 3 years ago

Thank you very much junhuanchen.

I really had already checked the examples. In fact, there is a basic example to use the dual camera, but I haven't seen anything yet, for example, to calibrate the cameras and to calculate the depth of the objects. Probably there is a way to do it using OpenMV library.

junhuanchen commented 3 years ago

we don't provide such sample code XD, is openmv not opencv

mentarus commented 3 years ago

Interesting I can't even see the example code that used the stereo board, I explicitly remember seeing MaixPy code using the power switch to switch between the two cameras. Is the stereo module being phased out?

mentarus commented 3 years ago

Actually, the binocular demo is here https://github.com/sipeed/MaixPy_scripts/blob/master/hardware/demo_binocular.py it's not doing any machine vision though, as far as I can see there's no example other than just basic feed through display.

sahinemreaslan commented 2 years ago

Object distmance example ? using binocular camera