auto-aim
This commit is contained in:
17
include/options/additions.h
Normal file
17
include/options/additions.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by xinyang on 19-4-7.
|
||||
//
|
||||
|
||||
#ifndef _ADDITIONS_H_
|
||||
#define _ADDITIONS_H_
|
||||
|
||||
#include <uart/uart.h>
|
||||
#include <opencv2/core.hpp>
|
||||
#include <thread>
|
||||
|
||||
std::thread* create_data_recv_thread(Uart *uart);
|
||||
void save_video_file(cv::Mat &src);
|
||||
void save_labelled_image(cv::Mat &src, cv::Rect2d box);
|
||||
|
||||
|
||||
#endif /* _ADDITIONS_H_ */
|
||||
19
include/options/options.h
Normal file
19
include/options/options.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Created by xinyang on 19-3-27.
|
||||
//
|
||||
|
||||
#ifndef _OPTIONS_H_
|
||||
#define _OPTIONS_H_
|
||||
|
||||
extern bool show_armor_box;
|
||||
extern bool show_armor_boxes;
|
||||
extern bool show_light_blobs;
|
||||
extern bool show_origin;
|
||||
extern bool save_labelled;
|
||||
extern bool run_with_camera;
|
||||
extern bool save_video;
|
||||
extern bool collect_data;
|
||||
|
||||
void process_options(int argc, char *argv[]);
|
||||
|
||||
#endif /* _OPTIONS_H_ */
|
||||
Reference in New Issue
Block a user