///
/// VisionCameraFaceDetectionAutolinking.mm
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#import <Foundation/Foundation.h>
#import <NitroModules/HybridObjectRegistry.hpp>
#import "VisionCameraFaceDetection-Swift-Cxx-Umbrella.hpp"
#import <type_traits>

#include "HybridFaceScannerFactorySpecSwift.hpp"
#include "HybridTensorFactorySpecSwift.hpp"

@interface VisionCameraFaceDetectionAutolinking : NSObject
@end

@implementation VisionCameraFaceDetectionAutolinking

+ (void) load {
  using namespace margelo::nitro;
  using namespace margelo::nitro::visioncamerafacedetection;

  HybridObjectRegistry::registerHybridObjectConstructor(
    "FaceScannerFactory",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridFaceScannerFactorySpec> hybridObject = VisionCameraFaceDetection::VisionCameraFaceDetectionAutolinking::createFaceScannerFactory();
      return hybridObject;
    }
  );
  HybridObjectRegistry::registerHybridObjectConstructor(
    "TensorFactory",
    []() -> std::shared_ptr<HybridObject> {
      std::shared_ptr<HybridTensorFactorySpec> hybridObject = VisionCameraFaceDetection::VisionCameraFaceDetectionAutolinking::createTensorFactory();
      return hybridObject;
    }
  );
}

@end
