简体   繁体   English

Angular6可以在Web应用上安装文档扫描仪

[英]Angular6 Its possible to have a document scanner on web app

可以在有角度的Web应用程序中安装文档扫描仪,当我在移动设备上时,如果您决定拍照打开相机,并且需要识别页面的边缘,则需要上传或拍摄文档图片。做类似camscan的事情。

If you are talking about Angular running on Ionic framework , yes you do have access to the camera, please see here: https://ionicframework.com/docs/native/camera/ 如果您正在谈论在Ionic framework上运行Angular ,是的,您确实有权使用相机,请参见此处: https : //ionicframework.com/docs/native/camera/

This is an example I build using the camera using Ionic Framework: https://github.com/hamilton-lima/glassCamera 这是我使用相机使用Ionic Framework构建的示例: https : //github.com/hamilton-lima/glassCamera

This is where the camera data is retrieved: https://github.com/hamilton-lima/glassCamera/blob/master/src/pages/home/home.ts 这是检索相机数据的地方: https : //github.com/hamilton-lima/glassCamera/blob/master/src/pages/home/home.ts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM