Exemple #1
0
        public void Initialize(IrCameraHandle handle, ImageTransferProcessorFormat format)
        {
            ImageTransferProcessorExConfig config = new ImageTransferProcessorExConfig();

            ImageTransferProcessor.GetDefaultConfig(ref config);
            Initialize(handle, config);
        }
Exemple #2
0
 public void Initialize(IrCameraHandle handle, ImageTransferProcessorConfig config)
 {
     Initialize(handle, new ImageTransferProcessorExConfig()
     {
         origFormat     = config.format,
         trimmingFormat = config.format,
         irCameraConfig = config.irCameraConfig
     });
 }
Exemple #3
0
 public void Initialize(IrCameraHandle handle, ImageTransferProcessorExConfig config)
 {
     this.handle = handle;
     if (pWorkBuffer != IntPtr.Zero)
     {
         _Destroy();
     }
     this.config = config;
     ImageTransferProcessor.InitializeWorkBuffer(ref pWorkBuffer, ref workBufferSize, config);
     ImageBuffer = new byte[ImageTransferProcessor.GetImageSize(config.trimmingFormat)];
 }
 public static extern void Stop(IrCameraHandle handle);                      // 0x0114FDA0-0x0114FDB0
 public static extern void StopAsync(IrCameraHandle handle);                 // 0x0114FDB0-0x0114FDC0
 public static extern Result GetState(ref ImageTransferProcessorState pOutState, IntPtr pOutImage, long size, IrCameraHandle handle);
 public static extern Result CheckFirmwareUpdateNecessity([MarshalAs(UnmanagedType.U1)] ref bool pOutIsUpdateNeeded, IrCameraHandle handle);
 public static extern void Finalize(IrCameraHandle handle);
Exemple #8
0
 public static extern ImageProcessorStatus GetStatus(IrCameraHandle handle);
 private static extern nn.Result GetImageState(
     [In, Out] HandAnalysisImageState[] pOutStateArray, [In, Out] ushort[] pOutImageArray, ref int pReturnCount,
     int maxCount, long infSamplingNumber, IrCameraHandle handle);
Exemple #10
0
 public static extern void GetDefaultConfig(ref ClusteringProcessorConfig pOutValue);                                                      // 0x01146820-0x01146830
 public static extern void Run(IrCameraHandle handle, ClusteringProcessorConfig config);                                                   // 0x01146830-0x01146870
Exemple #11
0
 public static extern Result GetImageState(ref HandAnalysisImageState pOutState, [In, Out] ushort[] pOutImageBuffer, IrCameraHandle handle);                                                                                      // 0x0114CA90-0x0114CAC0
 public static Result GetImageState(HandAnalysisImageState[] pOutStateArray, ushort[] pOutImageArray, ref int pReturnCount, long infSamplingNumber, IrCameraHandle handle) => default;                                            // 0x0114CAC0-0x0114CB00
Exemple #12
0
 public static extern Result GetSilhouetteState(ref HandAnalysisSilhouetteState pOutState, [In, Out] Float2[] pOutPointBuffer, IrCameraHandle handle);                                                                            // 0x0114CA10-0x0114CA40
 public static Result GetSilhouetteState(HandAnalysisSilhouetteState[] pOutStateArray, Float2[][] pOutPointArray, ref int pReturnCount, long infSamplingNumber, IrCameraHandle handle) => default;                                // 0x0114CA40-0x0114CA50
Exemple #13
0
 private static extern Result GetSilhouetteState([In, Out] HandAnalysisSilhouetteState[] pOutValueArray, ref int pReturnCount, int maxCount, long infSamplingNumber, IrCameraHandle handle);                                      // 0x0114C9E0-0x0114CA10
 public static extern Result GetSilhouetteState(ref HandAnalysisSilhouetteState pOutState, [In, Out] Float2[] pOutPointBuffer, IrCameraHandle handle);                                                                            // 0x0114CA10-0x0114CA40
