question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] {setIrFloodLightBrightness}

See original GitHub issue

do you have example code showing how to setIrFloodLightBrightness and ‘setIrLaserDotProjectorBrightness’ for the OAK-D Pro POE?

I am specifically working from this blaze pose repo https://github.com/geaxgx/depthai_blazepose/blob/main/BlazeposeDepthaiEdge.py#L104

I tried adding self.device.setIrFloodLightBrightness(1000); The code compiles and runs but the scene still seems to not get flooded with IR.

Thanks.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
stephanschulzcommented, Aug 13, 2022

Sorry about that. I now understand. It took me a minute to learn how to display the mono cameras. Here I am showing the right camera and it looks like laser and IR Led are working. Screen Shot 2022-08-13 at 10 54 01 AM

I followed some of the code here: https://docs.luxonis.com/projects/api/en/latest/samples/VideoEncoder/rgb_mono_encoding/

Thanks again.

0reactions
Erol444commented, Aug 13, 2022

Could you share a mono camera image? As mentioned, color camera doesn’t perceive IR light from illumination LED.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Device - DepthAI documentation - Luxonis
setIrFloodLightBrightness (self: depthai.DeviceBase, mA: float, mask: int = - 1) → bool. Sets the brightness of the IR Flood Light. Limits: up to...
Read more >
C++ API Reference — DepthAI documentation | Luxonis
bool setIrFloodLightBrightness (float mA, int mask = -1)¶. Sets the brightness of the IR Flood Light. Limits: up to 1500mA at 30% duty...
Read more >
depthai - bytemeta
[BUG] FFC-type Board Calibration Flashing Error · [QUESTION] run only on OKA-D Pro POE as standalone device · [QUESTION] {setIrFloodLightBrightness}.
Read more >
[Noetic] onnxruntime_vendor is in the package.xml - Ms-Iot ...
[QUESTION] {setIrFloodLightBrightness}, 5, 2022-08-13, 2022-08-09. [QUESTION] run only on OKA-D Pro POE as standalone device, 2, 2022-08-14, 2022-08-09.
Read more >
Last issues related to luxonis/depthai project - PullAnswer
2022-08-14. [QUESTION] run only on OKA-D Pro POE as standalone device. 0 Likes 2 Replies. stephanschulz. 2022-08-13. [QUESTION] {setIrFloodLightBrightness}.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found