Skip to content

Commit

Permalink
Updated framework to version 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerovec committed Aug 14, 2015
1 parent c3fe9c7 commit f1b0a15
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ typedef NS_ENUM(NSUInteger, PPCameraPreset) {

/** Device's maximal video resolution will be used. */
PPCameraPresetMax,

/** Device's photo preview resolution will be used */
PPCameraPresetPhoto,
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ typedef NS_ENUM(NSUInteger, PPRecognitionMode) {
PPRecognitionModeDetectionTest
};

/**
* Denotes the mode in which FrameQuality estimation works
*/
typedef NS_ENUM(NSUInteger, PPFrameQualityEstimationMode){

/** Default. Frame quality estimation is ON if enabled recognizers require it by default.*/
PPFrameQualityEstimationModeDefault,

/** Frame quality estimation is always on */
PPFrameQualityEstimationModeOn,

/** Frame quality estimation is always off */
PPFrameQualityEstimationModeOff
};

/**
* Settings class containing settings related to scanner behaviour
*/
Expand Down Expand Up @@ -53,6 +68,16 @@ typedef NS_ENUM(NSUInteger, PPRecognitionMode) {
*/
@property (nonatomic, assign) PPRecognitionMode recognitionMode;

/**
* Frame quality estimation mode. If frame quality estimation is on, some video frames will be skipped, if
* frame quality estimator determines the quality is too low (i.e. frame is too blurry, too dark, or something similar).
*
* The downside is that frame quality estimation spends some valuable CPU time.
*
* Default PPFrameQualityEstimationModeDefault
*/
@property (nonatomic, assign) PPFrameQualityEstimationMode frameQualityEstimationMode;

/**
* Designated initializer. Initializes the object with default settings (see above for defaults)
*
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion buildCommit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Built from core repository commit 042cd95ef2c7734407004b096b9d73fea80c263f
Built from core repository commit 834b5d9e0c3bde4632dfd9005ba48c7ce2ce682e

0 comments on commit f1b0a15

Please sign in to comment.