开发者

How do i access camera video from phonegap?

开发者 https://www.devze.com 2023-04-10 09:04 出处:网络
Ph开发者_如何转开发onegap\'s documentation suggests that there is a single method to access the camera, camera.getPicture().

Ph开发者_如何转开发onegap's documentation suggests that there is a single method to access the camera, camera.getPicture().

Now I would like to access the video feed and draw something on top. Is this possible?


I made a PhoneGap Plugin for iOS to capture video streaming into a canvas or image: https://github.com/daraosn/Cordova-CanvasCamera

It's not the best way to do it (if you can, do it natively). I wouldn't recommend it for production apps yet, but it works good so far in development.

0

精彩评论

暂无评论...
验证码 换一张
取 消