예제 #1
0
 public void Init()
 {
     Extractor = new HandExtractorCaffe(new IntPoint(InputSize, InputSize), new IntPoint(InputSize, InputSize), ModelDirectory, GPUID);
     Extractor.initializationOnThread();
     Extractor.netInitializationOnThread();
 }
예제 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HandExtractorCaffe obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #3
0
 public void Dispose()
 {
     Extractor?.Dispose();
     Extractor = null;
 }