Commit 9b38daef authored by wenboqiang's avatar wenboqiang

补充提交

parent abe959b8
......@@ -92,6 +92,7 @@ struct OnlyDetectNameInfo {
};
struct Detect2clsNameInfo {
std::string kInferName;
std::string kDetectPreName;
......@@ -102,16 +103,7 @@ struct Detect2clsNameInfo {
std::string kRtspUrl;
};
//struct elmetInfo {
// int modelInputWidth = 640;
// int modelInputHeight = 448;
// uint32_t classnum = 3;
// int totalBox = 17640;// cropped car image from original image
// ImageData resizedImgs; //resized image for classify inference
// Rectangle rectangle; // recognize rectangle
// std::string detect_result; // yolo detect output
// std::string classify_result;
//};
struct ModelInfo {
int modelInputWidth = 640;
int modelInputHeight = 448;
......@@ -121,7 +113,7 @@ struct ModelInfo {
int classnum = 80; // cropped car image from original image
float nmsThresh = 0.45;
float conf = 0.3;
std::vector<int> activateLabel = {};
std::vector<int> activateLabel = {0};
std::vector<std::string> Label = { "person", "bicycle", "car", "motorbike",
"aeroplane", "bus", "train", "truck", "boat",
"traffic light", "fire hydrant", "stop sign", "parking meter",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment