Documentation ¶
Index ¶
- Variables
- type Detection
- func (*Detection) Descriptor() ([]byte, []int)deprecated
- func (x *Detection) GetImage() []byte
- func (x *Detection) GetImageHeight() int64
- func (x *Detection) GetImageWidth() int64
- func (x *Detection) GetRects() []*Rectangle
- func (x *Detection) GetTimestamp() int64
- func (*Detection) ProtoMessage()
- func (x *Detection) ProtoReflect() protoreflect.Message
- func (x *Detection) Reset()
- func (x *Detection) String() string
- type Rectangle
- func (*Rectangle) Descriptor() ([]byte, []int)deprecated
- func (x *Rectangle) GetH() float64
- func (x *Rectangle) GetW() float64
- func (x *Rectangle) GetX() float64
- func (x *Rectangle) GetY() float64
- func (*Rectangle) ProtoMessage()
- func (x *Rectangle) ProtoReflect() protoreflect.Message
- func (x *Rectangle) Reset()
- func (x *Rectangle) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_facedetection_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Detection ¶
type Detection struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ImageWidth int64 `protobuf:"varint,2,opt,name=imageWidth,proto3" json:"imageWidth,omitempty"` ImageHeight int64 `protobuf:"varint,3,opt,name=imageHeight,proto3" json:"imageHeight,omitempty"` Image []byte `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` Rects []*Rectangle `protobuf:"bytes,5,rep,name=rects,proto3" json:"rects,omitempty"` // contains filtered or unexported fields }
func (*Detection) Descriptor
deprecated
func (*Detection) GetImageHeight ¶
func (*Detection) GetImageWidth ¶
func (*Detection) GetTimestamp ¶
func (*Detection) ProtoMessage ¶
func (*Detection) ProtoMessage()
func (*Detection) ProtoReflect ¶
func (x *Detection) ProtoReflect() protoreflect.Message
type Rectangle ¶
type Rectangle struct { X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` W float64 `protobuf:"fixed64,3,opt,name=w,proto3" json:"w,omitempty"` H float64 `protobuf:"fixed64,4,opt,name=h,proto3" json:"h,omitempty"` // contains filtered or unexported fields }
func (*Rectangle) Descriptor
deprecated
func (*Rectangle) ProtoMessage ¶
func (*Rectangle) ProtoMessage()
func (*Rectangle) ProtoReflect ¶
func (x *Rectangle) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.