我想在反应原生中实现面部检测。我想在本机中添加CameraViewController Demo。 CameraView控制器源代码位于:https://github.com/googlesamples/ios-vision/blob/master/FaceDetectorDemo/FaceDetector/CameraViewController.m
import Foundation
@objc(SampleViewManager)
class SampleViewManager : RCTViewManager {
override func view() -> UIView! {
// UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Sample" bundle: nil];
// //
// UIViewController *vc = [storyboard instantiateInitialViewController];
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateInitialViewController()!
return vc.view;
}
}
但发生了错误:无法加载"相机"从标识符
的包中的nib引用的图像请帮助我如何在本地反应中实现面部检测。