lxy 1 år sedan
förälder
incheckning
e20f208263

+ 3 - 3
Example/LenzCameraNativeModuleForRN.xcodeproj/project.pbxproj

@@ -229,7 +229,7 @@
 				ORGANIZATIONNAME = "76930516@qq.com";
 				TargetAttributes = {
 					6003F589195388D20070C39A = {
-						DevelopmentTeam = 3S9S4PU792;
+						DevelopmentTeam = 67B22KAY34;
 					};
 					6003F5AD195388D20070C39A = {
 						TestTargetID = 6003F589195388D20070C39A;
@@ -458,7 +458,7 @@
 			baseConfigurationReference = 81A8808FD3706FAD151017C8 /* Pods-LenzCameraNativeModuleForRN_Example.debug.xcconfig */;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				DEVELOPMENT_TEAM = 3S9S4PU792;
+				DEVELOPMENT_TEAM = 67B22KAY34;
 				ENABLE_BITCODE = NO;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = "LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN-Prefix.pch";
@@ -478,7 +478,7 @@
 			baseConfigurationReference = 47F785DCE1254FC6EEB075B7 /* Pods-LenzCameraNativeModuleForRN_Example.release.xcconfig */;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				DEVELOPMENT_TEAM = 3S9S4PU792;
+				DEVELOPMENT_TEAM = 67B22KAY34;
 				ENABLE_BITCODE = NO;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = "LenzCameraNativeModuleForRN/LenzCameraNativeModuleForRN-Prefix.pch";

+ 6 - 67
Example/Pods/Pods.xcodeproj/project.pbxproj

@@ -15,6 +15,7 @@
 			dependencies = (
 			);
 			name = TensorFlowLite;
+			productName = TensorFlowLite;
 		};
 		C5B80886873124CEC429CA0591705280 /* OpenCV2 */ = {
 			isa = PBXAggregateTarget;
@@ -24,6 +25,7 @@
 			dependencies = (
 			);
 			name = OpenCV2;
+			productName = OpenCV2;
 		};
 /* End PBXAggregateTarget section */
 
@@ -44,7 +46,6 @@
 		14E3C9503328DB8FC892FD1B2802854A /* SVProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = DD5004B676A5C04A78B0C779EC6ACDDA /* SVProgressHUD.m */; };
 		16320E108256981D9E1F1BB63AEB7D58 /* YYTextParser.h in Headers */ = {isa = PBXBuildFile; fileRef = C7529CDD561B76983A08A7CDB558093D /* YYTextParser.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		164476C184B6A9A3FD6510A1D02CA778 /* YYTextSelectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = B9AA5E4741A4BEDAF6A49F8F9C0186BA /* YYTextSelectionView.h */; settings = {ATTRIBUTES = (Project, ); }; };
-		16D69A139929D89AFFDC816CE484B688 /* AVCapturePhotoOutput+VersionAdaptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 62FBB5055411DE1003EA0621BC16C351 /* AVCapturePhotoOutput+VersionAdaptor.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		18E3D208A58A81A8153F80768D4A35E5 /* Masonry-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B61B2FCBF8E1560AE0A58437888D0F9 /* Masonry-dummy.m */; };
 		1B254A00CF60A892812621234319BF30 /* YYTextAsyncLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D265818019F4C0A249894FC32A0538E /* YYTextAsyncLayer.m */; };
 		1F57BEDB06195614FD62EE1ADFAA4B9A /* MovieListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C300CF192C9E3E464600BA5198E02A3C /* MovieListViewController.m */; };
@@ -52,7 +53,6 @@
 		203C33BCBD862FAC7049435C0671DBDE /* YYTextContainerView.m in Sources */ = {isa = PBXBuildFile; fileRef = B556EF7B503F64AD5CEC85E2A13C5007 /* YYTextContainerView.m */; };
 		21868E0FCBFD5434A08B57D1F0ACE879 /* OperationNodePanorama.m in Sources */ = {isa = PBXBuildFile; fileRef = 106404D53B14F327A8AC1493E433187C /* OperationNodePanorama.m */; };
 		2251270E85932606B35182DDFAB0CE5E /* PhotoCell.xib in Sources */ = {isa = PBXBuildFile; fileRef = A0137DC032E133C03B93AE938B2164C7 /* PhotoCell.xib */; };
-		25DFFE1FD97322769555FD266222D5C6 /* TensorFlowWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 6102EAEA80C808C1B976BFCE530A7D69 /* TensorFlowWrapper.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		2670A3EDFA8E2677641145F82130391B /* OperationNodeSingle.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CAAADEB5F82D601A36B2339E8E585BC /* OperationNodeSingle.m */; };
 		2735B61DCA8A97B26767E374C6276A01 /* NSArray+MASShorthandAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = D148391102C9E7C3871EC94238BA859B /* NSArray+MASShorthandAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		2761DC14A019B974812FC3882BC8E963 /* CollectionViewPlayerCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FBA397767D0314BE62F28FFC329A25C0 /* CollectionViewPlayerCell.m */; };
@@ -102,7 +102,6 @@
 		623ED16A4B08E8DA2F30B437BC379FF9 /* QuitMultipleModeAlertViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8248CA718C4209A44BDFDD860894AA19 /* QuitMultipleModeAlertViewController.m */; };
 		63C70713DA804DD112A6E2453FD11D5F /* PCSButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 071313CE90474924B937EC1CB8168867 /* PCSButton.m */; };
 		65EC50671684BE0BC92FC645014F6840 /* UIButton+Layout.m in Sources */ = {isa = PBXBuildFile; fileRef = EB6AC922EE7BA95CD4D1A67E51496672 /* UIButton+Layout.m */; };
-		68BF560147437176DCE551DAFBA66F9A /* cpp-headers.h in Headers */ = {isa = PBXBuildFile; fileRef = 44BF150ECDD7D6549F19523E2FF476B1 /* cpp-headers.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		68C66927B9E922403798C0774C1A5959 /* PCSModeList.m in Sources */ = {isa = PBXBuildFile; fileRef = 75A4001E024938556C2C2D6C57539F9B /* PCSModeList.m */; };
 		697642F3698C47B01CF436E7FA0F70FC /* TimerLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B8E3C1BFF3E93DC278927C1CEB1715A /* TimerLabel.m */; };
 		6B494EED7F2295D9FBBA1DC7BADD672F /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 643983C3DE92490FAC8FFB8FF85B6D25 /* Localizable.strings */; };
@@ -123,9 +122,7 @@
 		763F6065D52D07B38D15A310325FF758 /* YYText-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DBFE967524F3F12E190B1415022D9825 /* YYText-dummy.m */; };
 		764E80C6B623C0819B6E8976903F5F96 /* YYTextRunDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 88FAFB718DB7E66A1777F7176F4268AF /* YYTextRunDelegate.m */; };
 		76848130766D4582F5EC595DD6276ADA /* SVIndefiniteAnimatedView.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A171F24B8E17DEE3264D323615C52E8 /* SVIndefiniteAnimatedView.h */; settings = {ATTRIBUTES = (Project, ); }; };
-		781731FD912F2C5EE1153FE6F31274AB /* cpp-headers.mm in Sources */ = {isa = PBXBuildFile; fileRef = F4F6738F8982FC411C8A5F4734B9B1C2 /* cpp-headers.mm */; };
 		78C3AA00930B59FEAFDCA073517943B9 /* VC.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8520A5C3DA75743FD0D25E1692B112F7 /* VC.storyboard */; };
-		7A38CFA5C8B69BD0EF6970A26B40A335 /* AVCapturePhotoOutput+VersionAdaptor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F1D7F40F3F707FB22342B4E15C052C7 /* AVCapturePhotoOutput+VersionAdaptor.m */; };
 		7C3B208042119B91E6261DA7A7741A4C /* OperationNodePanorama.h in Headers */ = {isa = PBXBuildFile; fileRef = BAC658BDBB88AEED2D87B56011F57ED3 /* OperationNodePanorama.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		7D0F7A729399EFD7D5E437B7B326C303 /* assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 674EE3BDE2C8C746FC874B56FE26B899 /* assets.xcassets */; };
 		7E6A1F179069A7AFC15A57D092ED62D9 /* PaddingLabel.h in Headers */ = {isa = PBXBuildFile; fileRef = 14356094964EB2B2F4A11A59E7974DB3 /* PaddingLabel.h */; settings = {ATTRIBUTES = (Project, ); }; };
@@ -210,7 +207,6 @@
 		CFE88579565C0A22AC58F44F5AB0983C /* YYTextParser.m in Sources */ = {isa = PBXBuildFile; fileRef = FFF6810117FEEF2711F6E9B5437B1204 /* YYTextParser.m */; };
 		D27CDFC92C95A9555F7CA6C9DA39BC8C /* YYTextAsyncLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 48282D0FCEB41CD6BE0B733B9E3276F2 /* YYTextAsyncLayer.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		D29DFC2FE2559EA625ADDB926483C9A7 /* PCSButton.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2E71126AEAC78F2A7D6BE573D662B /* PCSButton.h */; settings = {ATTRIBUTES = (Project, ); }; };
