Facedetection

package
v0.0.0-...-dc4703b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Detection.ProtoReflect.Descriptor instead.

func (*Detection) GetImage

func (x *Detection) GetImage() []byte

func (*Detection) GetImageHeight

func (x *Detection) GetImageHeight() int64

func (*Detection) GetImageWidth

func (x *Detection) GetImageWidth() int64

func (*Detection) GetRects

func (x *Detection) GetRects() []*Rectangle

func (*Detection) GetTimestamp

func (x *Detection) GetTimestamp() int64

func (*Detection) ProtoMessage

func (*Detection) ProtoMessage()

func (*Detection) ProtoReflect

func (x *Detection) ProtoReflect() protoreflect.Message

func (*Detection) Reset

func (x *Detection) Reset()

func (*Detection) String

func (x *Detection) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Rectangle.ProtoReflect.Descriptor instead.

func (*Rectangle) GetH

func (x *Rectangle) GetH() float64

func (*Rectangle) GetW

func (x *Rectangle) GetW() float64

func (*Rectangle) GetX

func (x *Rectangle) GetX() float64

func (*Rectangle) GetY

func (x *Rectangle) GetY() float64

func (*Rectangle) ProtoMessage

func (*Rectangle) ProtoMessage()

func (*Rectangle) ProtoReflect

func (x *Rectangle) ProtoReflect() protoreflect.Message

func (*Rectangle) Reset

func (x *Rectangle) Reset()

func (*Rectangle) String

func (x *Rectangle) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL