[英]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.