lxy 1 rok temu
rodzic
commit
f2f54dba85
34 zmienionych plików z 355 dodań i 807 usunięć
  1. 4 0
      Example/LenzCameraNativeModuleForRN.xcodeproj/project.pbxproj
  2. 2 2
      Example/Podfile.lock
  3. 2 2
      Example/Pods/Local Podspecs/LenzSDK.podspec.json
  4. 2 2
      Example/Pods/Manifest.lock
  5. 15 36
      Example/Pods/Pods.xcodeproj/project.pbxproj
  6. 1 1
      Example/Pods/Target Support Files/LenzSDK/ResourceBundle-LenzCameraNativeModuleForRN-LenzSDK-Info.plist
  7. 22 0
      LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/Contents.json
  8. BIN
      LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/icon_match_filter_close@2x.png
  9. BIN
      LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/icon_match_filter_close@3x.png
  10. 74 31
      LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSBaseViewController.m
  11. 16 6
      LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m
  12. 27 0
      LenzCameraNativeModuleForRN/Classes/inner/UI/PCSAutherView.h
  13. 116 0
      LenzCameraNativeModuleForRN/Classes/inner/UI/PCSAutherView.m
  14. 1 1
      LenzSDK.podspec
  15. 0 55
      LenzSDK/1.0.0/LenzSDK.podspec
  16. 0 55
      LenzSDK/1.0.1/LenzSDK.podspec
  17. 0 55
      LenzSDK/1.0.3/LenzSDK.podspec
  18. 0 55
      LenzSDK/1.0.4/LenzSDK.podspec
  19. 0 55
      LenzSDK/1.0.5/LenzSDK.podspec
  20. 0 55
      LenzSDK/1.0.6/LenzSDK.podspec
  21. 0 55
      LenzSDK/1.0.7/LenzSDK.podspec
  22. 0 55
      LenzSDK/1.0.8/LenzSDK.podspec
  23. 0 55
      LenzSDK/1.0.9/LenzSDK.podspec
  24. 0 55
      LenzSDK/1.1.0/LenzSDK.podspec
  25. 0 55
      LenzSDK/1.1.1/LenzSDK.podspec
  26. 0 56
      LenzSDK/1.1.2/LenzSDK.podspec
  27. 0 58
      LenzSDK/1.1.3/LenzSDK.podspec
  28. 1 0
      LenzStitchSDK.framework/Headers/LenStitcher.h
  29. 54 0
      LenzStitchSDK.framework/Headers/lenz_stitch_jni.hpp
  30. BIN
      LenzStitchSDK.framework/LenzStitchSDK
  31. BIN
      LenzStitchSDK.framework/_CodeSignature/CodeDirectory
  32. BIN
      LenzStitchSDK.framework/_CodeSignature/CodeRequirements-1
  33. 18 7
      LenzStitchSDK.framework/_CodeSignature/CodeResources
  34. BIN
      LenzStitchSDK.framework/_CodeSignature/CodeSignature

+ 4 - 0
Example/LenzCameraNativeModuleForRN.xcodeproj/project.pbxproj

@@ -7,6 +7,7 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		2955D02E29E1B19800304514 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 2955D02D29E1B18E00304514 /* libc++.tbd */; };
 		6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
 		6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
 		6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
@@ -36,6 +37,7 @@
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
+		2955D02D29E1B18E00304514 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
 		47F785DCE1254FC6EEB075B7 /* Pods-LenzCameraNativeModuleForRN_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LenzCameraNativeModuleForRN_Example.release.xcconfig"; path = "Target Support Files/Pods-LenzCameraNativeModuleForRN_Example/Pods-LenzCameraNativeModuleForRN_Example.release.xcconfig"; sourceTree = "<group>"; };
 		6003F58A195388D20070C39A /* LenzCameraNativeModuleForRN_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LenzCameraNativeModuleForRN_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
 		6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -68,6 +70,7 @@
 			buildActionMask = 2147483647;
 			files = (
 				6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
+				2955D02E29E1B19800304514 /* libc++.tbd in Frameworks */,
 				6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
 				6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
 				FA93ED6C968DC57419438715 /* libPods-LenzCameraNativeModuleForRN_Example.a in Frameworks */,