Exemple #14
0
 public static Result GetSilhouetteState(HandAnalysisSilhouetteState[] pOutValueArray, ref int pReturnCount, long infSamplingNumber, IrCameraHandle handle) => default;                                                           // 0x0114C9A0-0x0114C9E0
 private static extern Result GetSilhouetteState([In, Out] HandAnalysisSilhouetteState[] pOutValueArray, ref int pReturnCount, int maxCount, long infSamplingNumber, IrCameraHandle handle);                                      // 0x0114C9E0-0x0114CA10
Exemple #15
0
 public static extern Result GetSilhouetteState(ref HandAnalysisSilhouetteState pOutValue, IrCameraHandle handle);                                                                                                                // 0x0114C980-0x0114C9A0
 public static Result GetSilhouetteState(HandAnalysisSilhouetteState[] pOutValueArray, ref int pReturnCount, long infSamplingNumber, IrCameraHandle handle) => default;                                                           // 0x0114C9A0-0x0114C9E0
 public static extern nn.Result GetImageState(
     ref HandAnalysisImageState pOutState, [In, Out] ushort[] pOutImageBuffer,
     IrCameraHandle handle);
 public static nn.Result GetImageState(
     HandAnalysisImageState[] pOutStateArray, ushort[] pOutImageArray, ref int pReturnCount,
     long infSamplingNumber, IrCameraHandle handle)
 {
     return(GetImageState(pOutStateArray, pOutImageArray, ref pReturnCount, pOutStateArray.Length, infSamplingNumber, handle));
 }
Exemple #18
0
 public static extern void Run(IrCameraHandle handle, ClusteringProcessorConfig config);                                                   // 0x01146830-0x01146870
 public static extern Result GetState(ref ClusteringProcessorState pOutValue, IrCameraHandle handle);                                      // 0x01146870-0x01146890
Exemple #19
0
 public static extern void StopAsync(IrCameraHandle handle);
Exemple #20
0
 public static extern Result GetState(ref ClusteringProcessorState pOutValue, IrCameraHandle handle);                                      // 0x01146870-0x01146890
 public static extern Result GetStates(out ClusteringProcessorState[] pOutStates, ref int pOutCount, int countMax, IrCameraHandle handle); // 0x01146890-0x01146F50
 public static extern void Initialize(IrCameraHandle handle);
 public static extern nn.Result Run(IrCameraHandle handle, HandAnalysisConfig config);
 public static extern IrCameraStatus GetStatus(IrCameraHandle handle);
 public static extern nn.Result GetSilhouetteState(ref HandAnalysisSilhouetteState pOutValue, IrCameraHandle handle);
 public static extern void Run(IrCameraHandle handle, ImageTransferProcessorExConfig config, IntPtr workBuffer, long workBufferSize);
 public static extern nn.Result GetSilhouetteState(
     ref HandAnalysisSilhouetteState pOutState, [In, Out] nn.util.Float2[] pOutPointBuffer,
     IrCameraHandle handle);
 // Methods
 public static extern void Stop(IrCameraHandle handle);                      // 0x0114FDA0-0x0114FDB0
 public static nn.Result GetSilhouetteState(
     HandAnalysisSilhouetteState[] pOutStateArray, nn.util.Float2[][] pOutPointArray, ref int pReturnCount,
     long infSamplingNumber, IrCameraHandle handle)
 {
     return(GetSilhouetteState(pOutStateArray, pOutPointArray, ref pReturnCount, pOutStateArray.Length, infSamplingNumber, handle));
 }
 public static extern void StopAsync(IrCameraHandle handle);                 // 0x0114FDB0-0x0114FDC0
 public static extern ImageProcessorStatus GetStatus(IrCameraHandle handle); // 0x0114FDC0-0x0114FDD0
 private static extern nn.Result GetSilhouetteState(
     [In, Out] HandAnalysisSilhouetteState[] pOutStateArray, [In, Out] nn.util.Float2[][] pOutPointArray, ref int pReturnCount,
     int maxCount, long infSamplingNumber, IrCameraHandle handle);