EasyLocateInference¶
Support |
|
|---|---|
Required licenses |
EasyLocate |
Recommended images |
In the Deep Learning Additional Resources, the images from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Perform an inference with EasyLocate.
Display the results.
Code highlights¶
In the Deep Learning Additional Resources, use:
For EasyLocate Axis Aligned Bounding Box:
Images:
EasyLocate/ElectronicComponentsBag/ImagesTool:
EasyLocate/ElectronicComponentsBag/Tool 1/ElectronicComponentsBag.edltool
For EasyLocate Interest Point:
Images:
EasyLocate/CeramicCapa/ImagesTool:
EasyLocate/CeramicCapa/Tool 1/CeramicCapa.edltool
Apply the EasyLocate tool on an image.
ELocatorResult m_Result = m_Locator->Apply(m_Img);
Draw the image.
if (!pDoc->m_Img.IsVoid()) { pDoc->m_Img.Draw(drawAdapter, 2.f, 2.f, -20, -20); }
Draw the detected bounding boxes or interest points.
pDoc->m_Result.Draw(drawAdapter, true, true, 2.f, 2.f, -20, -20);