mock_yolov5

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_yolov5 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNet

type MockNet struct {
	// contains filtered or unexported fields
}

MockNet is a mock of Net interface.

func NewMockNet

func NewMockNet(ctrl *gomock.Controller) *MockNet

NewMockNet creates a new mock instance.

func (*MockNet) Close

func (m *MockNet) Close() error

Close mocks base method.

func (*MockNet) EXPECT

func (m *MockNet) EXPECT() *MockNetMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNet) GetDetections

func (m *MockNet) GetDetections(arg0 gocv.Mat) ([]yolov5.ObjectDetection, error)

GetDetections mocks base method.

func (*MockNet) GetDetectionsWithFilter

func (m *MockNet) GetDetectionsWithFilter(arg0 gocv.Mat, arg1 map[string]bool) ([]yolov5.ObjectDetection, error)

GetDetectionsWithFilter mocks base method.

type MockNetMockRecorder

type MockNetMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetMockRecorder is the mock recorder for MockNet.

func (*MockNetMockRecorder) Close

func (mr *MockNetMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockNetMockRecorder) GetDetections

func (mr *MockNetMockRecorder) GetDetections(arg0 interface{}) *gomock.Call

GetDetections indicates an expected call of GetDetections.

func (*MockNetMockRecorder) GetDetectionsWithFilter

func (mr *MockNetMockRecorder) GetDetectionsWithFilter(arg0, arg1 interface{}) *gomock.Call

GetDetectionsWithFilter indicates an expected call of GetDetectionsWithFilter.

Jump to

Keyboard shortcuts

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