简体   繁体   English

Flutter - 如何从摄像头获取实时输入并扫描任何 object?

[英]Flutter - How to take real time input feed from camera and scan any object?

I'm building an application to scan a document by taking real-time camera feed and detect document in that feed.我正在构建一个应用程序来扫描文档,方法是获取实时相机提要并检测该提要中的文档。 I'm very beginner in the flutter, I have already done it in the python using OpenCV with the following steps A. Get Image B. Convert image to Greyscale C. I'm very beginner in the flutter, I have already done it in the python using OpenCV with the following steps A. Get Image B. Convert image to Greyscale C. Detect Edge (Apply any edge detector) D. Find Contours E. Find Biggest Contour F. Apply Warp Perspective and lastly G. Get Scanned Document.检测边缘(应用任何边缘检测器) D. 查找轮廓 E. 查找最大轮廓 F. 应用扭曲透视,最后 G. 获取扫描文档。

My question is, is there any package available to do this task?我的问题是,是否有任何 package 可用于执行此任务? if not then what is the way to implement these points as I have mentioned above?如果不是,那么我上面提到的实现这些点的方法是什么?

While there is a Flutter Package for OpenCV and it works with Android only, it is still not complete.虽然有 OpenCV 的Flutter Package 并且它适用于 ZE84E30B9390CDB64DB6DB2C9D,但它仍然不完整。

The best solution is to integrate the OpenCV native sdk for both Android and IOS and invoke them through platform channels .最好的解决方案是为 Android 和 ZBA3F2ADEA47B86B0D408DE3F7E4 通道集成 OpenCV 原生 sdk 并通过平台调用它们。

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

相关问题 Android将实时叠加添加到相机Feed - Android add real time overlay to camera feed 如何使用语音识别器从用户那里获取任何时间输入 - How to take any time input from user using speech recognizer 使用Android相机扫描对象 - Scan for Object with Android Camera 如何让 EditText 从任何语言中获取输入字符而不是符号 - How to make EditText take input character from any language but not symbols 使用ffmpeg实时解码android的硬件编码的H264相机feed - Decode android's hardware encoded H264 camera feed using ffmpeg in real time 如何一次扫描一个条形码? [反应原生相机] - How to scan one barcode per time? [react-native-camera] 如何在SurfaceView中以约5秒的延迟显示来自摄像机的实时视频? - How to show in the SurfaceView a real time video from the camera with delay about 5 seconds? 通过相机扫描图像和从相机捕获图像之间有什么不同吗? - Are there any different between Scan image through camera and capturing image from camera? 如何强制扑动`camera`插件以纵向模式拍照? - How to force flutter `camera` plugin to take photo in portrait mode? 从Android相机到浏览器的实时流传输 - Real-time streaming from Android camera to browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM