Overview
A concrete sub-class of GMVDataOutput.
This dataOutput distributes the items of a detection result among an individual GMVOutputTrackerDelegate. This enables detection result processing code to be defined at the individual item level, avoiding the need for boilerplate code for iterating over and managing groups of items.
Inherits GMVDataOutput.
Instance Method Summary | |
(instancetype) | - initWithDetector: |
Designated initializer. More... | |
(void) | - receivedResults: |
Subclasses need to override these methods. More... | |
(void) | - cleanup |
Clean up resources. More... | |
Property Summary | |
id< GMVMultiDataOutputDelegate > | multiDataDelegate |
The GMVOutputTrackerDelegate object returned by this delegate is retained strongly. More... | |
id< GMVDataOutputDelegate > | dataDelegate |
Data source information delegate. More... | |
AVCaptureDevicePosition | captureDevicePosition |
Sets the camera device position to help calculate image rotation. More... | |
CGSize | previewFrameSize |
The video frame preview size. More... | |
NSUInteger | maxFrameGap |
The maximum allowable frames must pass without detecting a specific feature before delegate is notified the feature is no longer available. More... | |
Method Detail
- (instancetype) initWithDetector: | (GMVDetector *) | NS_DESIGNATED_INITIALIZER |
Designated initializer.
- Parameters
-
detector use to run detection.
- (void) receivedResults: | (NSArray< __kindof GMVFeature * > *) | results |
Subclasses need to override these methods.
Detected GMVFeature results.
- Parameters
-
results The full detection results.
- (void) cleanup |
Clean up resources.
Property Detail
|
readwritenonatomicweak |
The GMVOutputTrackerDelegate object returned by this delegate is retained strongly.
Call -cleanup
to properly release internal variables.
|
readwritenonatomicweakinherited |
Data source information delegate.
|
readwritenonatomicassigninherited |
Sets the camera device position to help calculate image rotation.
If not provided, it will try to retrieve position info through AVCaptureConnection.
|
readnonatomicassigninherited |
The video frame preview size.
The value is used to normalize display properties.
|
readwritenonatomicassigninherited |
The maximum allowable frames must pass without detecting a specific feature before delegate is notified the feature is no longer available.
The value is default to 3.