Base class for
Cflownet
(production
recognication) Input is an image (cv:Mat).
Output is a struct of detected results, named CflownetResult.
Sample code :
Mat img = cv::imread("sample_Cflownet.jpg");
auto Cflownet = vitis::ai::Cflownet::create
("bosch_fcnsemsegt",true);
auto result = Cflownet->run(img);
std::cout << result.width <<"\n";
Quick Function Reference
The following table lists all the functions defined in the vitis::ai::Cflownet
class:
Type | Member | Arguments |
---|---|---|
std::unique_ptr< Cflownet > |
create |
|
vitis::ai::CflownetResult | run |
|
std::vector< vitis::ai::CflownetResult > | run |
|
int | getInputWidth |
|
int | getInputHeight |
|
size_t | get_input_batch |
|