Skip to content

Commit d406fbe

Browse files
author
ci-bot
committed
Updated projects
1 parent 61d6dde commit d406fbe

File tree

10 files changed

+30
-27
lines changed

10 files changed

+30
-27
lines changed

BasicSample/BasicSample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@
648648
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
649649
GCC_WARN_UNUSED_FUNCTION = YES;
650650
GCC_WARN_UNUSED_VARIABLE = YES;
651-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
651+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
652652
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
653653
MTL_FAST_MATH = YES;
654654
ONLY_ACTIVE_ARCH = YES;
@@ -704,7 +704,7 @@
704704
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
705705
GCC_WARN_UNUSED_FUNCTION = YES;
706706
GCC_WARN_UNUSED_VARIABLE = YES;
707-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
707+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
708708
MTL_ENABLE_DEBUG_INFO = NO;
709709
MTL_FAST_MATH = YES;
710710
SDKROOT = iphoneos;

BasicSample/BasicSample/Items/Basic/DetectFacesItem.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ class DetectFacesViewController: UIViewController, UINavigationControllerDelegat
229229
@objc private func didPressScenarioButton(_ sender: UIButton) {
230230
selectedScenario = DetectionScenario.allCases[sender.tag]
231231
updateScenarioSelection()
232+
sendDetectFacesRequest()
232233
}
233234

234235
@objc private func didPressResults(_ sender: Any) {
@@ -278,7 +279,10 @@ class DetectFacesViewController: UIViewController, UINavigationControllerDelegat
278279
guard detections.isEmpty == false else { return }
279280
let image = model.image
280281
// scale lines and points according target view size
281-
let scale = image.size.width / galleryView.bounds.width
282+
var scale = image.size.width / galleryView.bounds.width
283+
if image.size.height > image.size.width {
284+
scale = image.size.height / galleryView.bounds.height
285+
}
282286
let lineWidth = 2 * scale
283287
let pointSize = 2 * scale
284288

BasicSample/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# frozen_string_literal: true
22

3-
platform :ios, '12.0'
3+
platform :ios, '13.0'
44
use_frameworks!
55

66
target 'BasicSample' do
7-
pod 'FaceSDK', '~> 6.4'
8-
pod 'FaceCoreBasic', '~> 6.4'
7+
pod 'FaceSDK', '~> 7.1'
8+
pod 'FaceCoreBasic', '~> 7.1'
99
end

FaceCertificatePinning/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Uncomment the next line to define a global platform for your project
2-
platform :ios, '12.0'
2+
platform :ios, '13.0'
33
use_frameworks!
44

55
target 'FaceCertificatePinning' do
66
# Comment the next line if you don't want to use dynamic frameworks
77
use_frameworks!
8-
pod 'FaceSDK', '~> 6.4'
9-
pod 'FaceCoreBasic', '~> 6.4'
8+
pod 'FaceSDK', '~> 7.1'
9+
pod 'FaceCoreBasic', '~> 7.1'
1010
end

FaceMatchOffline-sample/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Uncomment the next line to define a global platform for your project
2-
platform :ios, '12.0'
2+
platform :ios, '13.0'
33
use_frameworks!
44

55
target 'FaceMatchOffline-sample' do
66
# Comment the next line if you don't want to use dynamic frameworks
77
use_frameworks!
88

9-
pod 'FaceSDK', '~> 6.4'
10-
pod 'FaceCoreMatch', '~> 6.4'
9+
pod 'FaceSDK', '~> 7.1'
10+
pod 'FaceCoreMatch', '~> 7.1'
1111
end

FaceSearchSample/FaceSearchSample.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
GCC_WARN_UNUSED_FUNCTION = YES;
388388
GCC_WARN_UNUSED_VARIABLE = YES;
389389
INFOPLIST_KEY_UIMainStoryboardFile = "";
390-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
390+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
391391
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
392392
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
393393
MTL_FAST_MATH = YES;
@@ -445,7 +445,7 @@
445445
GCC_WARN_UNUSED_FUNCTION = YES;
446446
GCC_WARN_UNUSED_VARIABLE = YES;
447447
INFOPLIST_KEY_UIMainStoryboardFile = "";
448-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
448+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
449449
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
450450
MTL_ENABLE_DEBUG_INFO = NO;
451451
MTL_FAST_MATH = YES;
@@ -477,7 +477,7 @@
477477
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
478478
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
479479
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
480-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
480+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
481481
LD_RUNPATH_SEARCH_PATHS = (
482482
"$(inherited)",
483483
"@executable_path/Frameworks",
@@ -513,7 +513,7 @@
513513
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
514514
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
515515
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
516-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
516+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
517517
LD_RUNPATH_SEARCH_PATHS = (
518518
"$(inherited)",
519519
"@executable_path/Frameworks",

FaceSearchSample/FaceSearchSample/PersonDatabase/DatabaseGroupsViewController.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ class DatabaseGroupsViewController: UIViewController {
2020

2121
override func viewDidLoad() {
2222
super.viewDidLoad()
23-
FaceSDK.service.initialize { success, error in
23+
FaceSDK.service.initialize { [weak self] success, error in
2424
print("FaceSDK initialized \(success)")
25+
self?.loadGroups()
2526
}
2627
title = "Groups"
2728

2829
let createBarButton = UIBarButtonItem(title: "Create Group", style: .plain, target: self, action: #selector(didPressCreateButton))
2930
navigationItem.setRightBarButton(createBarButton, animated: false)
30-
31-
loadGroups()
3231
}
3332

3433
//MARK: - Database
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# frozen_string_literal: true
22

3-
platform :ios, '12.0'
3+
platform :ios, '13.0'
44
use_frameworks!
55

66
target 'FaceSearchSample
77
' do
8-
pod 'FaceSDK', '~> 6.2'
9-
pod 'FaceCoreBasic', '~> 6.2'
8+
pod 'FaceSDK', '~> 7.1'
9+
pod 'FaceCoreBasic', '~> 7.1'
1010
end

FaceSearchSample/Podfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# frozen_string_literal: true
22

3-
platform :ios, '12.0'
3+
platform :ios, '13.0'
44
use_frameworks!
55

66
target 'FaceSearchSample' do
7-
pod 'FaceSDK', '~> 6.4'
8-
pod 'FaceCoreBasic', '~> 6.4'
7+
pod 'FaceSDK', '~> 7.1'
8+
pod 'FaceCoreBasic', '~> 7.1'
99
end

FaceSwiftUI-sample/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ target 'FaceSwiftUI-sample' do
55
use_frameworks!
66

77
# Pods for FaceSwiftUI-sample
8-
pod 'FaceSDK', '~> 6.4'
9-
pod 'FaceCoreBasic', '~> 6.4'
8+
pod 'FaceSDK', '~> 7.1'
9+
pod 'FaceCoreBasic', '~> 7.1'
1010
end

0 commit comments

Comments
 (0)