Structs§
- Webcam
- Webcam struct definition
The struct wraps the
VideoCapturetype, and has custom functions for it. You can create a new instance with thenewfunctions.
Functions§
- resize_
image_ from_ bytes - Resize your images (Raw image bytes are not accepted, since they arent in a format), the resized image’s bytes are returned. You have to provide the bytes, width, hight and the preferred filter type of the image (Nearest is the fastest).