Skip to content

Commit

Permalink
BlinkCard v2.9.0 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCvetkovic authored Jan 18, 2024
1 parent b0a37a6 commit d6775fd
Show file tree
Hide file tree
Showing 580 changed files with 3,841 additions and 20,443 deletions.
23 changes: 6 additions & 17 deletions BlinkCard.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>BlinkCard.framework/BlinkCard</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
Expand All @@ -20,6 +22,8 @@
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>BlinkCard.framework/BlinkCard</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
Expand All @@ -31,28 +35,13 @@
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>BlinkCard.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>CFBundleShortVersionString</key>
<string>2.8.2</string>
<string>2.9.0</string>
<key>CFBundleVersion</key>
<string>2.8.2</string>
<string>2.9.0</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
Expand Down
Binary file modified BlinkCard.xcframework/ios-arm64/BlinkCard.framework/BlinkCard
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
// Generated by Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
#ifndef BLINKCARD_SWIFT_H
#define BLINKCARD_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -42,12 +42,18 @@
#include <string.h>
#endif
#if defined(__cplusplus)
#if __has_include(<ptrauth.h>)
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
# ifndef __ptrauth_swift_value_witness_function_pointer
# define __ptrauth_swift_value_witness_function_pointer(x)
# endif
# ifndef __ptrauth_swift_class_method_pointer
# define __ptrauth_swift_class_method_pointer(x)
# endif
#pragma clang diagnostic pop
#endif
#endif

Expand Down Expand Up @@ -246,6 +252,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_NOEXCEPT
#endif
#if !defined(SWIFT_C_INLINE_THUNK)
# if __has_attribute(always_inline)
# if __has_attribute(nodebug)
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
# else
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
# endif
# else
# define SWIFT_C_INLINE_THUNK inline
# endif
#endif
#if defined(_WIN32)
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
Expand Down Expand Up @@ -290,12 +307,12 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
- (nonnull instancetype)initWithString:(NSString * _Nonnull)string style:(NSParagraphStyle * _Nonnull)style font:(UIFont * _Nonnull)font;
@end

#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#if defined(__cplusplus)
#endif
#pragma clang diagnostic pop
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
#import "MBBlinkCardRecognizer.h"
#import "MBBlinkCardRecognizerResult.h"

#import "MBLegacyBlinkCardRecognizer.h"
#import "MBLegacyBlinkCardRecognizerResult.h"

#import "MBLegacyBlinkCardEliteRecognizer.h"
#import "MBLegacyBlinkCardEliteRecognizerResult.h"

#import "MBFullDocumentImageResult.h"
#import "MBEncodedFullDocumentImageResult.h"

Expand All @@ -34,3 +28,6 @@
// Anonymization
#import "MBCardNumberAnonymizationSettings.h"
#import "MBBlinkCardAnonymizationSettings.h"

// Glare
#import "MBGlareDetection.h"
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ MB_INIT
*/
@property (nonatomic) MBCMatchLevel photocopyAnalysisMatchLevel;

/**
* Whether invalid card number is accepted.
*
*Default: NO
*/
@property (nonatomic) BOOL allowInvalidCardNumber;

@end

@protocol MBCBlinkCardRecognizerDelegate <NSObject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@
#import "MBBlinkCardEditNavigationController.h"

// Overlay subviews
#import "MBRectDocumentSubview.h"
#import "MBDotsSubview.h"
#import "MBCameraReticle.h"
#import "MBDotsResultSubview.h"
#import "MBTapToFocusSubview.h"
#import "MBResultSubview.h"
#import "MBDotsSubview.h"
#import "MBErrorReticle.h"
#import "MBGlareStatusSubview.h"
#import "MBOcrFont.h"
#import "MBOcrLayout.h"
#import "MBOcrLayoutSubview.h"
#import "MBOcrResultSubview.h"
#import "MBOcrFont.h"
#import "MBRectDocumentSubview.h"
#import "MBResultSubview.h"
#import "MBTapToFocusSubview.h"

// Logger
#import "MBLogger.h"
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
*/
typedef NS_OPTIONS(NSInteger, MBCDetectionStatus) {

/** Object was not detected */
MBCDetectionStatusFail,
/** Detection has failed. */
MBCDetectionStatusFailed,

/** Object was successfuly detected. */
/** Document has been detected. */
MBCDetectionStatusSuccess,

/** Object was successfully detected, but the camera was too far above the object for processing */
MBCDetectionStatusCameraTooHigh,
/** Document has been detected but the camera is too far from the document. */
MBCDetectionStatusCameraTooFar,

/** Object was successfully detected using a fallback algorithm */
MBCDetectionStatusFallbackSuccess,
/** Document has been detected but the camera is too close to the document. */
MBCDetectionStatusCameraTooClose,

/** Object was detected, but is only partially visible on screen */
MBCDetectionStatusPartialForm,

/** Object was successfully detected, but the perspective angle of camera is too high */
MBCDetectionStatusCameraAtAngle,
/** Document has been detected but the camera’s angle is too steep. */
MBCDetectionStatusCameraAngleTooSteep,
/** Document has been detected but the document is too close to the camera edge. */
MBCDetectionStatusDocumentTooCloseToCameraEdge,

/** Object was successfully detected, but the camera is too near to the object for processing */
MBCDetectionStatusCameraTooNear,
/** Only part of the document is visible. */
MBCDetectionStatusDocumentPartiallyVisible,

/** Document detected, but document is too close to the edge of the frame */
MBCDetectionStatusDocumentTooCloseToEdge,
/** Fallback detection was successful (PhotoPay specific). */
MBCDetectionStatusFallbackSuccess
};

This file was deleted.

This file was deleted.

Loading

0 comments on commit d6775fd

Please sign in to comment.