-		D44D592631C54ECFEEFE391F58C61035 /* TensorFlowWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 157A6FEC4132F2FBDC6390B48B4A338E /* TensorFlowWrapper.m */; };
 		D4607C0A4E74CA3851F02AC567649071 /* MASViewAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 35783455FD2B307819356A0F7317E3A2 /* MASViewAttribute.m */; };
 		D5D38EE4EFE70D58B45B5BB7D9A3CED5 /* PhotoAlbumListViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 7868678B46FCA65A624BF5A4FF2382FD /* PhotoAlbumListViewController.h */; settings = {ATTRIBUTES = (Project, ); }; };
 		D62FF27276DCA71B3B43DFEA0B8EFE0B /* NSLayoutConstraint+MASDebugAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 32EB214088A160CD9BBDD73798777B90 /* NSLayoutConstraint+MASDebugAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; };
@@ -375,7 +371,6 @@
 		14787B240D2B2DA7928E10C702BC67F4 /* UIView+JKAdd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "UIView+JKAdd.h"; sourceTree = "<group>"; };
 		14D4BC2A7C5636A4EE18C8ACB4CE6857 /* OperationNodeMovie.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = OperationNodeMovie.h; sourceTree = "<group>"; };
 		15066538C9CE55CCB258E26025B979FB /* core.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = core.hpp; path = opencv2.framework/Versions/A/Headers/gapi/plaidml/core.hpp; sourceTree = "<group>"; };
-		157A6FEC4132F2FBDC6390B48B4A338E /* TensorFlowWrapper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = TensorFlowWrapper.m; sourceTree = "<group>"; };
 		15A57DCBCE72C119F39D4358DEA252FA /* variant.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = variant.hpp; path = opencv2.framework/Versions/A/Headers/gapi/util/variant.hpp; sourceTree = "<group>"; };
 		15D648B64B38A42641E36E6EBBEF005A /* detection_based_tracker.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = detection_based_tracker.hpp; path = opencv2.framework/Versions/A/Headers/objdetect/detection_based_tracker.hpp; sourceTree = "<group>"; };
 		16CCE46985B1244C60C8BF8A276E3651 /* imgcodecs.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = imgcodecs.hpp; path = opencv2.framework/Versions/A/Headers/imgcodecs.hpp; sourceTree = "<group>"; };
@@ -395,7 +390,6 @@
 		1E630D5EB5CF2EC9D607987BD79ECAF8 /* all_indices.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = all_indices.h; path = opencv2.framework/Versions/A/Headers/flann/all_indices.h; sourceTree = "<group>"; };
 		1F0E00D4EC7DDA5E0F50D373BFD7DBF9 /* Masonry.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Masonry.release.xcconfig; sourceTree = "<group>"; };
 		1F19139A77CA316ACCEF6D7B18F9414C /* Pods-LenzCameraNativeModuleForRN_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-LenzCameraNativeModuleForRN_Example-resources.sh"; sourceTree = "<group>"; };
-		1F1D7F40F3F707FB22342B4E15C052C7 /* AVCapturePhotoOutput+VersionAdaptor.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AVCapturePhotoOutput+VersionAdaptor.m"; sourceTree = "<group>"; };
 		1F5FE9E80B7F7F23B4585205FAD6F1AC /* shape_utils.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = shape_utils.hpp; path = opencv2.framework/Versions/A/Headers/dnn/shape_utils.hpp; sourceTree = "<group>"; };
 		1FFED36A657123030ABB700256D73F15 /* Masonry */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = Masonry; path = libMasonry.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		2080CBFFB745A05BBA3AA0E2BF8F3E60 /* PhotoCell.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PhotoCell.m; sourceTree = "<group>"; };
@@ -428,7 +422,7 @@
 		2ED480DA74C09C19BD2DC140F029FFAF /* version.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = version.hpp; path = opencv2.framework/Versions/A/Headers/core/version.hpp; sourceTree = "<group>"; };
 		2F879912A45D66DBBB36B64691203C73 /* MovieListViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MovieListViewController.h; sourceTree = "<group>"; };
 		2FF0743BCE68DEA281DFF88346DA0C59 /* PCSSDF-prefix-header.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "PCSSDF-prefix-header.h"; path = "LenzCameraNativeModuleForRN/Classes/PCSSDF-prefix-header.h"; sourceTree = "<group>"; };
-		30CD8F038A281326B02DD4C29E933D3B /* LenzSDK.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = LenzSDK.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		30CD8F038A281326B02DD4C29E933D3B /* LenzSDK.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LenzSDK.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		3212932ADFECD0AA6DDCCE1AC7015693 /* NSAttributedString+YYText.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSAttributedString+YYText.m"; path = "YYText/Utility/NSAttributedString+YYText.m"; sourceTree = "<group>"; };
 		323E11B6F2B40B2A30076A06EFA4ADE9 /* MASConstraintMaker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MASConstraintMaker.h; path = Masonry/MASConstraintMaker.h; sourceTree = "<group>"; };
 		32EB214088A160CD9BBDD73798777B90 /* NSLayoutConstraint+MASDebugAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSLayoutConstraint+MASDebugAdditions.h"; path = "Masonry/NSLayoutConstraint+MASDebugAdditions.h"; sourceTree = "<group>"; };
@@ -468,7 +462,7 @@
 		3ECAF4D12EA721982BC888F626BC4A9C /* intrin_avx.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = intrin_avx.hpp; path = opencv2.framework/Versions/A/Headers/core/hal/intrin_avx.hpp; sourceTree = "<group>"; };
 		3ED5A12E879A1EC2A5931370372C355F /* imgproc.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = imgproc.hpp; path = opencv2.framework/Versions/A/Headers/imgproc/imgproc.hpp; sourceTree = "<group>"; };
 		3F67E7EED800E754031EA8727660DE9F /* all_layers.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = all_layers.hpp; path = opencv2.framework/Versions/A/Headers/dnn/all_layers.hpp; sourceTree = "<group>"; };
-		3F71692F98EDEA648577E6AB482B8ECF /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
+		3F71692F98EDEA648577E6AB482B8ECF /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
 		4197F3B05BD474A2CE2BB3BFD2CE8280 /* videoio.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = videoio.hpp; path = opencv2.framework/Versions/A/Headers/videoio/videoio.hpp; sourceTree = "<group>"; };
 		42015A3BF72FFC1D808FDCDCD641F7CC /* opencv_includes.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = opencv_includes.hpp; path = opencv2.framework/Versions/A/Headers/gapi/opencv_includes.hpp; sourceTree = "<group>"; };
 		42760E920AD4D3A14BFBEED90C3EA76C /* flann.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = flann.hpp; path = opencv2.framework/Versions/A/Headers/flann/flann.hpp; sourceTree = "<group>"; };
@@ -479,7 +473,6 @@
 		437E6AEE76E905A48D18ABD0AE3E4099 /* linear_index.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = linear_index.h; path = opencv2.framework/Versions/A/Headers/flann/linear_index.h; sourceTree = "<group>"; };
 		44380123F9EE4F5EF98E45FEED735536 /* any.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = any.h; path = opencv2.framework/Versions/A/Headers/flann/any.h; sourceTree = "<group>"; };
 		44BCFBA2F25F97910C35E042E88C0712 /* PanoramaOrientationView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PanoramaOrientationView.m; sourceTree = "<group>"; };
-		44BF150ECDD7D6549F19523E2FF476B1 /* cpp-headers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "cpp-headers.h"; sourceTree = "<group>"; };
 		4588B96555FAFF3FFAF58DC09DFADAB3 /* LenzSDK-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "LenzSDK-prefix.pch"; sourceTree = "<group>"; };
 		45C026261DAF6B7FCAAC6266495F4C9E /* YYTextSelectionView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextSelectionView.m; path = YYText/Component/YYTextSelectionView.m; sourceTree = "<group>"; };
 		45FF2AE06D386795B4DFBB6486B676CC /* PanoramaGuideView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PanoramaGuideView.m; sourceTree = "<group>"; };
@@ -531,13 +524,11 @@
 		5F65221BE93CB8EE2FEA24E40AC42A30 /* vsx_utils.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = vsx_utils.hpp; path = opencv2.framework/Versions/A/Headers/core/vsx_utils.hpp; sourceTree = "<group>"; };
 		5F8345A474C4286A6A94325A1C7628EE /* YYTextEffectWindow.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextEffectWindow.m; path = YYText/Component/YYTextEffectWindow.m; sourceTree = "<group>"; };
 		60B5B2B307FC6408DC4D6D6B0351BA8D /* intrin.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = intrin.hpp; path = opencv2.framework/Versions/A/Headers/core/hal/intrin.hpp; sourceTree = "<group>"; };
-		6102EAEA80C808C1B976BFCE530A7D69 /* TensorFlowWrapper.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = TensorFlowWrapper.h; sourceTree = "<group>"; };
 		6127F5AECD4FEB53E4D5751D3D39426B /* SVProgressAnimatedView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SVProgressAnimatedView.h; path = SVProgressHUD/SVProgressAnimatedView.h; sourceTree = "<group>"; };
 		618CA788C56DE22C036E596FBE111E14 /* YYTextLine.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextLine.m; path = YYText/Component/YYTextLine.m; sourceTree = "<group>"; };
 		61A8E6E56C80C3D74E7D3A5027F373F9 /* PCSRoundButton.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PCSRoundButton.m; sourceTree = "<group>"; };
 		61DA17B36402C9517BBE5BF96880858C /* cvstd_wrapper.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = cvstd_wrapper.hpp; path = opencv2.framework/Versions/A/Headers/core/cvstd_wrapper.hpp; sourceTree = "<group>"; };
 		61DBD22E5B3C1897522B458A0D2B2302 /* matx.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = matx.hpp; path = opencv2.framework/Versions/A/Headers/core/matx.hpp; sourceTree = "<group>"; };
-		62FBB5055411DE1003EA0621BC16C351 /* AVCapturePhotoOutput+VersionAdaptor.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AVCapturePhotoOutput+VersionAdaptor.h"; sourceTree = "<group>"; };
 		63461DE6FD2D71529A5BF0FD2BB26A33 /* gapi.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = gapi.hpp; path = opencv2.framework/Versions/A/Headers/gapi.hpp; sourceTree = "<group>"; };
 		6554F1AFA9070B5F367C54FA6ED414A3 /* gmetaarg.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = gmetaarg.hpp; path = opencv2.framework/Versions/A/Headers/gapi/gmetaarg.hpp; sourceTree = "<group>"; };
 		656493CB293ECE39FC71B475A5E9458A /* DBManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = DBManager.m; sourceTree = "<group>"; };
@@ -643,7 +634,7 @@
 		9C5747FD601D91795F596AFF32D6A13B /* YYText.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = YYText.release.xcconfig; sourceTree = "<group>"; };
 		9C93448467AF0FC5C5C0671BA0DE53BB /* background_segm.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = background_segm.hpp; path = opencv2.framework/Versions/A/Headers/video/background_segm.hpp; sourceTree = "<group>"; };
 		9CFC1E8A4E3A321EE1F437991322D520 /* opencl_info.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = opencl_info.hpp; path = opencv2.framework/Versions/A/Headers/core/opencl/opencl_info.hpp; sourceTree = "<group>"; };
-		9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		9D9D3E7BDE1FF154F6BF5ACD9B3727B2 /* PCSThemeColorManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PCSThemeColorManager.h; sourceTree = "<group>"; };
 		9E71193FBE9AF461922EBB18D9FEECD9 /* gmat.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = gmat.hpp; path = opencv2.framework/Versions/A/Headers/gapi/gmat.hpp; sourceTree = "<group>"; };
 		9EFE421426409088E0EB26625771165B /* defines.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = defines.h; path = opencv2.framework/Versions/A/Headers/flann/defines.h; sourceTree = "<group>"; };
@@ -832,7 +823,6 @@
 		F2A2E71126AEAC78F2A7D6BE573D662B /* PCSButton.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PCSButton.h; sourceTree = "<group>"; };
 		F3636E694B618C2302F4A749C08BA14D /* compiler_hints.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = compiler_hints.hpp; path = opencv2.framework/Versions/A/Headers/gapi/util/compiler_hints.hpp; sourceTree = "<group>"; };
 		F36CB994324974A53205939D2FCCF77F /* config.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = config.h; path = opencv2.framework/Versions/A/Headers/flann/config.h; sourceTree = "<group>"; };
-		F4F6738F8982FC411C8A5F4734B9B1C2 /* cpp-headers.mm */ = {isa = PBXFileReference; includeInIndex = 1; path = "cpp-headers.mm"; sourceTree = "<group>"; };
 		F52FBC8379F03FBC7892457EB8667932 /* warpers_inl.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = warpers_inl.hpp; path = opencv2.framework/Versions/A/Headers/stitching/detail/warpers_inl.hpp; sourceTree = "<group>"; };
 		F59973CA6A1163F42F48C30484664273 /* constants_c.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = constants_c.h; path = opencv2.framework/Versions/A/Headers/video/legacy/constants_c.h; sourceTree = "<group>"; };
 		F60CB6B0940620E867F47A43C000CEED /* NSParagraphStyle+YYText.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSParagraphStyle+YYText.m"; path = "YYText/Utility/NSParagraphStyle+YYText.m"; sourceTree = "<group>"; };
@@ -980,7 +970,6 @@
 				F0091361036E037214A58062DD16AFF7 /* YYTextWeakProxy.m */,
 				8F47308E62B7B139E1B38ED2DFBA8AD6 /* Support Files */,
 			);
