Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebayerRGGBBilinear ¶
Takes camera data and converts it to an image.NRGBA. Does full 1280x720, though it's a little slow. Meant for single frames, not streams.
func GetFrame ¶
Gets a frame from the camera when the next one is ready. Read about output data here: https://github.com/digital-dream-labs/vector/blob/main/docs/vision/Debayering.md DebayerRGGBBilinear() can convert this to a nice image.Image. vjpeg includes a function for converting this to JPEG.
func InitCam ¶
Init camera. This initiates the communication with mm-anki-camera and starts getting frames. It also modifies the service file to get full framerate from the camera. If you want a horrible autoexposure implementation, give it `true`.
func IsInited ¶ added in v1.2.1
func IsInited() bool
Check if vcam is recieving frames from the camera
func SetExposure ¶
Set exposure. Accepts milliseconds and gain. I still need to experiment with limits and combinations.
Types ¶
This section is empty.