Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tarekmuallim opened this issue Jun 7, 2024 · 4 comments

Comments

@tarekmuallim
Copy link

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
Copy link
Author

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

@artur-ag
Copy link

artur-ag commented Sep 4, 2024

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...

@tarekmuallim
Copy link
Author

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.

@artur-ag
Copy link

artur-ag commented Sep 5, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants