SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
214 stars 34 forks source link

I installed the tutorial on win10 and run the pen_3d demo #1

Closed 19920716 closed 2 years ago

19920716 commented 3 years ago

C:/Users/Administrator/Desktop/sdk-examples/python/oak/pen_3d.py:18: DeprecationWarning: setRectifyMirrorFrame() is deprecated. vio_pipeline = spectacularAI.depthai.Pipeline(pipeline)

rgb pictures only rgb, no pen.

19920716 commented 3 years ago

1111 #

19920716 commented 3 years ago

222 Is my environment version wrong?

oseiskar commented 3 years ago

Hi Andy!

In the pen example, the "ink" activates when you completely cover the RGB camera with your finger (so that the "rgb" image looks completely black or very dark). Did you try that?

To verify that your setup is correct, also try the vio_visu.py example. It's otherwise like the pen example but the "ink" is always active and you do not have to cover the color camera.

19920716 commented 3 years ago

Hi @oseiskar I tried it, there is no drawing function, mixed_reality.py runs normally, but the FPS is a bit low.

Bercon commented 3 years ago

Hi @19920716, I tried the example with same dependency versions as you have on Windows 10. The example seems to work fine despite giving the deprecation warning.