@@ -110,6 +113,7 @@
 		6003F58C195388D20070C39A /* Frameworks */ = {
 			isa = PBXGroup;
 			children = (
+				2955D02D29E1B18E00304514 /* libc++.tbd */,
 				6003F58D195388D20070C39A /* Foundation.framework */,
 				6003F58F195388D20070C39A /* CoreGraphics.framework */,
 				6003F591195388D20070C39A /* UIKit.framework */,

+ 2 - 2
Example/Podfile.lock

@@ -1,5 +1,5 @@
 PODS:
-  - LenzSDK (1.1.3):
+  - LenzSDK (1.1.4):
     - Masonry (= 1.1.0)
     - OpenCV2 (~> 4.3.0)
     - SVProgressHUD (~> 2.2.5)
@@ -27,7 +27,7 @@ EXTERNAL SOURCES:
     :path: "../"
 
 SPEC CHECKSUMS:
-  LenzSDK: 1dbcc855ba1976e39af4d9bd651fb3f69cc61cd0
+  LenzSDK: fa0c26d9c0b7a8f06cc70cf77181a9c869ea4311
   Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
   OpenCV2: ffe82e5cb5d16dc3fc01a5f4127b9a5b3cfc7d1b
   SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6

+ 2 - 2
Example/Pods/Local Podspecs/LenzSDK.podspec.json

@@ -1,6 +1,6 @@
 {
   "name": "LenzSDK",
-  "version": "1.1.3",
+  "version": "1.1.4",
   "summary": "A short description of LenzSDK.",
   "description": "this  is the long description",
   "homepage": "http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git",
@@ -13,7 +13,7 @@
   },
   "source": {
     "git": "http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git",
-    "tag": "1.1.3"
+    "tag": "1.1.4"
   },
   "platforms": {
     "ios": "11.0"

+ 2 - 2
Example/Pods/Manifest.lock

@@ -1,5 +1,5 @@
 PODS:
-  - LenzSDK (1.1.3):
+  - LenzSDK (1.1.4):
     - Masonry (= 1.1.0)
     - OpenCV2 (~> 4.3.0)
     - SVProgressHUD (~> 2.2.5)
@@ -27,7 +27,7 @@ EXTERNAL SOURCES:
     :path: "../"
 
 SPEC CHECKSUMS:
-  LenzSDK: 1dbcc855ba1976e39af4d9bd651fb3f69cc61cd0
+  LenzSDK: fa0c26d9c0b7a8f06cc70cf77181a9c869ea4311
   Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
   OpenCV2: ffe82e5cb5d16dc3fc01a5f4127b9a5b3cfc7d1b
   SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6

+ 15 - 36
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 */
 
@@ -57,6 +59,8 @@
 		27BC1246EA9551436EF0797243AC5C27 /* YYTextSelectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 45C026261DAF6B7FCAAC6266495F4C9E /* YYTextSelectionView.m */; };
 		27F35D4A18FADDD901AF200E8648887C /* MASConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C0EF01C047A7FEE68E5418B5310DDF5 /* MASConstraint.m */; };
 		285870722D6D6254EA4B07B08C5A4292 /* LenzCameraSDK.m in Sources */ = {isa = PBXBuildFile; fileRef = CFB95D9EF4BA34266DEE96A5088A1D0E /* LenzCameraSDK.m */; };
+		2955D10229E5126B00304514 /* PCSAutherView.h in Headers */ = {isa = PBXBuildFile; fileRef = 2955D10029E5126B00304514 /* PCSAutherView.h */; };
+		2955D10329E5126B00304514 /* PCSAutherView.m in Sources */ = {isa = PBXBuildFile; fileRef = 2955D10129E5126B00304514 /* PCSAutherView.m */; };
 		29E64B53874873E9185F4C4A371E6ED6 /* MASViewAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 35783455FD2B307819356A0F7317E3A2 /* MASViewAttribute.m */; };
 		2A82C8DF4D809ECE5A7B1E90F7CAE77F /* YYTextLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 58A56A8842D5A1FEE1A038D18A8C697A /* YYTextLayout.m */; };
 		2AD796924433EC645003FB24019C32FC /* MASViewConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = D1E565F5A1FAD79799DA4DD176AD4C23 /* MASViewConstraint.m */; };
@@ -401,6 +405,8 @@
 		24C466DCD5D26F8F1A95AFE5E7A10616 /* UIColor+JKAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIColor+JKAdd.m"; sourceTree = "<group>"; };
 		28ECFDA64C4A2EC421FAF5FC2BA27142 /* autocalib.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = autocalib.hpp; path = opencv2.framework/Versions/A/Headers/stitching/detail/autocalib.hpp; sourceTree = "<group>"; };
 		28F972AC7A75FA6A834F1398B95B240A /* logger.defines.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = logger.defines.hpp; path = opencv2.framework/Versions/A/Headers/core/utils/logger.defines.hpp; sourceTree = "<group>"; };
+		2955D10029E5126B00304514 /* PCSAutherView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PCSAutherView.h; sourceTree = "<group>"; };
+		2955D10129E5126B00304514 /* PCSAutherView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PCSAutherView.m; sourceTree = "<group>"; };
 		296E0AAD4A2D8A00C7F05EFE783BD524 /* PCSTools.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PCSTools.m; sourceTree = "<group>"; };
 		29B829673F9D5AB2BD30E5304DB7EEA6 /* miniflann.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = miniflann.hpp; path = opencv2.framework/Versions/A/Headers/flann/miniflann.hpp; sourceTree = "<group>"; };
 		2A4C82A7E53516C57C23D930064D55FA /* limits.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = limits.hpp; path = opencv2.framework/Versions/A/Headers/core/cuda/limits.hpp; sourceTree = "<group>"; };
@@ -567,7 +573,7 @@
 		79C8778FBF822AC259820E6C7314F0CB /* random.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = random.h; path = opencv2.framework/Versions/A/Headers/flann/random.h; sourceTree = "<group>"; };
 		7AF0C9EDC9FACDAE37FC3FA2964122BD /* YYTextUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = YYTextUtilities.h; path = YYText/Utility/YYTextUtilities.h; sourceTree = "<group>"; };
 		7AF13B5C074766CBB721EAA1F9AE6C05 /* highgui_c.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = highgui_c.h; path = opencv2.framework/Versions/A/Headers/highgui/highgui_c.h; sourceTree = "<group>"; };
-		7B18E9434BD29D9BCC4A19B17A989C67 /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
+		7B18E9434BD29D9BCC4A19B17A989C67 /* moire_mobilenetv2_79.tflite */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file; path = moire_mobilenetv2_79.tflite; sourceTree = "<group>"; };
 		7B8BFBAF8DEF654F040AAB63F5E35DAE /* PaddingLabel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PaddingLabel.h; sourceTree = "<group>"; };
 		7C76B84B6CAE7F2A7249CE02191B4D39 /* opencl_gl_wrappers.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = opencl_gl_wrappers.hpp; path = opencv2.framework/Versions/A/Headers/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp; sourceTree = "<group>"; };
 		7D660DACAFE1FE48CFD4EAD7E90D9ABC /* VerticalButton.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = VerticalButton.h; sourceTree = "<group>"; };
@@ -592,7 +598,7 @@
 		8770346476564128E1D95CB54F75F259 /* gcgraph.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = gcgraph.hpp; path = opencv2.framework/Versions/A/Headers/imgproc/detail/gcgraph.hpp; sourceTree = "<group>"; };
 		87915C9C50FDE9906265DF4122AB7E1F /* SVIndefiniteAnimatedView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SVIndefiniteAnimatedView.m; path = SVProgressHUD/SVIndefiniteAnimatedView.m; sourceTree = "<group>"; };
 		87FB9F6AA326948FF957CDBA9D45E100 /* gasync_context.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = gasync_context.hpp; path = opencv2.framework/Versions/A/Headers/gapi/gasync_context.hpp; sourceTree = "<group>"; };
-		88176509FCAB6B36F316AC04B84446BE /* 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; };
+		88176509FCAB6B36F316AC04B84446BE /* LenzSDK.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = LenzSDK.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		88FAFB718DB7E66A1777F7176F4268AF /* YYTextRunDelegate.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextRunDelegate.m; path = YYText/String/YYTextRunDelegate.m; sourceTree = "<group>"; };
 		8905E06243ADA18E17E2B2D83FE17D91 /* TensorFlowWrapper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = TensorFlowWrapper.m; sourceTree = "<group>"; };
 		8A171F24B8E17DEE3264D323615C52E8 /* SVIndefiniteAnimatedView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SVIndefiniteAnimatedView.h; path = SVProgressHUD/SVIndefiniteAnimatedView.h; sourceTree = "<group>"; };
@@ -643,7 +649,7 @@
 		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>"; };
 		9D3326A3007D874205B40893EA3CFE62 /* UIView+JKAdd.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIView+JKAdd.m"; 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; };
 		9E3D8540C60144CED386A442155ED9CF /* UIImage+ext.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ext.m"; 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>"; };
 		9E9A4CFE1E806FB27FF48B0A51F8FA29 /* ImageCacheLRU.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = ImageCacheLRU.h; sourceTree = "<group>"; };
@@ -669,7 +675,7 @@
 		A718862A1B1B19BAA2465D13B88CF0E8 /* directx.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = directx.hpp; path = opencv2.framework/Versions/A/Headers/core/directx.hpp; sourceTree = "<group>"; };
 		A7FA1FD7A64BD7439EDE019F7FF831F4 /* PhotoAlbumModel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PhotoAlbumModel.m; sourceTree = "<group>"; };
 		A976605A3EBE01C3354D9E6195DDB0E8 /* PhotoAlbumListViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PhotoAlbumListViewController.h; sourceTree = "<group>"; };
-		A9F5B1F945F4C5B0A7018A0A2387B101 /* cpp-headers.mm */ = {isa = PBXFileReference; includeInIndex = 1; path = "cpp-headers.mm"; sourceTree = "<group>"; };
+		A9F5B1F945F4C5B0A7018A0A2387B101 /* cpp-headers.mm */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.objcpp; path = "cpp-headers.mm"; sourceTree = "<group>"; };
 		AACE60EFC1A660CF10C691A6C1F191AB /* MovieListCellModel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = MovieListCellModel.m; sourceTree = "<group>"; };
 		ABC22E28433BB89070EB7E08AB010222 /* opencl_svm.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = opencl_svm.hpp; path = opencv2.framework/Versions/A/Headers/core/opencl/opencl_svm.hpp; sourceTree = "<group>"; };
 		AC06D2948EA51D189BF32F25DA893136 /* warp_shuffle.hpp */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.cpp.h; name = warp_shuffle.hpp; path = opencv2.framework/Versions/A/Headers/core/cuda/warp_shuffle.hpp; sourceTree = "<group>"; };
