更新CNN参数和图像显示方式。

This commit is contained in:
xinyang committed 2019-05-04 11:34:15 +08:00
1 parent 218a4b56c6
commit 99a771da90
11 files changed
+12335 -12333

No files matched your search

@@ -154,7 +154,7 @@ bool judge_light_color(std::vector<LightBlob> &light, std::vector<LightBlob> &co
bool ArmorFinder::stateSearchingTarget(cv::Mat &src) {
cv::Mat split, src_bin;
LightBlobs light_blobs, light_blobs_, light_blobs_real;
std::vector<cv::Rect2d> armor_boxes, boxes_number[9];
std::vector<cv::Rect2d> armor_boxes, boxes_number[10];
armor_box = cv::Rect2d(0,0,0,0);
cv::cvtColor(src, src_gray, CV_BGR2GRAY);