-			name = YYText;
 			path = YYText;
 			sourceTree = "<group>";
 		};
@@ -992,7 +981,6 @@
 				FFD81E3B156EBB7AD2D277948A499AC6 /* Renderer.h */,
 				BC526491E012788B2532EAF2E776D9FA /* Renderer.m */,
 			);
-			name = Renderer;
 			path = Renderer;
 			sourceTree = "<group>";
 		};
@@ -1002,7 +990,6 @@
 				3CDA49BBB93B83209BD8F7253BFAAF58 /* PCSModeList.h */,
 				75A4001E024938556C2C2D6C57539F9B /* PCSModeList.m */,
 			);
-			name = ModeListView;
 			path = ModeListView;
 			sourceTree = "<group>";
 		};
@@ -1016,7 +1003,6 @@
 				BD66D18EEFC73FB246F900E4C31DA695 /* TimerLabel.h */,
 				0B8E3C1BFF3E93DC278927C1CEB1715A /* TimerLabel.m */,
 			);
-			name = Label;
 			path = Label;
 			sourceTree = "<group>";
 		};
@@ -1036,27 +1022,15 @@
 				D80B09C520B074CC397E91D6286F7914 /* Transition */,
 				4BF40F7BD499D117346C1B2A76291335 /* UIView+tool */,
 			);
-			name = UI;
 			path = UI;
 			sourceTree = "<group>";
 		};
-		397C863916191DD3E0272ACC7E921793 /* TensorFlow */ = {
-			isa = PBXGroup;
-			children = (
-				6102EAEA80C808C1B976BFCE530A7D69 /* TensorFlowWrapper.h */,
-				157A6FEC4132F2FBDC6390B48B4A338E /* TensorFlowWrapper.m */,
-			);
-			name = TensorFlow;
-			path = TensorFlow;
-			sourceTree = "<group>";
-		};
 		3B3C298AE8D2A6E81B39553192529A40 /* PanoramaOrientaionView */ = {
 			isa = PBXGroup;
 			children = (
 				EC9045A211004D96E9E376D7B9B3EA4C /* PanoramaOrientationView.h */,
 				44BCFBA2F25F97910C35E042E88C0712 /* PanoramaOrientationView.m */,
 			);
-			name = PanoramaOrientaionView;
 			path = PanoramaOrientaionView;
 			sourceTree = "<group>";
 		};
@@ -1074,7 +1048,6 @@
 				A8CAE5AEA0F4BC141EF8BF5692057E13 /* Resources */,
 				578582C15A1258A86F99A3E149B47BC0 /* Support Files */,
 			);
-			name = SVProgressHUD;
 			path = SVProgressHUD;
 			sourceTree = "<group>";
 		};
@@ -1088,7 +1061,6 @@
 				389A875AADE3F241B2F30D694B227B5E /* VerticalButton.h */,
 				96E144551710716AC5A4E9EA76EC21D4 /* VerticalButton.m */,
 			);
-			name = Button;
 			path = Button;
 			sourceTree = "<group>";
 		};
@@ -1101,7 +1073,6 @@
 				8248CA718C4209A44BDFDD860894AA19 /* QuitMultipleModeAlertViewController.m */,
 				C6C8F4ED52A8CD28FFF74AC8DAC2A676 /* QuitMultipleModeAlertViewController.xib */,
 			);
-			name = Alert;
 			path = Alert;
 			sourceTree = "<group>";
 		};
@@ -1126,7 +1097,6 @@
 				14787B240D2B2DA7928E10C702BC67F4 /* UIView+JKAdd.h */,
 				BD19EDAC10546AB7C173700BF0BE963A /* UIView+JKAdd.m */,
 			);
-			name = "UIView+tool";
 			path = "UIView+tool";
 			sourceTree = "<group>";
 		};
@@ -1154,7 +1124,6 @@
 				D2ACFDEDC359DBDA1579194999CE1A22 /* Cell */,
 				8EC369BA6082C4E2DDFE790248048FA5 /* CollectionViewCell */,
 			);
-			name = PhotoListController;
 			path = PhotoListController;
 			sourceTree = "<group>";
 		};
@@ -1164,7 +1133,6 @@
 				F751BFC3702395513C7D014E5B543857 /* CameraManager.h */,
 				D0FE08B7368EAA577D0C8013FB271F22 /* CameraManager.m */,
 			);
-			name = CameraManager;
 			path = CameraManager;
 			sourceTree = "<group>";
 		};
@@ -1186,7 +1154,6 @@
 				27048E69D69E20D90A3C21EBB650E7CA /* OperationNodeVideoBase.m */,
 				D616881F03A2B589E81F408543B342AB /* PCSMotionManager */,
 			);
-			name = OperationNode;
 			path = OperationNode;
 			sourceTree = "<group>";
 		};
@@ -1208,7 +1175,6 @@
 				D68817DD48477876A5F0F4CDB9D0FC7E /* ImageCacheLRU.h */,
 				9230E8D1540107A295E5BB40B3896FC3 /* ImageCacheLRU.m */,
 			);
-			name = LRU;
 			path = LRU;
 			sourceTree = "<group>";
 		};
@@ -1241,7 +1207,6 @@
 				FA89BC498E0A5934AB2F37DB67E76598 /* BaseViewTapGestureDelegate.h */,
 				74892EDEA5ACE0BE2B6E63FF17C78A1F /* BaseViewTapGestureDelegate.m */,
 			);
-			name = GestureHandler;
 			path = GestureHandler;
 			sourceTree = "<group>";
 		};
@@ -1251,7 +1216,6 @@
 				8E0FE2885D1950DFBEC6671B77C8B33C /* LenzCachedResourceModel.h */,
 				1026C07C8E7FCD6760C3DEA180135A6D /* LenzCachedResourceModel.m */,
 			);
-			name = DBModels;
 			path = DBModels;
 			sourceTree = "<group>";
 		};
@@ -1264,7 +1228,6 @@
 				2080CBFFB745A05BBA3AA0E2BF8F3E60 /* PhotoCell.m */,
 				A0137DC032E133C03B93AE938B2164C7 /* PhotoCell.xib */,
 			);
-			name = CollectionViewCell;
 			path = CollectionViewCell;
 			sourceTree = "<group>";
 		};
@@ -1334,7 +1297,6 @@
 				A2C97AFCBD52302896DCE3AC8ABFBE5D /* Frameworks */,
 				F75E56D91EC0B21B205D165DDB5F1B5B /* Support Files */,
 			);
-			name = TensorFlowLite;
 			path = TensorFlowLite;
 			sourceTree = "<group>";
 		};
@@ -1643,7 +1605,6 @@
 				EFF942BBE0F3DD7A22178A31416D2DDF /* Frameworks */,
 				78E3D5CA530FE0BBE26EF4F634B54B85 /* Support Files */,
 			);
-			name = OpenCV2;
 			path = OpenCV2;
 			sourceTree = "<group>";
 		};
@@ -1661,7 +1622,6 @@
 				EDE1BE5EB9E51257CCBA02D393A26D2F /* MoviePlayerViewController.h */,
 				FC7833906582881DD9C7E974A2B98DAE /* MoviePlayerViewController.m */,
 			);
-			name = MoviePlayerViewController;
 			path = MoviePlayerViewController;
 			sourceTree = "<group>";
 		};
@@ -1671,7 +1631,6 @@
 				331DEA6924E2190B721EA66AAE0C36BC /* PanoramaGuideView.h */,
 				45FF2AE06D386795B4DFBB6486B676CC /* PanoramaGuideView.m */,
 			);
-			name = PanoramaGuideView;
 			path = PanoramaGuideView;
 			sourceTree = "<group>";
 		};
@@ -1690,8 +1649,6 @@
 		D1121DF06EBFF0BBD6FE249D780CFB83 /* Exts */ = {
 			isa = PBXGroup;
 			children = (
-				62FBB5055411DE1003EA0621BC16C351 /* AVCapturePhotoOutput+VersionAdaptor.h */,
-				1F1D7F40F3F707FB22342B4E15C052C7 /* AVCapturePhotoOutput+VersionAdaptor.m */,
 				A86E97AD5E9DBC2F8A8628CEF531E73C /* NSString+Localization.h */,
 				C652B77D390AAC77D5B8B86F16154BC6 /* NSString+Localization.m */,
 				91297B1DDAF95D84134255EA33D7075D /* UIButton+Layout.h */,
@@ -1699,7 +1656,6 @@
 				C030F5CB51C7B52A5036E61644D20BE2 /* UIImage+ext.h */,
 				CB9680EC530590C285DD401355FE6B5C /* UIImage+ext.m */,
 			);
-			name = Exts;
 			path = Exts;
 			sourceTree = "<group>";
 		};