@@ -914,7 +920,6 @@
 				945A93D2704FC5124F096FD0C01E5BEB /* BaseViewTapGestureDelegate.h */,
 				5356D4198E190C400B23CF0C0124ABEE /* BaseViewTapGestureDelegate.m */,
 			);
-			name = GestureHandler;
 			path = GestureHandler;
 			sourceTree = "<group>";
 		};
@@ -972,7 +977,6 @@
 				F0091361036E037214A58062DD16AFF7 /* YYTextWeakProxy.m */,
 				8F47308E62B7B139E1B38ED2DFBA8AD6 /* Support Files */,
 			);
-			name = YYText;
 			path = YYText;
 			sourceTree = "<group>";
 		};
@@ -982,13 +986,14 @@
 				3C656E596AEEAD88C7CF6F16C1D1F431 /* PanoramaOrientationView.h */,
 				0B658456B1B2984F39BB79AE0C29A7BC /* PanoramaOrientationView.m */,
 			);
-			name = PanoramaOrientaionView;
 			path = PanoramaOrientaionView;
 			sourceTree = "<group>";
 		};
 		0E9ECDF1010EFDC97B119CD20C5948A5 /* UI */ = {
 			isa = PBXGroup;
 			children = (
+				2955D10029E5126B00304514 /* PCSAutherView.h */,
+				2955D10129E5126B00304514 /* PCSAutherView.m */,
 				6F249E1100744D6BACF4222EC15E8C25 /* PCSThemeColorManager.h */,
 				8BED18EC37FF6BB406B8A328F952809E /* PCSThemeColorManager.m */,
 				2330847AEB56748182D67A8683573C01 /* Button */,
@@ -1000,7 +1005,6 @@
 				F4CB69216E852E5BE1E86B0CEBF1C694 /* Transition */,
 				19CEE5653968049C3E8561993E3513A6 /* UIView+tool */,
 			);
-			name = UI;
 			path = UI;
 			sourceTree = "<group>";
 		};
@@ -1012,7 +1016,6 @@
 				5E4B266BD585D4F5133D6E588A82DA70 /* UIView+JKAdd.h */,
 				9D3326A3007D874205B40893EA3CFE62 /* UIView+JKAdd.m */,
 			);
-			name = "UIView+tool";
 			path = "UIView+tool";
 			sourceTree = "<group>";
 		};
@@ -1022,7 +1025,6 @@
 				5B1001037DEC018BCD5F7ADB9D38AFB5 /* PCSModeList.h */,
 				97B43859FBFAFDCFDF6436E952BAFDB3 /* PCSModeList.m */,
 			);
-			name = ModeListView;
 			path = ModeListView;
 			sourceTree = "<group>";
 		};
@@ -1036,7 +1038,6 @@
 				7D660DACAFE1FE48CFD4EAD7E90D9ABC /* VerticalButton.h */,
 				F974FA918443DCB35A0B7EE08207B908 /* VerticalButton.m */,
 			);
-			name = Button;
 			path = Button;
 			sourceTree = "<group>";
 		};
@@ -1058,7 +1059,6 @@
 				B4D25A57720FED5D490B8329026D9542 /* OperationNodeVideoBase.m */,
 				C0C275FD48BA9BAC5B3CE5349CED3412 /* PCSMotionManager */,
 			);
