Skip to content

Commit

Permalink
Merge pull request #20 from BlinkID/feature/v1.3.0
Browse files Browse the repository at this point in the history
v1.3.0 update
  • Loading branch information
juraskrlec authored Apr 26, 2024
2 parents 975e89c + 5f569a2 commit 366fdfd
Showing 39 changed files with 122 additions and 65 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.3.0

- No changes

## v1.2.3

- No changes
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -67,6 +67,16 @@ typedef NS_ENUM(NSInteger, MBCCGlarePolicy) {
MBCCGlarePolicyRelaxed
};

/// Enforces a specific document group, overriding the analyzer’s document classification.
typedef NS_ENUM(NSInteger, MBCCEnforcedDocumentGroup) {
MBCCEnforcedDocumentGroupNone,
MBCCEnforcedDocumentGroupDl,
MBCCEnforcedDocumentGroupId,
MBCCEnforcedDocumentGroupPassport,
MBCCEnforcedDocumentGroupPassportCard,
MBCCEnforcedDocumentGroupVisa
};

/// See ``MBCCLightingThresholds`` for more details.
@class MBCCLightingThresholds;

@@ -91,6 +101,12 @@ MBCC_CORE_FINAL
/// Default: `NO`
@property (nonatomic) BOOL keepMarginOnTransformedDocumentImage;

/// Determines whether to preserve the captured document DPI in transformed document image.
/// If disabled, the document dpi is downscaled to 400 DPI.
///
/// Default: `NO`
@property (nonatomic) BOOL keepDpiOnTransformedDocumentImage;

/// Enables document capture with a margin defined as the percentage of the dimensions of the framed document.
///
/// Both margin and document are required to be fully visible on camera frame in order to finish capture.
@@ -154,6 +170,13 @@ MBCC_CORE_FINAL
/// Default: `MBCCGlarePolicyNormal`
@property (nonatomic) MBCCGlarePolicy glarePolicy;

/// Enforces a specific document group, overriding the analyzer’s document classification.
///
/// This setting impacts the number of sides scanned to match the enforced group, and the way document image is transformed.
///
/// Default: `MBCCEnforcedDocumentGroupNone`
@property (nonatomic) MBCCEnforcedDocumentGroup enforcedDocumentGroup;

@end