@@ -1733,15 +1689,12 @@
 				A682665B0F2F184E8E8A631EADACC029 /* ViewController+MASAdditions.m */,
 				AA5651695ECA2551FE4073E9ED3512A9 /* Support Files */,
 			);
-			name = Masonry;
 			path = Masonry;
 			sourceTree = "<group>";
 		};
 		D28D24FEE0BD98AE5C63654B942A5057 /* inner */ = {
 			isa = PBXGroup;
 			children = (
-				44BF150ECDD7D6549F19523E2FF476B1 /* cpp-headers.h */,
-				F4F6738F8982FC411C8A5F4734B9B1C2 /* cpp-headers.mm */,
 				DB5CAB411CAA84045BCD5B3FFB74EF0A /* LenzHeader.h */,
 				643983C3DE92490FAC8FFB8FF85B6D25 /* Localizable.strings */,
 				0972221CB8FFBC66400FADCD17769B76 /* PCSSessionWrapper.h */,
@@ -1760,7 +1713,6 @@
 				E1AD22678D515BBDB2A2B1058D8C95E8 /* PCSBaseViewController */,
 				4CDBFB4B704A3FFAF708FF80F203D510 /* PhotoListController */,
 				0974F9AF09CD75682B99F8150CAD0421 /* Renderer */,
-				397C863916191DD3E0272ACC7E921793 /* TensorFlow */,
 				13D94AF910D11795C90BCBFF53937312 /* UI */,
 			);
 			name = inner;
@@ -1780,7 +1732,6 @@
 				665F40BA7410E2784A056EBAF5D41C8E /* PhotoListCellModel.h */,
 				1A6EA483D0E60AB805C3485C02C46B46 /* PhotoListCellModel.m */,
 			);
-			name = Cell;
 			path = Cell;
 			sourceTree = "<group>";
 		};
@@ -1790,7 +1741,6 @@
 				217AF30CBC791D2F7DFC5988DEECAF3B /* PCSMotionManager.h */,
 				DCDC1113ABB5937CC7FCDD9B89700583 /* PCSMotionManager.m */,
 			);
-			name = PCSMotionManager;
 			path = PCSMotionManager;
 			sourceTree = "<group>";
 		};
@@ -1800,7 +1750,6 @@
 				E9583EA6668EACB24AA13D756C385D4B /* CustomModalViewTransition.h */,
 				D98C3C0942D25469A9B4FD27B90DDB0A /* CustomModalViewTransition.m */,
 			);
-			name = Transition;
 			path = Transition;
 			sourceTree = "<group>";
 		};
@@ -1828,7 +1777,6 @@
 				718E476CF6B307993C3D0B7E715540B1 /* PCSPreviewViewController.m */,
 				8181430AE3EDBA1B305C2F81D0A5D4AA /* GestureHandler */,
 			);
-			name = PCSBaseViewController;
 			path = PCSBaseViewController;
 			sourceTree = "<group>";
 		};
@@ -1838,7 +1786,6 @@
 				026F0B0AB5E1FA0600D491CBFB6550F0 /* UIColor+JKAdd.h */,
 				07C54BABEEC3B685EC3E8CD119366747 /* UIColor+JKAdd.m */,
 			);
-			name = color;
 			path = color;
 			sourceTree = "<group>";
 		};
@@ -1877,7 +1824,6 @@
 				FAA970011E7FC7CF18C23B531316F7D7 /* LenzDataManager.m */,
 				824D6BA7AD459A370DB916B9CEDFC996 /* DBModels */,
 			);
-			name = DB;
 			path = DB;
 			sourceTree = "<group>";
 		};
@@ -1958,12 +1904,10 @@
 			files = (
 				EEAAA9DA1389260A74301802ABBC7B24 /* AlbumCounterLabel.h in Headers */,
 				AA46033028DA1F33791DC1AC9CD37DD3 /* AlertView.h in Headers */,
-				16D69A139929D89AFFDC816CE484B688 /* AVCapturePhotoOutput+VersionAdaptor.h in Headers */,
 				6EEA57F2B53231836FA84EDD6DA5CC6C /* BaseViewTapGestureDelegate.h in Headers */,
 				202A43D35F3CFA9C661E3474F1714055 /* CameraManager.h in Headers */,
 				D6424D9848453F7A2AA5A5252894D061 /* CameraTextureRenderPass.h in Headers */,
 				0E7CCCC62B32425167AAEB325827164B /* CollectionViewPlayerCell.h in Headers */,
-				68BF560147437176DCE551DAFBA66F9A /* cpp-headers.h in Headers */,
 				0C92F40D001EDBA732774A0C6342583D /* CustomModalViewTransition.h in Headers */,
 				C4B98AF0A69442CE2024FA8C99C2DFD0 /* DBManager.h in Headers */,
 				6D56A2D7B5BCF32323BBE7AA9619E2D4 /* ImageCacheLRU.h in Headers */,
@@ -2008,7 +1952,6 @@
 				ED6E3C944BF0EE0D4D99077F10921B1A /* QuitMultipleModeAlertViewController.h in Headers */,
 				43456243D73512096F515FD5E80E2F49 /* Renderer.h in Headers */,
 				2D82152A5A04D94DEDDD14664EAFD349 /* SDKParameters.h in Headers */,
-				25DFFE1FD97322769555FD266222D5C6 /* TensorFlowWrapper.h in Headers */,
 				0B628F2E3001896E33FB8E2BEB806113 /* TimerLabel.h in Headers */,
 				72B5993874C6284C602BE7DA96F75CF6 /* UIButton+Layout.h in Headers */,
 				DAC64823BD6C7BC221999DA8E33A6081 /* UIColor+JKAdd.h in Headers */,
@@ -2225,12 +2168,10 @@
 			files = (
 				80C9BE4C8844FE65D7CD814C56A99F8A /* AlbumCounterLabel.m in Sources */,
 				4F3E57A840B7E59D4976C22AEEAABD94 /* AlertView.m in Sources */,
-				7A38CFA5C8B69BD0EF6970A26B40A335 /* AVCapturePhotoOutput+VersionAdaptor.m in Sources */,
 				E3F9A5EF87B93087070D374C1545CB68 /* BaseViewTapGestureDelegate.m in Sources */,
 				49FB623A184C017D0F35E18813EED3FE /* CameraManager.m in Sources */,
 				821C3B79847C983C63E92A4C1ED47509 /* CameraTextureRenderPass.m in Sources */,
 				2761DC14A019B974812FC3882BC8E963 /* CollectionViewPlayerCell.m in Sources */,
-				781731FD912F2C5EE1153FE6F31274AB /* cpp-headers.mm in Sources */,
 				5716074B69173FF3EC63FA474AF95113 /* CustomModalViewTransition.m in Sources */,
 				9862E2E291E5F55AE3476694836480CB /* DBManager.m in Sources */,
 				FE5A9CF432A289B9F9936BFD61839D6C /* ImageCacheLRU.m in Sources */,
@@ -2276,7 +2217,6 @@
 				FC7E229FD6BDABBCD4A05C0E6AB2AE1B /* QuitMultipleModeAlertViewController.xib in Sources */,
 				A27C141AA1D5CDC9F827DE88B8771079 /* Renderer.m in Sources */,
 				95BB92F79EBF1EABF61ED113BB9186AC /* SDKParameters.m in Sources */,
-				D44D592631C54ECFEEFE391F58C61035 /* TensorFlowWrapper.m in Sources */,
 				697642F3698C47B01CF436E7FA0F70FC /* TimerLabel.m in Sources */,
 				65EC50671684BE0BC92FC645014F6840 /* UIButton+Layout.m in Sources */,
 				4141DC5D485F3C2D5903C92BC736BE25 /* UIColor+JKAdd.m in Sources */,
@@ -2715,8 +2655,7 @@
 				MTL_FAST_MATH = YES;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				STRIP_INSTALLED_PRODUCT = NO;
-				SWIFT_COMPILATION_MODE = wholemodule;
-				SWIFT_OPTIMIZATION_LEVEL = "-O";
+				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_VERSION = 5.0;
 				SYMROOT = "${SRCROOT}/../build";
 			};

+ 1 - 0
LenzCameraNativeModuleForRN/Classes/inner/DB/DBModels/LenzCachedResourceModel.h

@@ -27,6 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
 @property (nonatomic) SDKCaptureModeIndex mode;
 @property (nonatomic) UIImage *image;
 @property (nonatomic) NSMutableArray *keyFrame;
+@property (nonatomic) BOOL isStitch;
 
 @end
 

+ 0 - 18
LenzCameraNativeModuleForRN/Classes/inner/Exts/AVCapturePhotoOutput+VersionAdaptor.h

@@ -1,18 +0,0 @@
-//
-//  AVCapturePhotoOutput+VersionAdaptor.h
-//  PanoramicCameraSDK
-//
-//  Created by 王昭威 on 2023/1/14.
-//
-
-#import <AVFoundation/AVFoundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface AVCapturePhotoOutput (VersionAdaptor)
-
-- (void)setOutputPhotoDimensions:(CMVideoDimensions)maxPhotoDimensions;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 21
LenzCameraNativeModuleForRN/Classes/inner/Exts/AVCapturePhotoOutput+VersionAdaptor.m

@@ -1,21 +0,0 @@
-//
-//  AVCapturePhotoOutput+VersionAdaptor.m
-//  PanoramicCameraSDK
-//
-//  Created by 王昭威 on 2023/1/14.
-//
-
-#import "AVCapturePhotoOutput+VersionAdaptor.h"
-
-@implementation AVCapturePhotoOutput (VersionAdaptor)
-
-- (void)setOutputPhotoDimensions:(CMVideoDimensions)maxPhotoDimensions{
-    if(@available(iOS 16, *)){
-//        self.maxPhotoDimensions = maxPhotoDimensions;
-    }
-    else if(@available(iOS 10, *)){
-        self.highResolutionCaptureEnabled = YES;
-    }
-}
-
-@end

+ 38 - 192
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSBaseViewController.m

@@ -9,7 +9,6 @@
 #import <AVFoundation/AVFoundation.h>
 #import "Masonry.h"
 #import "CameraManager.h"
-#import "AVCapturePhotoOutput+VersionAdaptor.h"
 #import "PCSRoundButton.h"
 #import "PCSModeList.h"
 #import "UIImage+ext.h"
@@ -32,7 +31,6 @@
 #import "Renderer.h"
 #import "CameraTextureRenderPass.h"
 #import "LenzSDKConstant.h"
-#import "TensorFlowWrapper.h"
 #import "DBManager.h"
 #import <Photos/Photos.h>
 #import "BaseViewTapGestureDelegate.h"
@@ -294,15 +292,12 @@
                     PhotographModeEnum mode = (PhotographModeEnum)MODE_LIST_INDEX_2_MODE_ENUM(newMode);
                     strongSelf.mode = mode;
 
-//                    self.ai_fullView.hidden = !(mode == SDK_CAPTURE_MODE_PANORAMA);
                     self.ai_fullView.hidden = YES;
                     [strongSelf modeDidChange:newMode oldIndex:oldMode];
                     [strongSelf updateCaptureSessionWith:oldMode];
                     if([oldModelNode respondsToSelector:@selector(didQuit)]){
                         [oldModelNode didQuit];
                     }
-                    
-//                    [alertController dismissViewControllerAnimated:NO completion:^{}];
 //                }];
 
                 return NO;
@@ -314,8 +309,6 @@
         id<OperationNodeProtocol> oldModelNode = strongSelf.currentOperationNode;
         PhotographModeEnum mode = (PhotographModeEnum)MODE_LIST_INDEX_2_MODE_ENUM(newMode);
         strongSelf.mode = mode;
-
-//        self.ai_fullView.hidden = !(mode == SDK_CAPTURE_MODE_PANORAMA);
         self.ai_fullView.hidden = YES;
         [strongSelf modeDidChange:newMode oldIndex:oldMode];
         [strongSelf updateCaptureSessionWith:oldMode];
@@ -361,15 +354,7 @@
     
     self.savePhotoButton.titleLabel.textColor = [UIColor whiteColor];
     self.discardPhotoButton.titleLabel.textColor = [UIColor whiteColor];
-    
-    
-//    [self.takePhotoButton mas_remakeConstraints:^(MASConstraintMaker *make) {
-//        make.centerX.equalTo(self.view);
-//        make.bottom.equalTo(self.view.mas_safeAreaLayoutGuideBottom);
-//    }];
-    
     [self updateUIByMode];
-    
     self.panoramOrientationGuideView.delegate = self;
 
     
@@ -381,19 +366,14 @@
     [self.ablumImageView addGestureRecognizer:tap];
     self.ablumImageView.userInteractionEnabled = YES;
     self.ablumImageView.hidden = YES;
-//    self.ablumImageView.backgroundColor = [UIColor redColor];
     self.ablumImageView.contentMode = UIViewContentModeScaleAspectFill;
     [self.ablumImageView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.centerY.mas_equalTo(self.takePhotoButton);
         make.left.mas_equalTo(20);
         make.width.height.mas_equalTo(60);
-//        make.top.left.mas_equalTo(50);
-//        make.width.height.mas_equalTo(300);
     }];