-			name = OperationNode;
 			path = OperationNode;
 			sourceTree = "<group>";
 		};
@@ -1070,7 +1070,6 @@
 				B315AC7DD4C969A0E9AAB9244C3B3E8E /* Renderer.h */,
 				D8EB35B2380C806D37146184BA831DD3 /* Renderer.m */,
 			);
-			name = Renderer;
 			path = Renderer;
 			sourceTree = "<group>";
 		};
@@ -1080,7 +1079,6 @@
 				10EEE0F0023FF9FAEF51DA382DF5A400 /* MoviePlayerViewController.h */,
 				A3FC769F1E5DE4CC64C4DF481839D065 /* MoviePlayerViewController.m */,
 			);
-			name = MoviePlayerViewController;
 			path = MoviePlayerViewController;
 			sourceTree = "<group>";
 		};
@@ -1093,7 +1091,6 @@
 				6CDD371E99332E22FBD8D51F8409095B /* PCSPreviewViewController.m */,
 				020F31974C34C83C7CE7B9C5E9DBDE14 /* GestureHandler */,
 			);
-			name = PCSBaseViewController;
 			path = PCSBaseViewController;
 			sourceTree = "<group>";
 		};
@@ -1120,7 +1117,6 @@
 				A8CAE5AEA0F4BC141EF8BF5692057E13 /* Resources */,
 				578582C15A1258A86F99A3E149B47BC0 /* Support Files */,
 			);
-			name = SVProgressHUD;
 			path = SVProgressHUD;
 			sourceTree = "<group>";
 		};
@@ -1130,7 +1126,6 @@
 				70286A4FEC98F83D0036EEDE95BC6F4E /* UIColor+JKAdd.h */,
 				24C466DCD5D26F8F1A95AFE5E7A10616 /* UIColor+JKAdd.m */,
 			);
-			name = color;
 			path = color;
 			sourceTree = "<group>";
 		};
@@ -1143,7 +1138,6 @@
 				99925C528BCDAEDA82E6BE0F19F34EBA /* LenzDataManager.m */,
 				BD5012888E163CD600AA02A99C5E8BE0 /* DBModels */,
 			);
-			name = DB;
 			path = DB;
 			sourceTree = "<group>";
 		};
@@ -1153,7 +1147,6 @@
 				8F4CBA73D909FAFBA52B0D5E1066F4E3 /* TensorFlowWrapper.h */,
 				8905E06243ADA18E17E2B2D83FE17D91 /* TensorFlowWrapper.m */,
 			);
-			name = TensorFlow;
 			path = TensorFlow;
 			sourceTree = "<group>";
 		};
@@ -1163,7 +1156,6 @@
 				9BBEE7B89746528F0C2DCFB43020260E /* CameraManager.h */,
 				16DB214179794264262709A1A5BA8B2F /* CameraManager.m */,
 			);
-			name = CameraManager;
 			path = CameraManager;
 			sourceTree = "<group>";
 		};
@@ -1181,7 +1173,6 @@
 				D2A129A0F73F0ADC986E1CB525B62E70 /* Cell */,
 				ED28808F8317651380EDB5DE87978946 /* CollectionViewCell */,
 			);
-			name = PhotoListController;
 			path = PhotoListController;
 			sourceTree = "<group>";
 		};
@@ -1203,7 +1194,6 @@
 				AC2E3E7E3794C6BE58DFE72E2B8B0363 /* PanoramaGuideView.h */,
 				8D4020EFF5D912EE82E03D562C9B5A45 /* PanoramaGuideView.m */,
 			);
-			name = PanoramaGuideView;
 			path = PanoramaGuideView;
 			sourceTree = "<group>";
 		};
@@ -1216,7 +1206,6 @@
 				F7D9819B5149B23177924CF7F309F765 /* QuitMultipleModeAlertViewController.m */,
 				6CEE913F5B1E591BC40A0FD8D95D001F /* QuitMultipleModeAlertViewController.xib */,
 			);
-			name = Alert;
 			path = Alert;
 			sourceTree = "<group>";
 		};
@@ -1316,7 +1305,6 @@
 				3A4051AB02912D5A48F9B1DB7AC62AE1 /* TimerLabel.h */,
 				0270589F18C4470D0CBC3AE8D21164FB /* TimerLabel.m */,
 			);
-			name = Label;
 			path = Label;
 			sourceTree = "<group>";
 		};
@@ -1338,7 +1326,6 @@
 				9E9A4CFE1E806FB27FF48B0A51F8FA29 /* ImageCacheLRU.h */,
 				173B90865B6A5496A853C37DC81AD581 /* ImageCacheLRU.m */,
 			);
-			name = LRU;
 			path = LRU;
 			sourceTree = "<group>";
 		};
@@ -1391,7 +1378,6 @@
 				A2C97AFCBD52302896DCE3AC8ABFBE5D /* Frameworks */,
 				F75E56D91EC0B21B205D165DDB5F1B5B /* Support Files */,
 			);
-			name = TensorFlowLite;
 			path = TensorFlowLite;
 			sourceTree = "<group>";
 		};
@@ -1687,7 +1673,6 @@
 				EFF942BBE0F3DD7A22178A31416D2DDF /* Frameworks */,
 				78E3D5CA530FE0BBE26EF4F634B54B85 /* Support Files */,
 			);
-			name = OpenCV2;
 			path = OpenCV2;
 			sourceTree = "<group>";
 		};
@@ -1703,7 +1688,6 @@
 				1CD46B6F9B531364668CE7368C934081 /* UIImage+ext.h */,
 				9E3D8540C60144CED386A442155ED9CF /* UIImage+ext.m */,
 			);
-			name = Exts;
 			path = Exts;
 			sourceTree = "<group>";
 		};
@@ -1713,7 +1697,6 @@
 				403FBB31E50BF7D8F0B08CC66A2EDCC6 /* LenzCachedResourceModel.h */,
 				D84C280CB71B838D2C2DE8305349F7F3 /* LenzCachedResourceModel.m */,
 			);
-			name = DBModels;
 			path = DBModels;
 			sourceTree = "<group>";
 		};
