sipeed / MaixPy3

Python sdk for Sipeed Maix-II-Dock(v831). Other board please use https://github.com/sipeed/MaixPy
https://wiki.sipeed.com/maixpy3
MIT License
173 stars 43 forks source link

Detach camera from display dependency (v831) #39

Open ricardojlrufino opened 2 years ago

ricardojlrufino commented 2 years ago

I was able to successfully run an old version of MaixPy3 on a generic IP camera (v831). However, the new versions of the library (camera) seem to be strongly coupled to the need to have a display.

It would be interesting to have some parameter in cam.config(size, display=True), which would serve to activate or not the display.

from maix import camera
camera.config(size=(640, 480), display=False)
junhuanchen commented 2 years ago

Indeed, in my latest version, I thought about it and turned off the default display on the V831, which was originally designed as an extension of the camera app because of its multilayer device (VO) support.