3 ms·
Works until you need complex native code for things like automatic image capture assisted by a bounding model.
by sebmellen 1y ago
Works until you need complex native code for things like automatic image capture assisted by a bounding model.
- littlecranky67 1y agoThere is no reason you can't do that via web. Image capture in a canvas gives you access to the raw image pixmap data.
- sebmellen 1y agoTrust me, native camera access is extremely important if you need to directly control focus (for example). We have web and mobile apps that scan ID images and our ability to capture high quality images on mobile native devices is 5x better. AVFoundation on iOS especially.
- DecoPerson 1y agoYou can still have native views that appear over the WebView for certain tasks. I think you can also provide your own rendering context for <canvas> elements, so you could roll your own <video> element for showing the current camera view. Either way, you can still have full native camera control without having a 100% native app.
- sebmellen 1y agoYes not disagreeing there