@@ -1723,7 +1706,6 @@
 				036CF813B01C669F91FB05F209C4069F /* PCSMotionManager.h */,
 				1429441378D663A8079FAB74C47D421E /* PCSMotionManager.m */,
 			);
-			name = PCSMotionManager;
 			path = PCSMotionManager;
 			sourceTree = "<group>";
 		};
@@ -1779,7 +1761,6 @@
 				A682665B0F2F184E8E8A631EADACC029 /* ViewController+MASAdditions.m */,
 				AA5651695ECA2551FE4073E9ED3512A9 /* Support Files */,
 			);
-			name = Masonry;
 			path = Masonry;
 			sourceTree = "<group>";
 		};
@@ -1796,7 +1777,6 @@
 				A4A786175AE33E5AE54203E6345C794B /* PhotoListCellModel.h */,
 				69CBF88ABBBBC462CA5D1C449D145791 /* PhotoListCellModel.m */,
 			);
-			name = Cell;
 			path = Cell;
 			sourceTree = "<group>";
 		};
@@ -1845,7 +1825,6 @@
 				D3D72F49864D574ED2F4DE64A528B138 /* PhotoCell.m */,
 				D631405D079AA018794E5D9BAEE301F1 /* PhotoCell.xib */,
 			);
-			name = CollectionViewCell;
 			path = CollectionViewCell;
 			sourceTree = "<group>";
 		};
@@ -1863,7 +1842,6 @@
 				18EE38B627F5098F5ACCD9BD7DC1A6A6 /* CustomModalViewTransition.h */,
 				E4DBE241924BDFED99EC4B2344074FB9 /* CustomModalViewTransition.m */,
 			);
-			name = Transition;
 			path = Transition;
 			sourceTree = "<group>";
 		};
@@ -1937,6 +1915,7 @@
 				68D11EC4E87DD1E987BF3F24AB3EAC34 /* PCSRoundButton.h in Headers */,
 				3FF2341E3641F61D3908B6C9AF045466 /* PCSSDF-prefix-header.h in Headers */,
 				5E9F867FA590BD75F20B4B5AA64A5940 /* PCSSessionWrapper.h in Headers */,
+				2955D10229E5126B00304514 /* PCSAutherView.h in Headers */,
 				5B931F9784BE81FF50D2A6C5F5BB7ECB /* PCSThemeColorManager.h in Headers */,
 				DB12BA3166665DD0A05CE44D151F1CAD /* PCSTools.h in Headers */,
 				46BEF10F4A3AB0DF8E7ABD90100CB00B /* PhotoAlbumListViewController.h in Headers */,
@@ -2238,6 +2217,7 @@
 				2243254801BD1818146D1BE595ED0093 /* LenzCachedResourceModel.m in Sources */,
 				285870722D6D6254EA4B07B08C5A4292 /* LenzCameraSDK.m in Sources */,
 				8455BC795264E85AD7AC4E0791E6FF0B /* LenzDataManager.m in Sources */,
+				2955D10329E5126B00304514 /* PCSAutherView.m in Sources */,
 				7CB59C095A80B611E7FEA0238981B5B0 /* LenzSDK-dummy.m in Sources */,
 				CE37FEA495CB7228E50E66CA11B06307 /* Localizable.strings in Sources */,
 				90EC1C801997F93FAC2CEE8C80941219 /* Localizable.strings in Sources */,
@@ -2614,8 +2594,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 - 1
Example/Pods/Target Support Files/LenzSDK/ResourceBundle-LenzCameraNativeModuleForRN-LenzSDK-Info.plist

@@ -13,7 +13,7 @@
   <key>CFBundlePackageType</key>
   <string>BNDL</string>
   <key>CFBundleShortVersionString</key>
-  <string>1.1.3</string>
+  <string>1.1.4</string>
   <key>CFBundleSignature</key>
   <string>????</string>
   <key>CFBundleVersion</key>

+ 22 - 0
LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "icon_match_filter_close@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "icon_match_filter_close@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/icon_match_filter_close@2x.png


BIN
LenzCameraNativeModuleForRN/Assets/assets.xcassets/icon_close.imageset/icon_match_filter_close@3x.png


+ 74 - 31
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSBaseViewController.m

@@ -51,6 +51,7 @@
 #import "LenzDataManager.h"
 #import "PCSPreviewViewController.h"
 #import "SVProgressHUD.h"
+#import "PCSAutherView.h"
 
 #import <LenzTensorFlowSDK/LenzTensorFlow.h>
 
@@ -130,6 +131,7 @@
 @property (nonatomic) BOOL isContainSingleInReatinMode;
 @property (nonatomic) UILabel *aiPanPromtLabel;
 
+@property (nonatomic) PCSAutherView *authView;
 @end
 
 @implementation PCSBaseViewController
@@ -178,6 +180,10 @@
         make.width.mas_offset(240);
         make.height.mas_offset(20);
     }];
+    [self.view addSubview:self.authView];
+    [self.authView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.edges.mas_offset(0);
+    }];
     if (!JK_IS_IPHONE_X) {
         self.safeBottom.constant = 25;
         self.safeTop.constant = 15;
@@ -388,7 +394,13 @@
         make.height.mas_offset(200);
     }];
 }
-
+- (PCSAutherView *)authView {
+    if (!_authView) {
+        _authView = [[PCSAutherView alloc]init];
+        _authView.hidden = YES;
+    }
+    return _authView;
+}
 - (void)viewWillAppear:(BOOL)animated{
     [super viewWillAppear:animated];
     self.panGesture.enabled = YES;
@@ -452,8 +464,11 @@
                 break;
         }
     }
-    
-    [self showAuthorCamerIfNeed];
+    if (![self showAuthBoth]) {
+        if (![self showAuthorCamerIfNeed]) {
+            [self showAudioCamerIfNeed];
+        }
+    }
 }
 
 - (void)viewWillDisappear:(BOOL)animated{
@@ -766,7 +781,8 @@
     [_photoOutput setPhotoSettingsForSceneMonitoring:_outputSettings];
     
     _previewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession:self.captureSession];
