Documentation
¶
Index ¶
- type Capturer
- type CapturerHandler
- func (th *CapturerHandler) AddCapturer(t Capturer)
- func (th *CapturerHandler) AddMJPEGCapturer(uuid, url string, maxFrameBuffer int) error
- func (th *CapturerHandler) BackboneLen() int
- func (th *CapturerHandler) NextResult() (*video.Capture, error)
- func (th *CapturerHandler) RemoveCapturer(uuid string) (Capturer, error)
- func (th *CapturerHandler) Shutdown()
- func (th *CapturerHandler) Status() []CapturerStatus
- type CapturerStatus
- type Classifier
- type FoundCategories
- type GoFace
- type Server
- type Service
- func (s *Service) AddCapturer(_ context.Context, request *proto.AddCapturerRequest) (*empty.Empty, error)
- func (s *Service) InformStatus(request *proto.InformStatusRequest, stream proto.Node_InformStatusServer) error
- func (s *Service) LoadCategories(_ context.Context, request *proto.LoadCategoriesRequest) (*empty.Empty, error)
- func (s *Service) ProcessResults(_ *empty.Empty, stream proto.Node_ProcessResultsServer) error
- func (s *Service) RemoveCapturer(_ context.Context, request *proto.RemoveCapturerRequest) (*empty.Empty, error)
- func (s *Service) Shutdown()
- func (s *Service) Status() *proto.Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapturerHandler ¶
func NewCapturerHandler ¶
func (*CapturerHandler) AddCapturer ¶
func (th *CapturerHandler) AddCapturer(t Capturer)
func (*CapturerHandler) AddMJPEGCapturer ¶
func (th *CapturerHandler) AddMJPEGCapturer(uuid, url string, maxFrameBuffer int) error
func (*CapturerHandler) BackboneLen ¶
func (th *CapturerHandler) BackboneLen() int
func (*CapturerHandler) NextResult ¶
func (th *CapturerHandler) NextResult() (*video.Capture, error)
func (*CapturerHandler) RemoveCapturer ¶
func (th *CapturerHandler) RemoveCapturer(uuid string) (Capturer, error)
func (*CapturerHandler) Shutdown ¶
func (th *CapturerHandler) Shutdown()
func (*CapturerHandler) Status ¶
func (th *CapturerHandler) Status() []CapturerStatus
type CapturerStatus ¶
type Classifier ¶
type FoundCategories ¶
type GoFace ¶
type GoFace struct {
// contains filtered or unexported fields
}
func (*GoFace) FindCategories ¶
func (d *GoFace) FindCategories(input []byte) (*FoundCategories, error)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewFromEnv ¶
type Service ¶
func NewService ¶
func NewService( d Classifier, capturerHandler *CapturerHandler, metricsService *metrics.Service, logger *logrus.Logger, timeNow func() time.Time, ) *Service
func (*Service) AddCapturer ¶
func (*Service) InformStatus ¶
func (s *Service) InformStatus(request *proto.InformStatusRequest, stream proto.Node_InformStatusServer) error
func (*Service) LoadCategories ¶
func (*Service) ProcessResults ¶
func (*Service) RemoveCapturer ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.