depthai icon indicating copy to clipboard operation
depthai copied to clipboard

Seeking Solution to Get Color Rectified Images with OAK-FFC 4P and OV9782 Cameras

Open tarekmuallim opened this issue 1 year ago • 4 comments

Hi,

I am using an OAK-FFC 4P board with two OV9782 color camera modules. I want to obtain rectified left and right images, but the stereo node only provides grayscale rectified images. Is there a way to get rectified color images, or is there a workaround to calculate them?

tarekmuallim avatar Jun 07 '24 09:06 tarekmuallim

Just a friendly reminder about issue #1180—any updates would be greatly appreciated. :wave: Thank you!

tarekmuallim avatar Aug 16 '24 10:08 tarekmuallim

I am also interested in this. I found this thread, but I'm finding that the output of the ImageManip node is not exactly the same as the stereo's rectified output...

artur-ag avatar Sep 04 '24 05:09 artur-ag

Hi @artur-ag

I tried the example provided at this link, and it works well. I modified the rectification function to handle three channels instead of just one.

However, I'm looking for a solution to obtain the rectified color frame directly from the OAK module itself.

tarekmuallim avatar Sep 04 '24 12:09 tarekmuallim

@tarekmuallim I believe I fixed the problem on the code of the other thread (see PR). With this, I am now getting rectified RGB from the OAK module (from ImageManip) that looks the same as the rectified grayscale coming from the StereoDepth node. However, I had to change meshCellSize = 16 to 20, otherwise I get a glitchy image in blocks.

artur-ag avatar Sep 05 '24 01:09 artur-ag