-    
+    _previewLayer.videoGravity = AVLayerVideoGravityResizeAspectFill;
+
     NSMutableArray* nodesArr = [NSMutableArray array];
     NSMutableDictionary* nodesDic = [NSMutableDictionary dictionary];
     __block SDKCaptureModeIndex defaultModeIndex = SDK_CAPTURE_MODE_CONTINUOUS;
@@ -976,7 +992,12 @@
 }
 
 - (void)takeStillPhoto:(AVCaptureVideoPreviewLayer*)previewLayer {
-    if ([self showAuthorCamerIfNeed]) {
+
+    if (![self showAuthBoth]) {
+        if ([self showAuthorCamerIfNeed] || [self showAudioCamerIfNeed]) {
+            return;
+        }
+    } else {
         return;
     }
     AVCaptureConnection *connection = [self.photoOutput connectionWithMediaType:AVMediaTypeVideo];
@@ -1067,22 +1088,49 @@
 - (void)showAlertForAuthorization{
     [self showAlertForAuthorizationWithText:@"请在系统设置里打开摄像机访问权限后重试"];
 }
+
+- (BOOL)showAuthBoth {
+    __block BOOL showVideoAlert = NO;
+    AVAuthorizationStatus staus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
+    switch (staus) {
+        case AVAuthorizationStatusDenied:{
+            showVideoAlert =  YES;
+            break;
+        }
+        default:
+            showVideoAlert = NO;
+            break;
+    }
     
-- (BOOL)showAuthorCamerIfNeed {
     __block BOOL showAlert = NO;
-    switch ([AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo]) {
+    
+    switch ([AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeAudio]) {
 
-        case AVAuthorizationStatusNotDetermined:{
-            [AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo completionHandler:^(BOOL granted) {
-                if(!granted){
-                    [self showAlertForAuthorizationWithText:@"请在系统设置里打开摄像机访问权限后重试"];
-                    showAlert = YES;
-                }
-            }];
+        case AVAuthorizationStatusDenied:{
+            showAlert =  YES;
             break;
         }
+
+        default:
+            showAlert = NO;
+            break;
+    }
+    if (showVideoAlert && showAlert) {
+        [self.authView showAutherWith:PCSAuthPhoneAndMir];
+        return  YES;
+    }
+    return NO;
+    
+}
+    
+- (BOOL)showAuthorCamerIfNeed {
+    __block BOOL showAlert = NO;
+    AVAuthorizationStatus staus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
+    switch (staus) {
         case AVAuthorizationStatusDenied:{
-            [self showAlertForAuthorizationWithText:@"请在系统设置里打开摄像机访问权限后重试"];
+            [self.authView showAutherWith:PCSAuthPhone];
+
+//            [self showAlertForAuthorizationWithText:@"请在系统设置里打开摄像机访问权限后重试"];
             showAlert =  YES;
             break;
         }
@@ -1098,19 +1146,10 @@
     
     switch ([AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeAudio]) {
 
-        case AVAuthorizationStatusNotDetermined:{
-            [AVCaptureDevice requestAccessForMediaType:AVMediaTypeAudio completionHandler:^(BOOL granted) {
-                if(!granted){
-                    [self setupMicrophone];
-                    [self showAlertForAuthorizationWithText:@"请在系统设置里打开麦克风访问权限后重试"];
-                    showAlert = YES;
-                }
-
-            }];
-            break;
-        }
         case AVAuthorizationStatusDenied:{
-            [self showAlertForAuthorizationWithText:@"请在系统设置里打开麦克风访问权限后重试"];
+            [self.authView showAutherWith:PCSAuthMir];
+
+//            [self showAlertForAuthorizationWithText:@"请在系统设置里打开麦克风访问权限后重试"];
             showAlert =  YES;
             break;
         }
@@ -1129,16 +1168,20 @@
 }
 
 - (BOOL)startRecording{
-    if ([self showAuthorCamerIfNeed]) {
-        return NO;
-    }
-    if ([self showAudioCamerIfNeed]) {
+
+    if (![self showAuthBoth]) {
+        if ([self showAuthorCamerIfNeed] || [self showAudioCamerIfNeed]) {
+            return NO;
+        }
+    } else {
         return NO;
     }
+    
     if(self.movieFileOutput.isRecording){
         return NO;
     }
     
+    
     [[SDKParameters shared].items enumerateObjectsUsingBlock:^(SDKParametersItem * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
         if (obj.model == self.mode) {
             self.movieFileOutput.maxRecordedDuration = CMTimeMake(obj.limitRecordTime, 1);

+ 16 - 6
LenzCameraNativeModuleForRN/Classes/inner/PCSBaseViewController/PCSPreviewViewController.m

@@ -97,7 +97,7 @@
     if (!_player) {
         _player = [[AVPlayerViewController alloc]init];
         _player.view.hidden = YES;
-        _player.videoGravity = AVLayerVideoGravityResizeAspect;
+        _player.videoGravity = AVLayerVideoGravityResizeAspectFill;
     }
     return _player;
 }
@@ -255,17 +255,22 @@
     [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 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];
 }
 
+//- (void)viewDidLayoutSubviews{
+//    [self.view layoutIfNeeded];
+//    [self.collectionView scrollToItemAtIndexPath:self.currentIndexPath atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:NO];
+//}
+
 - (UIImageView *)lineImageView {
     if (!_lineImageView) {
         _lineImageView = [[UIImageView alloc]init];
@@ -478,6 +483,11 @@
     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];
 

+ 27 - 0
LenzCameraNativeModuleForRN/Classes/inner/UI/PCSAutherView.h

@@ -0,0 +1,27 @@
+//
+//  PCSAutherView.h
+//  LenzSDK
+//
+//  Created by lr on 2023/4/11.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+typedef NS_ENUM(NSInteger, PCSAuthType) {
+    PCSAuthPhoneAndMir,
+    PCSAuthPhone,
+    PCSAuthMir
+    
+};
+
+@interface PCSAutherView : UIView
+
+
+- (void)showAutherWith:(PCSAuthType)type;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 116 - 0
LenzCameraNativeModuleForRN/Classes/inner/UI/PCSAutherView.m

@@ -0,0 +1,116 @@
+//
+//  PCSAutherView.m
+//  LenzSDK
+//
+//  Created by lr on 2023/4/11.
+//
+
+#import "PCSAutherView.h"
+#import "UIImage+name.h"
+#import <Masonry/Masonry.h>
+
+
+@interface PCSAutherView()
+
+@property (nonatomic) UIView *centerView;
+@property (nonatomic) UIButton *closeButton;
+@property (nonatomic) UILabel *titleLabel;
+@property (nonatomic) UILabel *subLabel;
+@property (nonatomic) UILabel *autherLabel;
+
+@end
+
+@implementation PCSAutherView
+
+- (instancetype)initWithFrame:(CGRect)frame {
+    if (self = [super initWithFrame:frame]) {
+        self.backgroundColor = [UIColor whiteColor];
+        
+        [self addSubview:self.closeButton];
+        [self.closeButton mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.top.mas_offset(64);
+            make.right.mas_offset(-10);
+            make.width.height.mas_offset(44);
+        }];
+        [self addSubview:self.titleLabel];
+        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.center.mas_equalTo(self);
+        }];
+        [self addSubview:self.subLabel];
+        [self.subLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.centerX.mas_equalTo(self).mas_offset(-30);
+            make.top.mas_equalTo(self.titleLabel.mas_bottom).mas_offset(8);
+        }];
+        [self addSubview:self.autherLabel];
+        [self.autherLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.left.mas_equalTo(self.subLabel.mas_right);
+            make.centerY.mas_equalTo(self.subLabel);
+            make.width.mas_offset(70);
+            make.height.mas_offset(44);
+        }];
+    }
+    return self;
+}
+
+- (void)closeAction {
+    self.hidden = YES;
+}
+- (void)authButtonAction {
+    NSURL* url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
+    if(url != nil){
+        [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:^(BOOL success) {
+        }];
+    }
+}
+- (void)showAutherWith:(PCSAuthType)type {
+    NSString *title = @"需要访问相机和麦克风权限,";
+    if (type == PCSAuthPhone) {
+        title = @"需要访问相机权限,";
+    } else if (type == PCSAuthMir) {
+        title = @"需要访问麦克风权限,";
+    }
+    self.hidden = NO;
+    self.subLabel.text = title;
+}
+- (UIButton *)closeButton {
+    if (!_closeButton) {
+        _closeButton = [[UIButton alloc]init];
+        [_closeButton setImage:[UIImage loadNamed:@"icon_close"] forState:UIControlStateNormal];
+        [_closeButton addTarget:self action:@selector(closeAction) forControlEvents:UIControlEventTouchUpInside];
+    }
+    return _closeButton;
+}
+- (UILabel *)titleLabel {
+    if (!_titleLabel) {
+        _titleLabel = [[UILabel alloc]init];
+        _titleLabel.text = @"未获得授权";
+        _titleLabel.textColor = [UIColor blackColor];
+        _titleLabel.font = [UIFont systemFontOfSize:14];
+    }
+    return _titleLabel;
+}
+- (UILabel *)subLabel {
+    if (!_subLabel) {
+        _subLabel = [[UILabel alloc]init];
+        _subLabel.textColor = [UIColor blackColor];
+        _subLabel.font = [UIFont systemFontOfSize:14];
+    }
+    return _subLabel;
+}
+- (UILabel *)autherLabel {
+    if (!_autherLabel) {
+        _autherLabel = [[UILabel alloc]init];
+        _autherLabel.textColor = [UIColor blackColor];
+        _autherLabel.font = [UIFont systemFontOfSize:14];
+        _autherLabel.text = @"去开启 >";
+        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(authButtonAction)];
+        [_autherLabel addGestureRecognizer:tap];
+        _autherLabel.textAlignment = NSTextAlignmentLeft;
+        _autherLabel.textColor = [UIColor colorWithRed:231/255.0 green:108/255.0 blue:30/255.0 alpha:1];
+        _autherLabel.userInteractionEnabled = YES;
+    }
+    return _autherLabel;
+}
+
+
+@end

+ 1 - 1
LenzSDK.podspec

@@ -8,7 +8,7 @@
 
 Pod::Spec.new do |s|
   s.name             = 'LenzSDK'
-  s.version          = '1.1.4'
+  s.version          = '1.1.6'
   s.summary          = 'A short description of LenzSDK.'
 
 # This description is used to generate tags and improve search results.

+ 0 - 55
LenzSDK/1.0.0/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.0'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.1/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.1'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.3/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.3'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.4/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.4'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.5/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.5'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.6/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.6'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.7/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.7'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.8/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.8'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.0.9/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.0.9'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.1.0/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.1.0'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 55
LenzSDK/1.1.1/LenzSDK.podspec

@@ -1,55 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.1.1'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 56
LenzSDK/1.1.2/LenzSDK.podspec

@@ -1,56 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.1.2'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  s.libraries = "sqlite3", "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  s.dependency "OpenCV"
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 0 - 58
LenzSDK/1.1.3/LenzSDK.podspec

@@ -1,58 +0,0 @@
-#
-# Be sure to run `pod lib lint LenzCameraNativeModuleForRN.podspec' to ensure this is a
-# valid spec before submitting.
-#
-# Any lines starting with a # are optional, but their use is encouraged
-# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
-#
-
-Pod::Spec.new do |s|
-  s.name             = 'LenzSDK'
-  s.version          = '1.1.3'
-  s.summary          = 'A short description of LenzSDK.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
-  s.description  = "this  is the long description"
-
-  s.homepage         = 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git'
-  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
-  s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { '76930516@qq.com' => 'wangzhaowei1991@gmail.com' }
-  s.source           = { :git => 'http://39.96.8.150:10080/l405023944/LenzSDK_iOS.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  # s.platform     = :ios, "11.0"
-  s.ios.deployment_target = '11.0'
-
-  s.source_files = 'LenzCameraNativeModuleForRN/Classes/**/*'
-  
-  s.resource_bundles = {
-    'LenzCameraNativeModuleForRN' => ['LenzCameraNativeModuleForRN/Assets/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings,tflite}', 'LenzCameraNativeModuleForRN/Classes/inner/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,strings}']
-  }
-
-  s.public_header_files = 'LenzCameraNativeModuleForRN/Classes/headers/*.h'
-  # s.ios.public_header_files = 
-  s.frameworks = 'UIKit', 'MapKit', 'WebKit', 'AdSupport', 'Accelerate' ,'MediaPlayer', 'CoreData', 'SystemConfiguration' ,'CoreServices' ,'AssetsLibrary' ,'CoreTelephony' ,'CoreMotion' ,'Photos' ,'AVFoundation' ,'CoreMedia'
-  # s.dependency 'AFNetworking', '~> 2.3'
-  # s.static_framework = true 
-  # s.prefix_header_contents = '#import "PCSSDF-prefix-header.h"'
-  s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlowSDK.framework', "opencv2.framework", "LenzStitchSDK.framework"
-  # s.vendored_frameworks = 'LenzTensorFlow.framework'
-  # s.preserve_path = 'LenzCameraNativeModuleForRN/Frameworks/*'
-  # s.libraries = "sqlite3", "c++", "z"
-  s.libraries = "c++", "z"
-  s.dependency "Masonry", '1.1.0'
-  s.dependency 'YYText'
-  s.dependency 'SVProgressHUD', '~> 2.2.5'
-  # s.dependency "OpenCV"
-  s.dependency 'OpenCV2', '~> 4.3.0'
-  s.dependency "TensorFlowLite", '~> 1.13.1'
-  # s.dependency "LenzTensorFlow"
-
-end

+ 1 - 0
LenzStitchSDK.framework/Headers/LenStitcher.h

@@ -6,6 +6,7 @@
 //
 
 
+#import "lenz_stitch_jni.hpp"
 
 #import <Foundation/Foundation.h>
 #import <CoreMedia/CoreMedia.h>

+ 54 - 0
LenzStitchSDK.framework/Headers/lenz_stitch_jni.hpp

@@ -0,0 +1,54 @@
+//
+//  lenz_stitch_jni.hpp
+//  LenzCameraNativeModuleForRN
+//
+//  Created by lr on 2023/2/8.
+//
+
+#ifndef lenz_stitch_jni_hpp
+#define lenz_stitch_jni_hpp
+
+
+#if __cplusplus && __has_include(<opencv2/imgcodecs/ios.h>)
+
+#import <opencv2/core/ocl.hpp>
+#import <opencv2/opencv.hpp>
+
+//using namespace cv;
+//using namespace std;
+
+
+/**
+ * 输入:
+ *      jlong image: 帧数据
+ *      jint direction:当前选定的拼接方向,0异形拼,1上,2下,3左,4右
+ *      jint is_last_one: 是否为最后一帧, 0不是,1是
+ * 输出:
+ *      jintArray: [拼接状态,是否需要存图]
+ *       拼接状态:
+ *          -1: 拍摄完成后拼接大图失败
+ *          0: 拍摄过程中产生拼接缩略图失败
+ *          1: 拼接成功
+ *          2: 特征点变少,放慢速度
+ *          3: 特征点极少,即将失败
+ *          4:当前拍摄固定了方向,请勿往反方向移动
+ *       是否需要存图:
+ *          0:不需要
+ *          1:需要
+*/
+int* videoStitch(cv::Mat mat, int direction, int is_last_one);
+
+
+int resetStitch(const char * input_path);
+const char * getCurrentPanoramaShow(void);
+
+const char* getTestCurrentPanoramaShow(void);
+
+cv::Mat getCurrentPanoramsShowMat(void);
+
+#endif
+
+
+#endif
+
+

BIN
LenzStitchSDK.framework/LenzStitchSDK


BIN
LenzStitchSDK.framework/_CodeSignature/CodeDirectory


BIN
LenzStitchSDK.framework/_CodeSignature/CodeRequirements-1


+ 18 - 7
LenzStitchSDK.framework/_CodeSignature/CodeResources

@@ -4,18 +4,18 @@
 <dict>
 	<key>files</key>
 	<dict>
-		<key>.DS_Store</key>
-		<data>
-		xbR36oFaX4RbsJ9NEPj4Y5aiiIg=
-		</data>
 		<key>Headers/LenStitcher.h</key>
 		<data>
-		rt68LzfniiYGlXHxCHvl0gDZ08c=
+		ljX5iTQFL5YQLaqsx3tCFcOmqJY=
 		</data>
 		<key>Headers/LenzStitchSDK.h</key>
 		<data>
 		RMe44eCzrKJTE9nTRD8UO3AB10Q=
 		</data>
+		<key>Headers/lenz_stitch_jni.hpp</key>
+		<data>
+		BiWMBnP4j0+CuhQUrzL60L65CHc=
+		</data>
 		<key>Info.plist</key>
 		<data>
 		n6WyF8fk/Dh5HVNvsEvKPMpuN2Y=
@@ -31,11 +31,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			rt68LzfniiYGlXHxCHvl0gDZ08c=
+			ljX5iTQFL5YQLaqsx3tCFcOmqJY=
 			</data>
 			<key>hash2</key>
 			<data>
-			oxtbdooI+HgLBH4GVEc+FxMAUQtXRp/nwlw0JGf671E=
+			UCrQxHSG5OeQT8JJ+Bsj/dt5TMK/EmT9tcXAKV7T2Dk=
 			</data>
 		</dict>
 		<key>Headers/LenzStitchSDK.h</key>
@@ -49,6 +49,17 @@
 			0keL/AhXFJfwj55eI7XGoyxjMTKJyDyE8uElkmZoLgw=
 			</data>
 		</dict>
+		<key>Headers/lenz_stitch_jni.hpp</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			BiWMBnP4j0+CuhQUrzL60L65CHc=
+			</data>
+			<key>hash2</key>
+			<data>
+			XXLOZB3e0u9OU3Qqoad7mMTT7hgvQcpE4kDHoqMrF0A=
+			</data>
+		</dict>
 		<key>Modules/module.modulemap</key>
 		<dict>
 			<key>hash</key>

BIN
LenzStitchSDK.framework/_CodeSignature/CodeSignature