Function getPhoto
Function description
Function call
var pic = getPhoto();pic = getPhoto();Work example
// take a frame in rgb32 format
var pic = getPhoto();
brick.display().show(pic, total_height, total_width, "rgb32");
script.wait(2000);# take a frame in rgb32 format
pic = getPhoto();
brick.display().show(pic, total_height, total_width, "rgb32");
script.wait(2000);Implementing the grayscale function
Implementing the image binarization function
Last updated
Was this helpful?