/// Parameters for lighting estimation.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
</data>
<key>Headers/MBCCAnalyzerSettings.h</key>
<data>
XnsG6XMZyZ2hUgUxLlPNpufEX10=
L/Etz+0ORGV/vtLavb1KL704dqk=
</data>
<key>Headers/MBCCCameraFrameAdjuster.h</key>
<data>
@@ -62,35 +62,35 @@
</data>
<key>Info.plist</key>
<data>
76NJG1CGXkBpPOvuWvFSEnCPxd8=
y5DLDupGn8jP62UfbyTxFGckuOI=
</data>
<key>Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d921885982.strop</key>
<data>
wI79Ct27+07HULn2STDcqa4I1P4=
RRXmlEub8+2j83h9ZwFAuczip/E=
</data>
<key>Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa5d050.strop</key>
<data>
ADfMRAeQMjFShI0j/ppaRXHoqRw=
rYmebR1bAcoOh+sWjAa/0Utg/dc=
</data>
<key>Model_2880751121560047e6dc571bc8ff4683aeb863886f7c0789234594ceb1e23577.strop</key>
<data>
NsY0XMWFpbBJ8WetsmfMNs62lDk=
COAEavHfyJBvsiGlb4FA6YKkMLs=
</data>
<key>Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374ad89c2.strop</key>
<data>
ATa+CpgpZqTv6tNPxkphzPREvI0=
5gnlccEl9qPtNN1NDyplE2QLN0A=
</data>
<key>Model_e4f1f62f68ec44b71ecad3fb3f3b48fe3790beb5ab325611e17d63af06e9f644.strop</key>
<data>
KTTtYCKW7zy93hbU6TutBWpUPNM=
U3haoITE+rl4p2zaLZQkK0kqplc=
</data>
<key>Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0911de.strop</key>
<data>
ieH2Mhd7txYMuxsHWDz/TT3ZPSI=
+oom2WAl1VTw8ycADxy0vNFBGS0=
</data>
<key>Model_f2874f5766b779c063dbe30467979163497dc4b29c43bab23d70c798ee32993a.strop</key>
<data>
ygfyg/rSV0CYJ3YTtSg7A6+8wXk=
cTbaBlNz7BEgOWEP4nix3KFL/kw=
</data>
<key>Modules/module.modulemap</key>
<data>
@@ -102,7 +102,7 @@
</data>
<key>conan.xcconfig</key>
<data>
Ku4ilIeoK9aHLvU5u9qUYfHCpYc=
m1BrHuzSCDO7/lF+s4I1iFn5MLk=
</data>
</dict>
<key>files2</key>
@@ -139,7 +139,7 @@
<dict>
<key>hash2</key>
<data>
T9GPWsznVzQSCDw4g9ph0pl9NekA1g49x8WCWyNGLPM=
fEtgDU3sq76j3C3JtTQ41B1+dQIC/pFR2vUUKYm1jeM=
</data>
</dict>
<key>Headers/MBCCCameraFrameAdjuster.h</key>
@@ -209,49 +209,49 @@
<dict>
<key>hash2</key>
<data>
/XRnunyGYspJTHHV56/EaARWbTdncWWs2S5UAEtwYfw=
9FV8C0G69I1BklgPQpy+EebwfCbz7KLV/EtAbA0aFCU=
</data>
</dict>
<key>Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa5d050.strop</key>
<dict>
<key>hash2</key>
<data>
2twuAtO2kE+Xeoclz1FAR1Fd72Mu3tgvPN/vnqz/6Wg=
XfoV7NcKKUl/eUWoalP8nlBsVb2W/mbvjddP3CBUYF0=
</data>
</dict>
<key>Model_2880751121560047e6dc571bc8ff4683aeb863886f7c0789234594ceb1e23577.strop</key>
<dict>
<key>hash2</key>
<data>
Ec1HZd4FmTC3qkHbSW+wpwYtDjvP6OQNfEXI+8Pr76s=
PPA44M4KQBcrYrPc5YBgA61cFOYfuZdrde/2mmnYaf8=
</data>
</dict>
<key>Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374ad89c2.strop</key>
<dict>
<key>hash2</key>
<data>
+CPakF7yx34IWUZvdkg/cdfEpuv5hciF8MMuXZCA094=
BbEOkOQrsBgYM7KbCCzPmKXPYkSakTFcvGWJZicfmLI=
</data>
</dict>
<key>Model_e4f1f62f68ec44b71ecad3fb3f3b48fe3790beb5ab325611e17d63af06e9f644.strop</key>
<dict>
<key>hash2</key>
<data>
yB33I7bfNEuMBnvHki5LLENSVmhmWgWU2kVQjJVkzm8=
JeLy/Z54sCh9OVUG/bleIj3hV2twFHY0Z6dDdaIo/eg=
</data>
</dict>
<key>Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0911de.strop</key>
<dict>
<key>hash2</key>
<data>
W8lhojSf90Amgezy/i6ekTjIXNrU4znfgvzTZ8qLLgA=
AhZS0/0n+LThnQOL0MDv23HaAkOf57WVNNnlkIlaLxo=
</data>
</dict>
<key>Model_f2874f5766b779c063dbe30467979163497dc4b29c43bab23d70c798ee32993a.strop</key>
<dict>
<key>hash2</key>
<data>
oAv3pkal/2g2kIy34dcCT5W76SR0UHJLFUcVQuaULSs=
Y9aWUf4+lvtGFCbt6dMXTl0sfl91OZViWEDgrlDmG8I=
</data>
</dict>
<key>Modules/module.modulemap</key>
@@ -272,7 +272,7 @@
<dict>
<key>hash2</key>
<data>
LpBfmUv9Rx02ebfe4qqZR7IYRtYVlodpMcRrpkddLcQ=
IKcFCPtooU4m88TxoYCkRNhOnP1mdcB+D8iV3yFDnNo=
</data>
</dict>
</dict>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Version settings
MARKET_VERSION = 1.2.3
MARKETING_VERSION = 1.2.3
CURRENT_PROJECT_VERSION = 1.2.3
MARKET_VERSION = 1.3.0
MARKETING_VERSION = 1.3.0
CURRENT_PROJECT_VERSION = 1.3.0

