1. 首页
  2. 数据库
  3. 其它
  4. pi camera shim:Pi相机界面 源码

pi camera shim:Pi相机界面 源码

上传者: 2021-04-26 13:08:14上传 ZIP文件 2KB 热度 9次
pi-camera-shim 在pi本地时使用相机,在本地系统上时使用测试数据(当前仍为gif帧)。 用法 var shim = require ( 'pi-camera-shim' ) ; shim . pullAndProcessLoop ( function ( err , image , advance , terminate ) { //set the actual bytes to something el . setAttribute ( 'src' , image . base64Image ) ; //pull another image advance ( ) ; //todo: process image } , 'path/to/test/image/directory' ) ;
下载地址
用户评论