Open huming0618 opened 7 years ago
了解图像处理开发 http://www.cnblogs.com/mar-q/p/6670052.html https://www.youtube.com/watch?v=ywUBHqxwM5Q https://www.youtube.com/watch?v=ca4uEKtOrcE https://medium.com/compileswift/ios-opencv-and-swift-1ee3e3a5735b
文本识别 http://blog.csdn.net/youxitongyongming/article/details/51548882?locationNum=2&fps=1
OpenCV https://saitoxu.io/2016/11/07/how-to-use-opencv-in-swift-2.html
Object Detection https://www.toptal.com/machine-learning/real-time-object-detection-using-mser-in-ios
mac上安装opencv3 http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/
Repo https://github.com/huming0618/swift-camera-opencv.git
CIFeature https://blog.xamarin.com/image-detection-in-ios-8/
帧速率是指每秒钟刷新的图片的帧数,也可以理解为图形处理器每秒钟能够刷新几次。对影片内容而言,帧速率指每秒所显示的静止帧格数
帧速率可以影响到CPU使用率和电池消耗
使用isAdjustingFocus
[Refer] https://stackoverflow.com/questions/24719553/detect-when-camera-is-auto-focusing
A device’s minimum frame duration is the reciprocal of its maximum frame rate. You can set the value of this property to limit the maximum frame rate during a capture session.
A device’s maximum frame duration is the reciprocal of its minimum frame rate. You can set the value of this property to limit the minimum frame rate during a capture session.
The currently active media data format of the capture device.
case locked: The focus is locked.
case autoFocus: The device automatically adjusts the focus once and then changes the focus mode to
locked
.
case continuousAutoFocus: The capture device continuously monitors focus and auto focuses when necessary.
case locked
The exposure setting is locked.
case autoExpose
The device automatically adjusts the exposure once and then changes the exposure mode to
locked
.
case continuousAutoExposure
The device continuously monitors exposure levels and auto exposes when necessary.
case custom
The device should only adjust exposure according to user provided
iso andexposureDuration property values.
参考
API for detection on ios/osx https://developer.apple.com/documentation/coreimage https://developer.apple.com/documentation/coreimage/citextfeature https://developer.apple.com/documentation/coreimage/cidetector https://developer.apple.com/documentation/coreimage/cirectanglefeature
文本识别 https://github.com/Wang-Shuo/Chinese-Text-Detection-and-Recognition https://github.com/tianzhi0549/CTPN
recognition with tesseract https://www.raywenderlich.com/93276/implementing-tesseract-ocr-ios
For iOS11 https://github.com/hollisliu/iOS-Vision-Text-Detection-Demo
For Barcode http://www.th7.cn/Program/IOS/201604/794354.shtml
OpenCV Barcode http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/ http://felix.abecassis.me/2011/10/opencv-barcode-reader-part-3/
尝试使用opencv检测Barcode 参考 http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/
使用手机设备对产品信息进行采集
参考
Android 端基于 OpenCV 的边框识别功能