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:
aidi::excepts::FileNotFound – If the file is not found.
aidi::excepts::InvalidFileFormat – If the file is not Aqlabel.
aidi::excepts::CanNotOpenFile – If the Aqlabel file cannot be opened.
aidi::excepts::DeSerializeFailed – If failed to parse Aqlabel.
-
aidi::props::PolygonRegionList regions() const#
Get Aqlabel regions.
- Returns:
aidi::props::PolygonRegionList Generally used as tool truth.
-
aidi::props::PolygonRegionList specific_regions() const#
Get Aqlabel specific regions.
- Returns:
aidi::props::PolygonRegionList Generally used as tool hard_case or no_train.
-
explicit Aqlabel(const std::string &aqlabel_path)#