basic版本的yolo,在yolov3版本上增加人体跟踪
xuepengqiang
2020-05-26 5966f2b095841627d62daac0159e81f83544b85c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
// Created by Scheaven on 2020/3/24.
//
 
#ifndef INC_01_CPP_SORT_CONFIG_H
#define INC_01_CPP_SORT_CONFIG_H
#include <opencv2/opencv.hpp>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "tensorflow/core/public/session.h"
#include "tensorflow/core/protobuf/meta_graph.pb.h"
#include "tensorflow/core/graph/default_device.h"
#include "tensorflow/core/platform/env.h"
#include <iostream>
#include <map>
#include <string>
#include <list>
#include <algorithm>
#include <fstream>
#include <stdint.h>
#include <vector>
#include <thread>
#include <json/json.h>
#include "time.h"
#include "stdio.h"
#include "stdlib.h"
#include <iostream>
#include <sys/time.h>
 
 
 
const int nn_budget=100;
const float max_cosine_distance=0.2;
 
#define NN_BUDGET 100
#define MAX_COSINE_DISTANCE 0.2
#define MAX_IOU_DISTANCE 0.7
#define MAX_AGE 45
#define MAX_OUT_TIME 3.0
#define N_INIT 5
 
 
 
 
 
 
#endif //INC_01_CPP_SORT_CONFIG_H