Back to Adaptive Vision Library website
You are here: Start » Function Reference » Deep Learning » DeepLearning_ClassifyFeatures
DeepLearning_ClassifyFeatures
Performs feature classification using trained deep-learning model.
Syntax
C++
C#
void avl::DeepLearning_ClassifyFeatures ( const avl::Image& inImage, const atl::Optional<avl::Region>& inRoi, const avl::DeepModel& inDeepModel, const bool& inOverlap, atl::Array<avl::Image>& outHeatmaps, avl::Image& outFeature1, avl::Image& outFeature2, avl::Image& outFeature3, avl::Image& outFeature4 )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | const Optional<Region>& | NIL | Area of interest | |
inDeepModel | const DeepModel& | Trained model | ||
inOverlap | const bool& | Add tiles overlapping to improve results quality | ||
outHeatmaps | Array<Image>& | Returns heatmaps for all classes | ||
outFeature1 | Image& | Returns heatmap for first feature class | ||
outFeature2 | Image& | Returns heatmap for second feature class or empty image if class is not specified | ||
outFeature3 | Image& | Returns heatmap for third feature class or empty image if class is not specified | ||
outFeature4 | Image& | Returns heatmap for fourth feature class or empty image if class is not specified |
Errors
Error type | Description |
---|---|
DomainError | Empty ROI region in DeepLearning_ClassifyFeatures |
DomainError | Invalid DeepModel in DeepLearning_Classify. |
DomainError | Empty image in DeepLearning_Classify. |
IoError | Unable to connect to Deep Learning Service. |
IoError | Connection with service lost. |
IoError | Missing results count. |
IoError | Received invalid results count. Classification aborted. |
IoError | Missing result. |