DL_LocatePoints


Module: DeepLearning

Executes a Locate Points model on a single input image.

Name Type Range Description
inImage Image Input image
inRoi Region* Limits the area where points may be located
inModelId LocatePointsModelId Identifier of a Locate Points model
inMinDetectionScore Real 0.0 - 1.0 Sets a minimum required score for a point to be returned
inMinDistanceRatio Real* 0.01 - 1.0 Sets a minimum distance between the returned points defined as a portion of the Feature Size. If not set, a value determined during the training is used
inOverlap Bool Cuts the image into more overlapping tiles, which improves results quality at the expense of extended execution time
outLocations LocationArray Returns location of the found points
outClassIds IntegerArray Returns ids of the found point classes
outClassNames StringArray Returns names of the found point classes
outScores RealArray Returns scores of the found points

Requirements

For input inImage only pixel formats are supported: 1⨯uint8, 3⨯uint8.

Read more about pixel formats in Image documentation.

Hints

  • It is recommended that the deep learning model is deployed with DL_LocatePoints_Deploy first and connected through the inModelId input.
  • If one decides not to use DL_LocatePoints_Deploy, then the model will be loaded in the first iteration. It will take up to several seconds.
  • Use inOverlap=False to increase execution speed at a cost of lower precision of results.

Remarks

This filter should not be executed along with running Deep Learning Service as it may result in degraded performance or even out-of-memory errors. However, if stopping Deep Learning Service is not an option (e.g. program uses other Deep Learning filters related to Instances Segmentation) it is advised that this filter should be executed at least once before performing operations utilizing Deep Learning Service (e.g. executing filters related to Instances Segmentation). Such "warm up" execution does not have to use real image or roi as long as provided image and roi have similar size.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in DL_LocatePoints.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also