// Build
ONLY_ACTIVE_ARCH[config=DevRelease] = YES
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -67,6 +67,16 @@ typedef NS_ENUM(NSInteger, MBCCGlarePolicy) {
MBCCGlarePolicyRelaxed
};

/// Enforces a specific document group, overriding the analyzer’s document classification.
typedef NS_ENUM(NSInteger, MBCCEnforcedDocumentGroup) {
MBCCEnforcedDocumentGroupNone,
MBCCEnforcedDocumentGroupDl,
MBCCEnforcedDocumentGroupId,
MBCCEnforcedDocumentGroupPassport,
MBCCEnforcedDocumentGroupPassportCard,
MBCCEnforcedDocumentGroupVisa
};

/// See ``MBCCLightingThresholds`` for more details.
@class MBCCLightingThresholds;

@@ -91,6 +101,12 @@ MBCC_CORE_FINAL
/// Default: `NO`
@property (nonatomic) BOOL keepMarginOnTransformedDocumentImage;

/// Determines whether to preserve the captured document DPI in transformed document image.
/// If disabled, the document dpi is downscaled to 400 DPI.
///
/// Default: `NO`
@property (nonatomic) BOOL keepDpiOnTransformedDocumentImage;

/// Enables document capture with a margin defined as the percentage of the dimensions of the framed document.
///
/// Both margin and document are required to be fully visible on camera frame in order to finish capture.
@@ -154,6 +170,13 @@ MBCC_CORE_FINAL
/// Default: `MBCCGlarePolicyNormal`
@property (nonatomic) MBCCGlarePolicy glarePolicy;

/// Enforces a specific document group, overriding the analyzer’s document classification.
///
/// This setting impacts the number of sides scanned to match the enforced group, and the way document image is transformed.
///
/// Default: `MBCCEnforcedDocumentGroupNone`
@property (nonatomic) MBCCEnforcedDocumentGroup enforcedDocumentGroup;

@end

