I am from Android development background so knows very less about webapps. I am working on a document detection functionality which i have achieved on Mobile app side using the following library project.
https://github.com/ctodobom/OpenNoteScanner
In the code Custom Camera Api is being used which provides the real-time camera frames which are then passed to openCv. From there openCv detects the document edges and returns the points which are used to draw the detected edges on a canvas.
The Problem here is we need the same functionality in WebApp.So please suggest the following.
Can we create custom camera using
Camera ApiinwebApps.?
if, yes thenHow to get the
real-time camera framesinwebApps
What i have found so far.
Following is the link to a source code which opens a camera in mobile web browser. It is using WebRtc. But i am not able to find a way to grab the frames.
https://github.com/apal21/stream-user-video-from-device-webrtc