-
     
     UILongPressGestureRecognizer *ges = [[UILongPressGestureRecognizer alloc]initWithTarget:self action:@selector(longPressGes:)];
-//    ges.numberOfTapsRequired = 1;
     ges.minimumPressDuration = 1;
     [self.takePhotoButton addGestureRecognizer:ges];
     
@@ -720,7 +700,7 @@
                 item.limitRecordTime = [recTime integerValue];
             }
             
-            item.keyFrame = dict[@"keyframe"];
+            item.keyFrame = @(1);
             item.isRemake = [dict[@"isRemake"] boolValue];
             NSNumber *quantity = dict[@"quantity"];
             if (quantity) {
@@ -808,9 +788,6 @@
     _captureSession.sessionPreset = AVCaptureSessionPresetInputPriority;
     
     _movieFileOutput = [[AVCaptureMovieFileOutput alloc] init];
-//    _movieFileOutput.maxRecordedDuration = CMTimeMake(self.parameters.limitRecordTime, 1);
-    
-    //  setup video data output for panoramic
     _videoDataQueue = dispatch_queue_create("video data", DISPATCH_QUEUE_SERIAL);
     _videoDataOutput = [[AVCaptureVideoDataOutput alloc] init];
     _videoDataOutput.alwaysDiscardsLateVideoFrames = YES;
@@ -898,14 +875,11 @@
             LenVideoStitchDirction dir = (LenVideoStitchDirction)wearSelf.panoramOrientationGuideView.selectedItemIndex;
             if (dir == LenVideoStitchDirctionLeft || dir == LenVideoStitchDirctionRight) {
                 if (fabs(x) < 3) {
-//                    NSLog(@"~~~~~~~~~~水平");
                     [wearSelf.panoramaGuideView updateArrowWith:PanoramaArrowDirCenter dir:dir];
                 } else {
                     if (x > 0) {
-//                        NSLog(@"~~~~~~~~~~向下");
                         [wearSelf.panoramaGuideView updateArrowWith:PanoramaArrowDirDown dir:dir];
                     } else {
-//                        NSLog(@"~~~~~~~~~~向上");
                         [wearSelf.panoramaGuideView updateArrowWith:PanoramaArrowDirUp dir:dir];
                     }
                 }
@@ -1045,7 +1019,6 @@
         connection.preferredVideoStabilizationMode = AVCaptureVideoStabilizationModeAuto;
     }
     if(connection == nil){
-//        [self showAlertForAuthorization];
         return;
     }
     if (connection.supportsVideoOrientation) {
@@ -1059,7 +1032,6 @@
     if ([self.photoOutput.availablePhotoCodecTypes containsObject:AVVideoCodecTypeJPEG]) {
         NSDictionary *format = @{AVVideoCodecKey: AVVideoCodecTypeJPEG};
         photoSettings = [AVCapturePhotoSettings photoSettingsWithFormat:format];
-//        NSLog(@"-----:%ld",(long)self.currentCameraInput.device.position);
         if (self.currentCameraInput.device.position == SDK_CAMERA_PISITION_BACK) {
             photoSettings.flashMode = self.outputSettings.flashMode;
         
@@ -1079,13 +1051,8 @@
 
 #pragma mark - Notification
 - (void)orientationWillChange: (NSNotification*)noti{
-    NSLog(@"orientationWillChange");
 }
 - (void)willEnterForeground: (NSNotification*)noti{
-//    if(self.broken){
-//        [self.player play];
-//        self.broken = NO;
-//    }
 }
 
 //UIBackgroundTaskIdentifier _bgTaskToken;
@@ -1100,7 +1067,6 @@
 }
 
 - (void)orientationDidChange: (NSNotification*)noti{
-    NSLog(@"orientationDidChange");
     if([self.currentOperationNode respondsToSelector:@selector(stop)])
         [self.currentOperationNode stop];
 }
@@ -1110,16 +1076,12 @@
     [QuitMultipleModeAlertViewController show:self title:@"" text:text leftBtnTitle:@"取消" rightBtnTitle:@"确认" withLeftButtonCallBack:^(QuitMultipleModeAlertViewController * _Nonnull alertController) {
         
         [alertController dismissViewControllerAnimated:YES completion:^{
-//            [self dismissViewControllerAnimated:YES completion:^{
-//
-//            }];
         }];
     } rightButtonCallBack:^(QuitMultipleModeAlertViewController * _Nonnull alertController) {
         [alertController dismissViewControllerAnimated:YES completion:^{
             NSURL* url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
             if(url != nil){
                 [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:^(BOOL success) {
-//                   NSLog(succ)
                 }];
             }
             
@@ -1173,8 +1135,6 @@
         case AVAuthorizationStatusDenied:{
             [self.authView showAutherWith:PCSAuthPhone];
             self.panGesture.enabled = NO;
-
-//            [self showAlertForAuthorizationWithText:@"请在系统设置里打开摄像机访问权限后重试"];
             showAlert =  YES;
             break;
         }
@@ -1193,7 +1153,6 @@
         case AVAuthorizationStatusDenied:{
             [self.authView showAutherWith:PCSAuthMir];
             self.panGesture.enabled = NO;
-//            [self showAlertForAuthorizationWithText:@"请在系统设置里打开麦克风访问权限后重试"];
             showAlert =  YES;
             break;
         }
@@ -1246,7 +1205,6 @@
         connection.preferredVideoStabilizationMode = AVCaptureVideoStabilizationModeAuto;
     }
     if(connection == nil){
-//        [self showAlertForAuthorization];
         return NO;
     }
     
@@ -1326,7 +1284,6 @@
                 connection.preferredVideoStabilizationMode = AVCaptureVideoStabilizationModeAuto;
             }
             if(connection == nil){
-//                [self showAlertForAuthorization];
                 return;
             }
             [connection setVideoOrientation:orientation];
@@ -1376,19 +1333,15 @@
             self.panoramaGuideView.hidden = YES;
         } else {
             self.panoramOrientationGuideView.hidden = isSaveIng;
-//            self.ai_fullView.hidden = isSaveIng;
             self.ai_fullView.hidden = YES;
             self.panoramaGuideView.hidden = isSaveIng;
         }
         self.modeList.hidden = isSaveIng;
         self.savePhotoButton.hidden = isSaveIng;
         self.takePhotoButton.hidden = isSaveIng;
-//        self.switchButton.hidden = isSaveIng;
         self.discardPhotoButton.hidden = isSaveIng;
         self.backButton.hidden = !isSaveIng;
         self.ablumImageView.hidden = isSaveIng;
-//        self.timerLabel.hidden = isSaveIng;
-    
     });
 
 }
@@ -1396,9 +1349,7 @@
 - (void)updateViewStatusWhenStitchFail {
     dispatch_async(dispatch_get_main_queue(), ^{
         self.stitchView.hidden = YES;
-
         self.flashButton.hidden = NO;
-
         self.modeList.hidden = NO;
         self.savePhotoButton.hidden = NO;
         self.takePhotoButton.hidden = NO;
@@ -1407,19 +1358,14 @@
             self.panoramOrientationGuideView.hidden = YES;
             self.panoramaGuideView.hidden = YES;
         } else {
-//            self.ai_fullView.hidden = NO;
             self.ai_fullView.hidden = YES;
             self.panoramOrientationGuideView.hidden = NO;
             self.panoramaGuideView.hidden = NO;
         }
-//        self.switchButton.hidden = isSaveIng;
         self.discardPhotoButton.hidden = NO;
         self.backButton.hidden = YES;
         self.ablumImageView.hidden = NO;
         [self.takePhotoButton setImage:[UIImage loadNamed:@"take-photo-btn"] forState:UIControlStateNormal];
-
-//        self.timerLabel.hidden = isSaveIng;
-    
     });
 }
 