/// Parameters for lighting estimation.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
</data>
<key>Headers/MBCCAnalyzerSettings.h</key>
<data>
XnsG6XMZyZ2hUgUxLlPNpufEX10=
L/Etz+0ORGV/vtLavb1KL704dqk=
</data>
<key>Headers/MBCCCameraFrameAdjuster.h</key>
<data>
@@ -62,35 +62,35 @@
</data>
<key>Info.plist</key>
<data>
NnHwENAyn9P/BEAx0n3Vf87qAZc=
vofnOOglcmeWzX4G8x9eBdQhDP0=
</data>
<key>Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d921885982.strop</key>
<data>
wI79Ct27+07HULn2STDcqa4I1P4=
RRXmlEub8+2j83h9ZwFAuczip/E=
</data>
<key>Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa5d050.strop</key>
<data>
ADfMRAeQMjFShI0j/ppaRXHoqRw=
rYmebR1bAcoOh+sWjAa/0Utg/dc=
</data>
<key>Model_2880751121560047e6dc571bc8ff4683aeb863886f7c0789234594ceb1e23577.strop</key>
<data>
NsY0XMWFpbBJ8WetsmfMNs62lDk=
COAEavHfyJBvsiGlb4FA6YKkMLs=
</data>
<key>Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374ad89c2.strop</key>
<data>
ATa+CpgpZqTv6tNPxkphzPREvI0=
5gnlccEl9qPtNN1NDyplE2QLN0A=
</data>
<key>Model_e4f1f62f68ec44b71ecad3fb3f3b48fe3790beb5ab325611e17d63af06e9f644.strop</key>
<data>
KTTtYCKW7zy93hbU6TutBWpUPNM=
U3haoITE+rl4p2zaLZQkK0kqplc=
</data>
<key>Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0911de.strop</key>
<data>
ieH2Mhd7txYMuxsHWDz/TT3ZPSI=
+oom2WAl1VTw8ycADxy0vNFBGS0=
</data>
<key>Model_f2874f5766b779c063dbe30467979163497dc4b29c43bab23d70c798ee32993a.strop</key>
<data>
ygfyg/rSV0CYJ3YTtSg7A6+8wXk=
cTbaBlNz7BEgOWEP4nix3KFL/kw=
</data>
<key>Modules/module.modulemap</key>
<data>
@@ -102,7 +102,7 @@
</data>
<key>conan.xcconfig</key>
<data>
Ku4ilIeoK9aHLvU5u9qUYfHCpYc=
m1BrHuzSCDO7/lF+s4I1iFn5MLk=
</data>
</dict>
<key>files2</key>
@@ -139,7 +139,7 @@
<dict>
<key>hash2</key>
<data>
T9GPWsznVzQSCDw4g9ph0pl9NekA1g49x8WCWyNGLPM=
fEtgDU3sq76j3C3JtTQ41B1+dQIC/pFR2vUUKYm1jeM=
</data>
</dict>
<key>Headers/MBCCCameraFrameAdjuster.h</key>
@@ -209,49 +209,49 @@
<dict>
<key>hash2</key>
<data>
/XRnunyGYspJTHHV56/EaARWbTdncWWs2S5UAEtwYfw=
9FV8C0G69I1BklgPQpy+EebwfCbz7KLV/EtAbA0aFCU=
</data>
</dict>
<key>Model_07c7ab860e77ec2e92bb822f6d62424b8595a5beb4340f6b2f7f6a4cffa5d050.strop</key>
<dict>
<key>hash2</key>
<data>
2twuAtO2kE+Xeoclz1FAR1Fd72Mu3tgvPN/vnqz/6Wg=
XfoV7NcKKUl/eUWoalP8nlBsVb2W/mbvjddP3CBUYF0=
</data>
</dict>
<key>Model_2880751121560047e6dc571bc8ff4683aeb863886f7c0789234594ceb1e23577.strop</key>
<dict>
<key>hash2</key>
<data>
Ec1HZd4FmTC3qkHbSW+wpwYtDjvP6OQNfEXI+8Pr76s=
PPA44M4KQBcrYrPc5YBgA61cFOYfuZdrde/2mmnYaf8=
</data>
</dict>
<key>Model_3b11c3ffacbbf390b932fb9a7024f1a0016f66281ea8c790f8b5903374ad89c2.strop</key>
<dict>
<key>hash2</key>
<data>
+CPakF7yx34IWUZvdkg/cdfEpuv5hciF8MMuXZCA094=
BbEOkOQrsBgYM7KbCCzPmKXPYkSakTFcvGWJZicfmLI=
</data>
</dict>
<key>Model_e4f1f62f68ec44b71ecad3fb3f3b48fe3790beb5ab325611e17d63af06e9f644.strop</key>
<dict>
<key>hash2</key>
<data>
yB33I7bfNEuMBnvHki5LLENSVmhmWgWU2kVQjJVkzm8=
JeLy/Z54sCh9OVUG/bleIj3hV2twFHY0Z6dDdaIo/eg=
</data>
</dict>
<key>Model_ed586fd6ca47c8eebb513c4ffaaacc2c54e92162b145062d7022519fba0911de.strop</key>
<dict>
<key>hash2</key>
<data>
W8lhojSf90Amgezy/i6ekTjIXNrU4znfgvzTZ8qLLgA=
AhZS0/0n+LThnQOL0MDv23HaAkOf57WVNNnlkIlaLxo=
</data>
</dict>
<key>Model_f2874f5766b779c063dbe30467979163497dc4b29c43bab23d70c798ee32993a.strop</key>
<dict>
<key>hash2</key>
<data>
oAv3pkal/2g2kIy34dcCT5W76SR0UHJLFUcVQuaULSs=
Y9aWUf4+lvtGFCbt6dMXTl0sfl91OZViWEDgrlDmG8I=
</data>
</dict>
<key>Modules/module.modulemap</key>
@@ -272,7 +272,7 @@
<dict>
<key>hash2</key>
<data>
LpBfmUv9Rx02ebfe4qqZR7IYRtYVlodpMcRrpkddLcQ=
IKcFCPtooU4m88TxoYCkRNhOnP1mdcB+D8iV3yFDnNo=
</data>
</dict>
</dict>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Version settings
MARKET_VERSION = 1.2.3
MARKETING_VERSION = 1.2.3
CURRENT_PROJECT_VERSION = 1.2.3
MARKET_VERSION = 1.3.0
MARKETING_VERSION = 1.3.0
CURRENT_PROJECT_VERSION = 1.3.0

// Build
ONLY_ACTIVE_ARCH[config=DevRelease] = YES
Loading

0 comments on commit 366fdfd

Please sign in to comment.