Object Detection

SDK.detect_objects(self: tfsdk.SDK) → List[Trueface::BoundingBox]

Detect people and objects in the image.

SDK.get_object_label_string(self: tfsdk.SDK, object_label: Trueface::ObjectLabel) → str

Converts an object label to a std::string.

class tfsdk.BoundingBox
property height

The height of the bounding box

property label

The object class as a label

property probability

The detection’s confidence probability

property top_left

The top left corner of the bounding box

property width

The width of the bounding box

class tfsdk.Point
property x

Coordinate along the horizontal axis, or pixel column.

property y

Coordinate along the vertical axis, or pixel row.

class tfsdk.OBJECTLABEL

Members:

background

aeroplane

bicycle

bird

boat

bottle

bus

car

cat

chair

cow

diningtable

dog

horse

motorbike

person

pottedplant

sheep

sofa

train

tvmonitor