Skip to content

Commit

Permalink
Merge pull request #21 from BlinkID/feature/v1.3.1
Browse files Browse the repository at this point in the history
v1.3.1
  • Loading branch information
juraskrlec authored May 21, 2024
2 parents 366fdfd + 8358ec0 commit 57e5492
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 21 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.1

- Change from `kCVPixelFormatType_420YpCbCr8BiPlanarFullRange` to `kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange`

## v1.3.0

- No changes
Expand Down
Binary file modified CaptureCore.xcframework/ios-arm64/CaptureCore.framework/CaptureCore
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</data>
<key>Info.plist</key>
<data>
y5DLDupGn8jP62UfbyTxFGckuOI=
ql76kVKW/UCa/PQBWg3d4ubljik=
</data>
<key>Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d921885982.strop</key>
<data>
Expand Down Expand Up @@ -102,7 +102,7 @@
</data>
<key>conan.xcconfig</key>
<data>
m1BrHuzSCDO7/lF+s4I1iFn5MLk=
Xc7Ey//JCkgfELc+HLEwVSOKp70=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -272,7 +272,7 @@
<dict>
<key>hash2</key>
<data>
IKcFCPtooU4m88TxoYCkRNhOnP1mdcB+D8iV3yFDnNo=
7kYTyD7wYR4lv8MHP9S4P8iCVmmynQJEWHuelEUU+Jk=
</data>
</dict>
</dict>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Version settings
MARKET_VERSION = 1.3.0
MARKETING_VERSION = 1.3.0
CURRENT_PROJECT_VERSION = 1.3.0
MARKET_VERSION = 1.3.1
MARKETING_VERSION = 1.3.1
CURRENT_PROJECT_VERSION = 1.3.1

// Build
ONLY_ACTIVE_ARCH[config=DevRelease] = YES
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</data>
<key>Info.plist</key>
<data>
vofnOOglcmeWzX4G8x9eBdQhDP0=
c97CC0DAZP4FUb5I4LCl6xnYkOU=
</data>
<key>Model_021c530a7efe77c0e90c4bfe19c3bebaaceee433103e4e6d4f1424d921885982.strop</key>
<data>
Expand Down Expand Up @@ -102,7 +102,7 @@
</data>
<key>conan.xcconfig</key>
<data>
m1BrHuzSCDO7/lF+s4I1iFn5MLk=
Xc7Ey//JCkgfELc+HLEwVSOKp70=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -272,7 +272,7 @@
<dict>
<key>hash2</key>
<data>
IKcFCPtooU4m88TxoYCkRNhOnP1mdcB+D8iV3yFDnNo=
7kYTyD7wYR4lv8MHP9S4P8iCVmmynQJEWHuelEUU+Jk=
</data>
</dict>
</dict>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Version settings
MARKET_VERSION = 1.3.0
MARKETING_VERSION = 1.3.0
CURRENT_PROJECT_VERSION = 1.3.0
MARKET_VERSION = 1.3.1
MARKETING_VERSION = 1.3.1
CURRENT_PROJECT_VERSION = 1.3.1

// Build
ONLY_ACTIVE_ARCH[config=DevRelease] = YES
Expand Down
Binary file modified CaptureUX.xcframework/ios-arm64/CaptureUX.framework/CaptureUX
Binary file not shown.
Binary file modified CaptureUX.xcframework/ios-arm64/CaptureUX.framework/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</data>
<key>Info.plist</key>
<data>
y+95a9k7DlL6rsQr+Qv636auIwQ=
DDL5i4/6SKuZxBjLMYPMl2ZnmoM=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</data>
<key>Info.plist</key>
<data>
C15HpPu1OLW11uQbbCDfJd7a8xE=
Hn3xwFkyjUElsXTWMQmuka8hFOA=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
6 changes: 3 additions & 3 deletions MBCaptureCore.podspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Pod::Spec.new do |s|

s.name = "MBCaptureCore"
s.version = "1.3.0"
s.version = "1.3.1"
s.summary = "A delightful Direct API component for document capture"
s.homepage = "http://microblink.com"
s.readme = "https://raw.githubusercontent.com/BlinkID/capture-ios/v1.3.0/README.md"
s.readme = "https://raw.githubusercontent.com/BlinkID/capture-ios/v1.3.1/README.md"

s.description = <<-DESC
The BlinkID Capture iOS SDK gives you the ability to auto-capture high quality images of identity documents in a user-friendly way. The SDK provides you with a rectified image of the document that ensures high success rate in extracting document text or verifying the document validity.
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
}

s.source = {
:http => 'https://github.com/BlinkID/capture-ios/releases/download/v1.3.0/CaptureCore.xcframework.zip'
:http => 'https://github.com/BlinkID/capture-ios/releases/download/v1.3.1/CaptureCore.xcframework.zip'
}

s.platform = :ios
Expand Down
6 changes: 3 additions & 3 deletions MBCaptureUX.podspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Pod::Spec.new do |s|

s.name = "MBCaptureUX"
s.version = "1.3.0"
s.version = "1.3.1"
s.summary = "A delightful UX component for document capture"
s.homepage = "http://microblink.com"
s.readme = "https://raw.githubusercontent.com/BlinkID/capture-ios/v1.3.0/README.md"
s.readme = "https://raw.githubusercontent.com/BlinkID/capture-ios/v1.3.1/README.md"

s.description = <<-DESC
The BlinkID Capture iOS SDK gives you the ability to auto-capture high quality images of identity documents in a user-friendly way. The SDK provides you with a rectified image of the document that ensures high success rate in extracting document text or verifying the document validity.
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
}

s.source = {
:http => 'https://github.com/BlinkID/capture-ios/releases/download/v1.3.0/CaptureUX.xcframework.zip'
:http => 'https://github.com/BlinkID/capture-ios/releases/download/v1.3.1/CaptureUX.xcframework.zip'
}

s.platform = :ios
Expand Down
8 changes: 8 additions & 0 deletions Release_notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Release notes

## v1.3.1

- License key remote check fix
- Change from `kCVPixelFormatType_420YpCbCr8BiPlanarFullRange` to `kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange`
- ROI fix:
- Output connection video orientation fix
- iPhone 15 Pro fix

## v1.3.0

- Added option `Keep DPI on image`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class CameraViewController: UIViewController, AVCaptureAudioDataOutputSampleBuff
// Create session
captureSession = AVCaptureSession()
captureSession?.sessionPreset = .high

// Init the device inputs
let videoInput = try? AVCaptureDeviceInput(device: cameraWithPosition(AVCaptureDevice.Position.back)!)
if let anInput = videoInput {
Expand All @@ -148,7 +149,8 @@ class CameraViewController: UIViewController, AVCaptureAudioDataOutputSampleBuff
// setup video data output
let videoDataOutput = AVCaptureVideoDataOutput()
// You need to use YUV format
videoDataOutput.videoSettings = [kCVPixelBufferPixelFormatTypeKey : kCVPixelFormatType_420YpCbCr8BiPlanarFullRange] as [String : Any]
videoDataOutput.videoSettings = [kCVPixelBufferPixelFormatTypeKey : kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange] as [String : Any]
videoDataOutput.connections.first?.videoOrientation = .portrait

captureSession?.addOutput(videoDataOutput)

Expand Down

0 comments on commit 57e5492

Please sign in to comment.