I have studied a lot of example about face detection and also I have detected the eye in iPhone using CIDetector
and HaarCascade_eye.xml
. But I want to detect the pupils of eye and want to measure the distance between pupils. Please guide me something so that I could do that.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
To calculate distance between two points using the following formula:
This will get center points of the two eyes (as detected by CIDetector) and compare their locations to output the measurements you're looking for.