整理代码结构。
This commit is contained in:
1 parent
cc508cfec5
commit
ab0ddede0c
8 files changed
+199
-291
No files matched your search
@@ -5,12 +5,16 @@
|
||||
#ifndef _ARMOR_FINDER_H_
|
||||
#define _ARMOR_FINDER_H_
|
||||
|
||||
#include <map>
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/tracking.hpp>
|
||||
#include <serial/serial.h>
|
||||
#include <armor_finder/classifier/classifier.h>
|
||||
#include "additions/additions.h"
|
||||
|
||||
extern std::map<int, string> id2name;
|
||||
extern std::map<string, int> name2id;
|
||||
|
||||
class ArmorFinder{
|
||||
public:
|
||||
ArmorFinder(uint8_t &color, Serial &u, string paras_folder, const uint8_t &use);
|
||||
@@ -28,7 +32,6 @@ private:
|
||||
cv::Rect2d armor_box;
|
||||
int boxid;
|
||||
cv::Ptr<cv::Tracker> tracker;
|
||||
cv::Mat src_gray;
|
||||
|
||||
Classifier classifier;
|
||||
|
||||
|
||||
Reference in new issue
Block a user