huming0618 / ds-shop

0 stars 0 forks source link

数据采集 #5

Open huming0618 opened 7 years ago

huming0618 commented 7 years ago

使用手机设备对产品信息进行采集

参考

Android 端基于 OpenCV 的边框识别功能

huming0618 commented 7 years ago

IOS App

huming0618 commented 7 years ago

IOS App 开发

了解图像处理开发 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/

huming0618 commented 7 years ago

了解手机相机的设置(iOS)

帧速率

帧速率是指每秒钟刷新的图片的帧数,也可以理解为图形处理器每秒钟能够刷新几次。对影片内容而言,帧速率指每秒所显示的静止帧格数

帧速率可以影响到CPU使用率和电池消耗

问题

在什么样的帧速率下捕获才是合适的?
合适的曝光模式?
合适的对焦模式?
如何得知已经对焦?
使用isAdjustingFocus
[Refer] https://stackoverflow.com/questions/24719553/detect-when-camera-is-auto-focusing

API

activeVideoMinFrameDuration

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.

activeVideoMaxFrameDuration

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.

activeFormat

The currently active media data format of the capture device.

FocusMode

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.
AVCaptureFlashMode
AVCaptureExposureMode

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.
WhiteBalanceMode

参考

huming0618 commented 7 years ago

图像识别与机器学习

Log

huming0618 commented 7 years ago

App 功能 ToDo

Note

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

Sample Code https://github.com/shu223/iOS-9-Sampler/blob/master/iOS9Sampler/SampleViewControllers/TextDetectViewController.swift

文本识别 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/

huming0618 commented 7 years ago

Note

Caffe https://github.com/solrex/caffe-mobile

huming0618 commented 7 years ago

Barcode检测问题

尝试使用opencv检测Barcode 参考 http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/

问题解决策略

huming0618 commented 7 years ago

OpenCV学习

https://github.com/huming0618/learn-opencv3

huming0618 commented 6 years ago

使用ios11 Vison来建立检测系统

示例程序

To-Do

Tesseract 参考