Compatible#
-
class Aqlabel#
Aqlabel import label.
Public Functions
-
explicit Aqlabel(const std::string &aqlabel_path)#
Constructor to set Aqlabel file path.
- Parameters:
aqlabel_path – Aqlabel file path.
- Throws:
visionflow::excepts::FileNotFound – If the file is not found.
visionflow::excepts::InvalidFileFormat – If the file is not Aqlabel.
visionflow::excepts::CanNotOpenFile – If the Aqlabel file cannot be opened.
visionflow::excepts::DeSerializeFailed – If failed to parse Aqlabel.
-
visionflow::props::PolygonRegionList regions() const#
Get Aqlabel regions.
- Returns:
visionflow::props::PolygonRegionList Generally used as tool truth.
-
visionflow::props::PolygonRegionList specific_regions() const#
Get Aqlabel specific regions.
- Returns:
visionflow::props::PolygonRegionList Generally used as tool hard_case or no_train.
-
explicit Aqlabel(const std::string &aqlabel_path)#