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

Active Stereo/IR Projector doenst seem to work on OAK-D Pro W PoE #1036

Open
Phyrokar opened this issue Jun 17, 2024 · 5 comments
Open

Active Stereo/IR Projector doenst seem to work on OAK-D Pro W PoE #1036

Phyrokar opened this issue Jun 17, 2024 · 5 comments

Comments

@Phyrokar
Copy link

Hello,
I just bought the OAK-D Pro W PoE and I want to activate the IR Projector but it looks like, that it doesnt work.
Here is my Code:

irState = self.device.setIrFloodLightBrightness(1000)
print("setIrFloodLightBrightness",irState)

irLaser = self.device.setIrLaserDotProjectorBrightness(1000)
print("setIrLaserDotProjectorBrightness",irLaser)

Output:

setIrFloodLightBrightness True
setIrLaserDotProjectorBrightness True

Do I have to activate it somewhere else to?
Thanks

@Erol444
Copy link
Member

Erol444 commented Jun 17, 2024

Hi @Phyrokar ,
How did you determine it doesn't work? Could you try using depthai-viewer, and use the slider there and check whether the monochrome (stereo) image changes?

@Phyrokar
Copy link
Author

Hi @Phyrokar , How did you determine it doesn't work? Could you try using depthai-viewer, and use the slider there and check whether the monochrome (stereo) image changes?

Thanks for the quick answer.
To be honest: I just cant see any red dot on the projector^^
Unfortunately, the depthai-viewer doesnt find the camera. Maybe its because of the ethernet connection and the static ip?

@Erol444
Copy link
Member

Erol444 commented Jun 17, 2024

Hi @Phyrokar ,
Do you mean with your own eyes? It's IR (940nm), and humans don't see in that spectrum.
You can set static IP of your computer so depthai-viewer would be able to find it; see "No DHCP" section here:
https://docs.luxonis.com/hardware/platform/deploy/poe-deployment-guide/#Debugging

@Phyrokar
Copy link
Author

Phyrokar commented Jun 18, 2024

Hi @Phyrokar , Do you mean with your own eyes? It's IR (940nm), and humans don't see in that spectrum. You can set static IP of your computer so depthai-viewer would be able to find it; see "No DHCP" section here: https://docs.luxonis.com/hardware/platform/deploy/poe-deployment-guide/#Debugging

I usually try it with another camera, but still cant see it. But you might be right, because the result seems to be different.

My Python program is running all fine, but the viewer does not show any device:
grafik

@Erol444
Copy link
Member

Erol444 commented Jun 18, 2024

@Phyrokar seems like the viewer (using depthai underneath) can't find the device. So you'd need to set static IP of your computer to be in the same subnet as the camera (if you aren't using DHCP).

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