Mech-DLK SDK (C#) 3.0.0
Mech-DLK SDK (C#) Reference Documentation
 
Loading...
Searching...
No Matches
MMindInferEngineWrapper.h
Go to the documentation of this file.
1#pragma once
2
3#include "interface/MMindInferEngine.h"
4#include "MMindImageWrapper.h"
5#include "DataStructures.h"
6
7using namespace System;
8using namespace System::Collections::Generic;
9
10namespace Mmind {
11namespace Dl {
12
16 public ref class MMindInferEngine : IDisposable
17 {
18 private:
19 mmind::dl::MMindInferEngine* _nativeEngine;
20 bool _disposed;
21
22 public:
27
32
37
42 void Create(String^ dlkpackPath);
43
47 void Release();
48
54
60 StatusCode Infer(List<MMindImage^>^ images);
61
67 StatusCode ResultVisualization(List<MMindImage^>^ images);
68
75 StatusCode GetModuleResult(String^ moduleName, [System::Runtime::InteropServices::Out] List<MMindResult^>^% results);
76
81 List<String^>^ ModuleNames();
82
89 StatusCode ModuleResultVisualization(String^ moduleName, List<MMindImage^>^ images);
90
97 };
98
99}} // namespace Mmind::Dl
void Release()
Release the engine resources.
MMindInferEngine()
Constructor.
void Create(String^ dlkpackPath)
Create engine with model package path.
StatusCode ModuleResultVisualization(String^ moduleName, List< MMindImage^>^ images)
Apply module-specific result visualization to images (modifies images in-place)
StatusCode Load()
Load the model into memory.
StatusCode ResultVisualization(List< MMindImage^>^ images)
Apply result visualization to images (modifies images in-place)
StatusCode GetModuleResult(String^ moduleName, [System::Runtime::InteropServices::Out] List< MMindResult^>^% results)
Get results from a specific module.
static MBlobValue BlobValueFromContour(MContour contour)
Compute blob measurement values from a contour.
List< String^> ModuleNames()
Get all module names in the loaded model package.
StatusCode Infer(List< MMindImage^>^ images)
Perform inference on images.
StatusCode
Status codes for MechMind DL SDK operations.
Definition Enums.h:12
Blob measurement values computed from a contour.
Contour structure.