@@ -1439,7 +1385,6 @@
     [[NSFileManager defaultManager] removeItemAtURL:tmpMovieFileUrl error:nil];
     self.videoWriter = [[AVAssetWriter alloc] initWithURL:tmpMovieFileUrl fileType:AVFileTypeQuickTimeMovie error:&err];
     if(err != nil){
-        NSLog(@"%@", err);
         self.videoWriter = nil;
         return NO;
     }
@@ -1578,17 +1523,8 @@
     self.albumButton.hidden = YES;
     self.numberOfImagesLabel.hidden = YES;
     self.modeLabel.text = self.currentOperationNode.modeTitleString;
-//    self.ai_fullView.hidden = !(self.mode == SDK_CAPTURE_MODE_PANORAMA);
     self.ai_fullView.hidden = YES;
     self.panGesture.enabled = YES;
-    
-//    self.controller.savePhotoButton.hidden = !self.hasCache;
-//    self.controller.discardPhotoButton.hidden = !self.hasCache;
-//
-//    self.controller.albumButton.hidden = !self.hasCache;
-//    self.controller.backButton.hidden = self.hasCache;
-    
-    
     if([self.currentOperationNode respondsToSelector:@selector(updateUI)]){
         [self.currentOperationNode updateUI];
     }
@@ -1661,48 +1597,37 @@
 
 
 
-
-
 - (void)modeDidChange: (NSUInteger)newIndex oldIndex: (NSUInteger)oldIndex{
     
     if(newIndex >= INT_MAX){
         return;
     }
     
-//    self.modeList.userInteractionEnabled = NO;
-//    [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]
     if(self.effectView.superview != nil){
-//        self.effectView.effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
         [UIView animateWithDuration:0.5 animations:^{
             self.effectView.effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
         }];
     }
-//    dispatch_async(dispatch_get_global_queue(0, 0), ^{
-        if(newIndex != SDK_CAPTURE_MODE_MOVIE){
-            [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
-                if (obj.model == self.mode) {
-                    [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionBack with:obj.resolution.height];
-                    [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionFront with:obj.resolution.height];
-                }
-            }];
-            
-        }
-        else{
-            [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
-                if (obj.model == self.mode) {
-                    [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionBack with:obj.videoResolution.height];
-                    [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionFront with:obj.videoResolution.height];
-                }
-            }];
-
-        }
+    if(newIndex != SDK_CAPTURE_MODE_MOVIE){
+        [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
+            if (obj.model == self.mode) {
+                [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionBack with:obj.resolution.height];
+                [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionFront with:obj.resolution.height];
+            }
+        }];
         
+    }
+    else{
+        [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
+            if (obj.model == self.mode) {
+                [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionBack with:obj.videoResolution.height];
+                [[CameraManager shared] setResolutionFor:AVCaptureDevicePositionFront with:obj.videoResolution.height];
+            }
+        }];
+
+    }
         
-//        dispatch_sync(dispatch_get_main_queue(), ^{
-//            self.modeList.userInteractionEnabled = YES;
-            self.effectView.effect = nil;
-//        });
-//    });
+    self.effectView.effect = nil;
     [self updateUIByMode];
     [self switchDevicePositionBack];
     [self updateNumberLabel];
@@ -1758,11 +1683,7 @@
 
 #pragma  mark 方向调用的代理
 - (void)panoramaOrientationViewslt:(PanoramaOrientationViewDirectionEnum)direction{
-//    NSLog(@"方向%ld",direction);
     self.panoramaGuideView.hidden = NO;
-//    self.ai_fullView.hidden = NO;
-    
-//    [LenStitcher videoResetPath];
     [UIView animateWithDuration:0.25 animations:^{
         [self.panoramaGuideView mas_remakeConstraints:^(MASConstraintMaker *make) {
             switch (direction) {
@@ -1785,8 +1706,6 @@
                     break;
                 case PanoramaOrientationViewAny: {
                     self.panoramaGuideView.hidden = YES;
-//                    self.ai_fullView.hidden = YES;
-
                 }
                     break;
                 default:
@@ -1874,7 +1793,6 @@
     NSError *err = nil;
     AVCaptureDeviceInput *newVideoInput = [[AVCaptureDeviceInput alloc] initWithDevice:newCamera error:&err];
     if(newVideoInput == nil || err != nil){
-        NSLog(@"Error creating capture device input: %@", err.localizedDescription);
     }
     else if([self.captureSession canAddInput:newVideoInput]){
         [self.captureSession addInput:newVideoInput];
@@ -1914,7 +1832,6 @@
     NSError *err = nil;
     AVCaptureDeviceInput *newVideoInput = [[AVCaptureDeviceInput alloc] initWithDevice:newCamera error:&err];
     if(newVideoInput == nil || err != nil){
-        NSLog(@"Error creating capture device input: %@", err.localizedDescription);
     } else if([self.captureSession canAddInput:newVideoInput]){
         [self.captureSession addInput:newVideoInput];
     }
@@ -1981,13 +1898,12 @@
 
                 OperationNodeAIPanorama *aiPan = nil;
                 if ([self.currentOperationNode isKindOfClass:[OperationNodeAIPanorama class]]) {
-//                    self.videoStitchSemaphore = dispatch_semaphore_create(1);
                     [LenStitcher videoResetPath];
                     LenzResourceItemModel *itemModel = [[LenzResourceItemModel alloc]init];
+                    itemModel.isStitch = YES;
                     [self.resourceModel.aiPanoramArray addObject:itemModel];
                     [self startMotion];
                     aiPan = self.currentOperationNode;
-//                    self.touchTime = 0;
                     aiPan.AIType = OperationAITypeLongPress;
                     [self.currentOperationNode takePhotoButtonTouched];
                 }
@@ -2042,7 +1958,6 @@
         } rightButtonCallBack:^(QuitMultipleModeAlertViewController * _Nonnull alertController) {
             [self updateViewStatusWhenStitchSave:NO];
             [alertController dismissViewControllerAnimated:NO completion:^{
-//                [self dismissViewControllerAnimated:YES completion:^{}];
             }];
         }];
     } else {
@@ -2099,7 +2014,7 @@
             idIndex += idx;
             NSMutableDictionary *dict = [NSMutableDictionary dictionary];
             dict[@"id"] = [NSString stringWithFormat:@"%ld", idIndex];
-            dict[@"path"] = obj.path;
+            dict[@"mosaicPictureUrl"] = obj.path;
             dict[@"cameraMode"] = obj.cameraMode;
             dict[@"cameraType"] = obj.cameraType;
             dict[@"isRemake"] = @(obj.isRemake);
@@ -2116,15 +2031,19 @@
             idIndex += idx;
             NSMutableDictionary *dict = [NSMutableDictionary dictionary];
             dict[@"id"] = [NSString stringWithFormat:@"%ld", idIndex];
-            dict[@"path"] = obj.path;
             dict[@"cameraMode"] = obj.cameraMode;
             dict[@"cameraType"] = obj.cameraType;
             dict[@"isRemake"] = @(obj.isRemake);
-            NSMutableArray *keyFrame = [NSMutableArray array];
-            [obj.keyFrame enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
-                [keyFrame addObject:obj];
-            }];
-            dict[@"keyFrame"] = keyFrame;
+            if (obj.isStitch) {
+                NSMutableArray *keyFrame = [NSMutableArray array];
+                [obj.keyFrame enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
+                    [keyFrame addObject:obj];
+                }];
+                dict[@"keyFrame"] = keyFrame;
+                dict[@"mosaicPictureUrl"] = obj.path;
+            } else {
+                dict[@"path"] = obj.path;
+            }
             [res addObject:dict];
         }
     }];
@@ -2138,46 +2057,18 @@
             
         }];
     }
