Class: VSRect

VSRect

new VSRect()

Custom class used for storing bounding box information.

Used in conjunction with VisageDetector.detectFaces function.


Members

x :number

X coordinate of the top left corner of the rectangle.
Type:
  • number

y :number

Y coordinate of the top left corner of the rectangle.
Type:
  • number

width :number

Rectangle width.
Type:
  • number

height :number

Rectangle height.
Type:
  • number