-//    self.panGesture.enabled = YES;
-//    // Access has not been determined.
-//    [PHPhotoLibrary requestAuthorization:^(PHAuthorizationStatus status) {
-//
-//        dispatch_async(dispatch_get_main_queue(), ^{
-//            if (status == PHAuthorizationStatusAuthorized) {
-//                // Access has been granted.
-//                [self.currentOperationNode save];
-//            }
-//            else {
-//                // Access has been denied.
-//                [self showAlertForAuthorizationWithText:@"请设置相册权限后重试"];
-//            }
-//        });
-//    }];
 }
 
 - (void)discardPhotoResultButtonTouchUpInside:(id)sender{
     self.panGesture.enabled = YES;
-//    if([self.currentOperationNode respondsToSelector:@selector(discardPhotoResultButtonTouchUpInside)]){
-//        [self.currentOperationNode discardPhotoResultButtonTouchUpInside];
-//    }
     NSString *title = @"返回会清空已拍摄数据,请确认!";
-//    if (self.mode == SDK_CAPTURE_MODE_MOVIE) {
-//        title = @"返回会清空已拍摄视频,请确认!";
-//    } else if (self.mode == SDK_CAPTURE_MODE_PANORAMA || self.mode == SDK_CAPTURE_MODE_INTELLEGENCE_PANORAMA) {
-//        title = @"返回会清空已拼接图片,请确认!";
-//    }
     [QuitMultipleModeAlertViewController show:self title:@"确认提醒" text:title leftBtnTitle:@"取消" rightBtnTitle:@"确定" withLeftButtonCallBack:^(QuitMultipleModeAlertViewController * _Nonnull alertController) {
         [alertController dismissViewControllerAnimated:NO completion:^{}];
     } rightButtonCallBack:^(QuitMultipleModeAlertViewController * _Nonnull alertController) {
-//        if (self.mode == SDK_CAPTURE_MODE_CONTINUOUS) {
-            [self.resourceModel.continousArray removeAllObjects];
-//        } else if (self.mode == SDK_CAPTURE_MODE_MOVIE) {
-            [self.resourceModel.movieArray removeAllObjects];
-//        } else if (self.mode == SDK_CAPTURE_MODE_PANORAMA) {
-            [self.resourceModel.panoramArray removeAllObjects];
-//        } else if (self.mode == SDK_CAPTURE_MODE_INTELLEGENCE_PANORAMA) {
-            [self.resourceModel.aiPanoramArray removeAllObjects];
-//        }
+        [self.resourceModel.continousArray removeAllObjects];
+        [self.resourceModel.movieArray removeAllObjects];
+        [self.resourceModel.panoramArray removeAllObjects];
+        [self.resourceModel.aiPanoramArray removeAllObjects];
         [self updateViewStatus];
         [alertController dismissViewControllerAnimated:NO completion:^{
 
@@ -2188,14 +2079,9 @@
 - (void)albumButtonTouchUpInside:(id)sender{
 
     [self performSegueWithIdentifier:@"show-photoalbum" sender:nil];
-//    if([self.currentOperationNode respondsToSelector:@selector(segueForAlbum)]){
-//        [self performSegueWithIdentifier:self.currentOperationNode.segueForAlbum sender:nil];
-//    }
 }
 
 - (__kindof id<OperationNodeProtocol>)currentOperationNode{
-//    NSLog(@"======:%u",self.mode);
-//    NSLog(@"------:%@",self.operationNodes);
     return self.operationNodes[@(self.mode)];
 }
 
@@ -2292,23 +2178,12 @@
     }
     self.resourceModel.lastIndex = self.mode;
     [self updateViewStatus];
-
-//    [self.cachesArray addObject:image];
-//
-//    [self.typeArray addObject:@"photo"];
-//
-//    [self.totalArray addObject:image];
-//
-//    self.capturedImage = image;
-    
     
     
     [self.currentOperationNode triggered];
     if(self.mode == SDK_CAPTURE_MODE_SINGLE){
-//        self.panGesture.enabled = NO;
         [self stopCaptureSession];
         [self performSegueWithIdentifier:@"preview_single" sender:nil];
-//        [self showPreviewView:NO];
     }
     else if(self.mode == SDK_CAPTURE_MODE_CONTINUOUS){
         self.discardPhotoButton.hidden = NO;
@@ -2321,7 +2196,6 @@
 - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(NSError *)error{
     NSData* imageData = [photo fileDataRepresentation];
     if (imageData == nil){
-        NSLog(@"%s", "unable to create image data");
         return;
     }
     UIImage *image = [[UIImage alloc] initWithData:imageData];
@@ -2527,18 +2401,14 @@
 - (void)captureOutput:(AVCaptureFileOutput *)output didFinishRecordingToOutputFileAtURL:(NSURL *)outputFileURL fromConnections:(NSArray<AVCaptureConnection *> *)connections error:(NSError *)error{
     //视频录制
     BOOL recordedSuccessfully = YES;
-    // A problem occurred: Find out if the recording was successful.
     if(error.code == AVErrorMaximumDurationReached){
-        NSLog(@"%@", [error localizedDescription]);
     }
     else if (error.code == AVErrorDiskFull){
-        NSLog(@"%@", [error localizedDescription]);
         dispatch_async(dispatch_get_main_queue(), ^{
             [[NSNotificationCenter defaultCenter] postNotificationName:LenzSDKNotificationDiskIsFull object:error];
         });
     }
     else if (error.code == AVErrorSessionWasInterrupted){
-        NSLog(@"%@", [error localizedDescription]);
     }
     id value = [[error userInfo] objectForKey:AVErrorRecordingSuccessfullyFinishedKey];
     if (value) {
@@ -2558,7 +2428,6 @@
             [self.currentOperationNode takePhotoButtonTouched];
         }
     }
-//    NSString *path = [LenzDataManager saveVideoUrl:outputFileURL model:self.mode];
     LenzResourceItemModel *itemModel = [[LenzResourceItemModel alloc]init];
     itemModel.path = outputFileURL.absoluteString;
     [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
@@ -2572,9 +2441,6 @@
     [self.resourceModel.movieArray addObject:itemModel];
     self.resourceModel.lastIndex = self.mode;
     
-//    self.recordedFileUrl = outputFileURL;
-    
-//    [self.typeArray addObject:@"movie"];
     [self updateViewStatus];
     [self.timerLabel updateWith:0];
 
@@ -2597,7 +2463,6 @@
         }
         
         if (self.videoWriter.status == AVAssetWriterStatusFailed) {
-            NSLog(@"writer error %@", self.videoWriter.error.localizedDescription);
             return NO;
         }
         
@@ -2635,7 +2500,6 @@
         }
         
     }
-//    id<OperationNodeProtocol> curr = self.currentOperationNode;
     id<OperationNodeProtocol> curr = (__kindof id<OperationNodeProtocol>)self.operationNodes[@(2)];
     if([curr respondsToSelector:@selector(deleteCacheForKey:completion:)]){
         [curr deleteCacheForKey:model.movieModel.fileUrl.path completion:completion];
@@ -2645,8 +2509,6 @@
 //连拍删除
 - (void)deleteImage:(UIImage *)image completion:(nonnull DeleteImageCompletionCallBackType)completion{
     
-//    id<OperationNodeProtocol> curr = self.currentOperationNode;
-
     for (int i = 0; i < self.totalArray.count; i ++) {
         UIImage *img = self.totalArray[i];
         if (img == image) {
@@ -2659,7 +2521,6 @@
     }
     
     id<OperationNodeProtocol> curr = (__kindof id<OperationNodeProtocol>)self.operationNodes[@(0)];
-
     if([curr respondsToSelector:@selector(deleteCacheForImage:completion:)]){
         [curr deleteCacheForImage:image completion:completion];
     }
@@ -2679,12 +2540,10 @@
         if (connection == [self.videoDataOutput connectionWithMediaType:AVMediaTypeVideo]) {
             
             [self.stitchkLock lock];
-//            dispatch_semaphore_wait(self.videoStitchSemaphore, DISPATCH_TIME_FOREVER);
             OperationNodeVideoBase *base = nil;
             if ([self.currentOperationNode isKindOfClass:[OperationNodeVideoBase class]]) {
                 base = (OperationNodeVideoBase *)self.currentOperationNode;
             }
-            
 
             if (self.isVideoStitchStopedWhenRecording &&
                 (self.stitchResult != LenVideoStitchResultFail && self.stitchResult != LenVideoStitchResultStitchFail)) {
@@ -2698,7 +2557,6 @@
                                 complete:^(LenVideoStitchResult result, LenVideoStitchNeedSave needSave) {
                 self.stitchResult = result;
                 
-
                 self.isVideoStitchStopedWhenRecording = NO;
                 UIImage *image = [LenStitcher getCurrentPanoramaShowImage];
                 LenzResourceItemModel *model = nil;
@@ -2738,13 +2596,12 @@
                                 __block BOOL keyFrame = NO;
                                 [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
                                     if (obj.model == self.mode) {
-                                        keyFrame = obj.keyFrame;
+                                        keyFrame = [obj.keyFrame boolValue];
                                     }
                                 }];
                                 
                                 if (needSave && keyFrame) {
                                     NSString *path = [LenzDataManager saveImageWith:UIImageJPEGRepresentation(image, .6) mode:self.mode];
-//                                    itemModel.path = path;
                                     if (path) {
                                         [model.keyFrame addObject:path];
                                     }
@@ -2763,7 +2620,6 @@
                 } else {
  
                     if (!base.isRecording) {
-//                        [self removeLastStich];
                         //停止拼接,移除保存中 非success数据
                         if (self.mode == SDK_CAPTURE_MODE_PANORAMA) {
                             NSMutableArray *array = [NSMutableArray array];
@@ -2782,6 +2638,7 @@
                             }];
                             self.resourceModel.aiPanoramArray = array;
                         }
+                        [self updateViewStatusWhenStitchSave:NO];
                         [self updateViewStatus];
                         [self.stitchkLock unlock];
                         return;
@@ -2794,11 +2651,9 @@
                         }
                         
                         self.isVideoStitchStopedWhenRecording = NO;
-//                        base.isRecording = NO;
                         dispatch_async(dispatch_get_main_queue(), ^{
                             [base takePhotoButtonTouched];
                             [self stopMotion];
-//                            [self takePhotoButtonTouchUpInside:[NSObject new]];
                             [self removeLastStich];
                             [self updateViewStatusWhenStitchFail];
                             [self.panoramaGuideView clearImage];
@@ -2818,10 +2673,7 @@
                 }
                 
                 [self.stitchkLock unlock];
-
-//                dispatch_semaphore_signal(self.videoStitchSemaphore);
             }];
-            
         }
     }
 }
@@ -2836,13 +2688,11 @@
         }
     }
 }
-//*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
     // Get the new view controller using [segue destinationViewController].
-    // Pass the selected object to the new view controller.
     if([segue.identifier isEqualToString:@"show-photos"]){
         if([segue.destinationViewController isKindOfClass:[PhotoListViewController class]]){
             PhotoListViewController* dst = segue.destinationViewController;
@@ -2892,11 +2742,7 @@
             dst.movieListVC.movieModels = movieNode.cachedMovies;
             dst.movieListVC.delegate = self;
 //        }
-                
-        //视频数据
-        
-        
-        
+
         
     }
         

+ 1 - 65
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m

@@ -186,16 +186,6 @@
         make.width.height.mas_offset(60);
     }];
     
-    
-//    [self.view addSubview:self.scrollView];
-//    [self.scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
-//        make.left.mas_offset(20);
-//        make.right.mas_offset(-20);
-//        make.top.mas_equalTo(self.countLabel.mas_bottom);
-//        make.bottom.mas_equalTo(self.bottomView.mas_top);
-//    }];
-    //    [self.view setNeedsLayout];
-    //    [self.view layoutIfNeeded];
     UICollectionViewFlowLayout* layout = [[UICollectionViewFlowLayout alloc]init];
     layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
     layout.minimumLineSpacing = 0;
@@ -217,9 +207,6 @@
     }];
 
 
-//    [self.view setNeedsLayout];
-//    [self.view layoutIfNeeded];
-//    [self updateScrollWith:self.currentIndex];
     self.currentIndexPath = nil;
     if (self.model.continousArray.count > 0 && self.selectIndex == SDK_CAPTURE_MODE_CONTINUOUS) {
         self.currentIndex = 1;
@@ -253,23 +240,14 @@
 }
 - (void)viewDidAppear:(BOOL)animated {
     [super viewDidAppear:animated];
-//    [self scrollViewDidEndDecelerating:self.collectionView];
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-//        [self.collectionView scrollToItemAtIndexPath:self.currentIndexPath atScrollPosition:UICollectionViewScrollPositionRight animated:NO];
         self.collectionView.hidden = NO;
-//        [self updateCurrentIndexPath];
         UICollectionViewLayoutAttributes*attributes = [self.collectionView layoutAttributesForItemAtIndexPath:self.currentIndexPath];
         CGRect rect = attributes.frame;
         [self.collectionView setContentOffset:CGPointMake(rect.origin.x, rect.origin.y ) animated:NO];
     });
-    
-
 }
 
-//- (void)viewDidLayoutSubviews{
-//    [self.view layoutIfNeeded];
-//    [self.collectionView scrollToItemAtIndexPath:self.currentIndexPath atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:NO];
-//}
 
 - (UIImageView *)lineImageView {
     if (!_lineImageView) {
@@ -357,7 +335,6 @@
      self.currentIndexPath = currentIndexPath;
     [self changeLabelStatusWith:currentIndexPath.section + 1];
     [self updateCountLabelWith:currentIndexPath];
-//    [self.collectionView reloadData];
 }
 
 - (void)updateCurrentIndexPath {
@@ -379,7 +356,6 @@
 
 - (void)setupModeView {
     [self.modeView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
-//    self.currentModeDataIndex = 0;
     CGFloat margin = [UIScreen mainScreen].bounds.size.width == 375 ? 20 : 30;
     UIView *lastView = nil;
     NSInteger count = 0;
@@ -482,16 +458,12 @@
     [self.view layoutIfNeeded];
     UILabel *label = (UILabel *)tap.view;
     self.currentIndexPath = [NSIndexPath indexPathForItem:0 inSection:label.tag - 1];
-//    [self.collectionView scrollToItemAtIndexPath:self.currentIndexPath atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:NO];
-    
     UICollectionViewLayoutAttributes*attributes = [self.collectionView layoutAttributesForItemAtIndexPath:self.currentIndexPath];
     CGRect rect = attributes.frame;
     [self.collectionView setContentOffset:CGPointMake(rect.origin.x, rect.origin.y ) animated:NO];
     
     [self changeLabelStatusWith:label.tag];
     [self updateCountLabelWith:self.currentIndexPath];
-
-//    [self updateScrollWith:label.tag];
 }
 
 - (void)changeLabelStatusWith:(NSInteger)index {
@@ -526,10 +498,7 @@
             make.height.mas_offset(9);
         }];
     }
-    
     self.currentIndex = index;
-
-    
 }
 
 
@@ -552,7 +521,6 @@
 - (void)updateScrollViewWith:(NSArray <LenzResourceItemModel *> *)array {
     CGFloat width = CGRectGetWidth(self.scrollView.frame);
     CGFloat height = CGRectGetHeight(self.scrollView.frame);
-//    self.currentModeDataIndex = 0;
     [self.scrollView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
     self.scrollView.pagingEnabled = YES;
     self.scrollView.contentSize = CGSizeMake(width * array.count, height);
@@ -561,8 +529,6 @@
         UIImageView *imageView = [[UIImageView alloc]init];
         imageView.image = obj.image;
         imageView.tag = idx;
-//        imageView.contentMode = UIViewContentModeScaleAspectFill;
-//        imageView.clipsToBounds = YES;
         [self.scrollView addSubview:imageView];
 
         [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -603,7 +569,6 @@
         }
         lastImageView = imageView;
     }];
-//    [self.player.view bringSubviewToFront:self.scrollView];
     self.curentLabel.text = [NSString stringWithFormat:@"第%d/%ld条", 1, array.count];
 }
 - (void)videoAction:(UITapGestureRecognizer *)tap {
@@ -660,7 +625,6 @@
             [self setupModeView];
             [self scrollViewDidEndDecelerating:self.collectionView];
 
-//            [self updateScrollWith:self.currentIndex];
             [self.collectionView reloadData];
             [self.view setNeedsLayout];
             [self.view layoutIfNeeded];
@@ -668,9 +632,7 @@
                 [self updateCurrentIndexPath];
             });
             
-//            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-                [self updateViewWhenDelete];
-//            });
+            [self updateViewWhenDelete];
             if (self.dataChangeBlock) {
                 self.dataChangeBlock();
             }
@@ -680,7 +642,6 @@
                 self.model.aiPanoramArray.count == 0) {
                 
                 self.curentLabel.hidden = YES;
-//                [self.scrollView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
                 [alertController dismissViewControllerAnimated:YES completion:^{
                     [self dismissViewControllerAnimated:YES completion:nil];
                 }];
@@ -693,31 +654,6 @@
         }];
 }
 
-//- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
-//    CGFloat x = scrollView.contentOffset.x;
-//    CGFloat width = CGRectGetWidth(self.scrollView.frame);
-//    NSInteger count = self.scrollView.contentSize.width/width;
-//    NSInteger index = x/width;
-////    if (x - index * width > 0) {
-////        //下一组
-////        if (self.currentIndex == 1) {
-////            if (self.model.movieArray.count > 0) {
-////                [self changeLabelStatusWith:2];
-////                [self updateScrollWith:2];
-////                self.currentIndex = 2;
-////            } else if (self.model.panoramArray.count > 0) {
-////                [self changeLabelStatusWith:3];
-////                [self updateScrollWith:3];
-////                self.currentIndex = 3;
-////            }
-////        }
-////    } else {
-////
-////    }
-//    self.currentModeDataIndex = index;
-//    self.curentLabel.text = [NSString stringWithFormat:@"第%ld/%ld条",index + 1, count];
-//
-//}
 - (UILabel *)countLabel {
     if (!_countLabel) {
         _countLabel = [[UILabel alloc]init];

+ 0 - 38
LenzCameraNativeModuleForRN/Classes/inner/PCSTools.m

@@ -9,7 +9,6 @@
 #import "OperationNodeProtocol.h"
 #import "QuitMultipleModeAlertViewController.h"
 #import "SDKParameters.h"
-#import "DBManager.h"
 #import "LenzSDKConstant.h"
 #import "LenzCachedResourceModel.h"
 
@@ -53,43 +52,6 @@ void showAlertToDiscardCachesWithTitle(id<OperationNodeProtocol> node, NSString*
 @implementation PCSTools
 
 - (void)cleanDiskCache{
-    PCSTools* tool = [PCSTools shared];
-    LenzDBManager* dbMgr = [LenzDBManager shared];
-    NSArray<LenzCachedResourceModel*>* arr = [dbMgr fetchAll];
-    NSMutableArray<LenzCachedResourceModel*>* invalids = [NSMutableArray array];
-    NSFileManager* fileMgr = [NSFileManager defaultManager];
-    [arr enumerateObjectsUsingBlock:^(LenzCachedResourceModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
-        switch (obj.type) {
-            case SDKCameraCapturedResourceIndexMovie:
-            {
-                NSURL* desUrl = [tool.moviesDir URLByAppendingPathComponent: obj.name isDirectory:NO];
-                NSError* err = nil;
-                if([fileMgr fileExistsAtPath:desUrl.path] && [fileMgr removeItemAtURL:desUrl error:&err]){
-                    [invalids addObject:obj];
-                }
-                else if(![fileMgr fileExistsAtPath:desUrl.path]){
-                    [invalids addObject:obj];
-                }
-            }
-                break;
-            case SDKCameraCapturedResourceIndexPhoto:
-            {
-                NSString* path = [tool imagePathByName:obj.name];
-                NSError* err = nil;
-                if([fileMgr fileExistsAtPath:path] && [fileMgr removeItemAtPath:path error:&err]){
-                    [invalids addObject:obj];
-                }
-                else if(![fileMgr removeItemAtPath:path error:&err]){
-                    [invalids addObject:obj];
-                }
-            }
-                break;
-            default:
-                break;
-        }
-    }];
-    
-    [dbMgr deleteModels:invalids];
 }
 
 - (NSString *)mainStoryboardName{

+ 0 - 1
LenzCameraNativeModuleForRN/Classes/inner/Renderer/CameraTextureRenderPass.m

@@ -8,7 +8,6 @@
 #import "CameraTextureRenderPass.h"
 #import <MetalKit/MetalKit.h>
 #import "Renderer.h"
-#import "TensorFlowWrapper.h"
 #import "PCSTools.h"
 
 @interface CameraTextureRenderPass ()

+ 0 - 19
LenzCameraNativeModuleForRN/Classes/inner/TensorFlow/TensorFlowWrapper.h

@@ -1,19 +0,0 @@
-//
-//  TensorFlowWrapper.h
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/29.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class LenzTensorFlow;
-@interface TensorFlowWrapper : NSObject
-
-@property (nonatomic, readonly) LenzTensorFlow* tensorFlow;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 37
LenzCameraNativeModuleForRN/Classes/inner/TensorFlow/TensorFlowWrapper.m

@@ -1,37 +0,0 @@
-//
-//  TensorFlowWrapper.m
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/29.
-//
-
-#import "TensorFlowWrapper.h"
-
-
-@implementation TensorFlowWrapper
-
-@synthesize tensorFlow = _tensorFlow;
-
-- (BOOL)remake:(CVPixelBufferRef)buffer image:(UIImage *)image{
-    id tensorFlow = [[TensorFlowWrapper alloc] init].tensorFlow;
-    if(tensorFlow == nil){
-        NSLog(@"load tensor flow failed");
-        return NO;
-    }
-    
-    NSNumber *remake = [tensorFlow performSelector:@selector(remake:) withObject:(__bridge id)(buffer)];
-    float value = [remake floatValue];
-    NSLog(@"remake:value:%@",remake);
-    return value > 0.8;
-}
-
-
-- (id)tensorFlow {
-    if (!_tensorFlow) {
-        Class tfClass = NSClassFromString(@"LenzTensorFlow");
-        _tensorFlow = [[tfClass alloc] init];
-    }
-    return _tensorFlow;
-}
-
-@end

+ 0 - 16
LenzCameraNativeModuleForRN/Classes/inner/cpp-headers.h

@@ -1,16 +0,0 @@
-//
-//  cpp-headers.h
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/31.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface cpp_headers : NSObject
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 20
LenzCameraNativeModuleForRN/Classes/inner/cpp-headers.mm

@@ -1,20 +0,0 @@
-//
-//  cpp-headers.m
-//  LenzCameraNativeModuleForRN
-//
-//  Created by 王昭威 on 2023/1/31.
-//
-
-#import "cpp-headers.h"
-//#import <tenso>
-//#include <TensorFlow/lite/model.h>
-//#include "tensorflow/lite/model.h"
-//#include <TensorFlow/model.h>
-
-@implementation cpp_headers
-
-- (void)aaaa{
-//std::unique_ptr<tflite::FlatBufferModel> model = tflite::FlatBufferModel::BuildFromFile([self.modelPath UTF8String]);
-}
-
-@end