<commit_before>/*
 * ObjectLocalizer.h
 *
 *  Created on: Aug 17, 2015
 *      Author: yankai
 */

#ifndef SRC_OBJECTDETECTOR_H_
#define SRC_OBJECTDETECTOR_H_

#include "common.h"
#include "cvplatform.h"
#include "NNClassifier.h"

#include "CamStream.h"

using namespace cv;
using namespace cv::cuda;

#define TRD_INTERVAL_OBJDETECTOR 0
#define NUM_OBJECT_NAME 5
#define NUM_OBJ 100
#define NUM_DETECTOR_STREAM 5

#define NUM_DETECT_BATCH 10

namespace kai
{

struct NN_OBJECT
{
	string 		m_name[NUM_OBJECT_NAME];
	double		m_prob[NUM_OBJECT_NAME];
	Mat         m_pImg;
	Rect			m_boundBox;
};<commit_msg>change Batch size<commit_after>/*
 * ObjectLocalizer.h
 *
 *  Created on: Aug 17, 2015
 *      Author: yankai
 */

#ifndef SRC_OBJECTDETECTOR_H_
#define SRC_OBJECTDETECTOR_H_

#include "common.h"
#include "cvplatform.h"
#include "NNClassifier.h"

#include "CamStream.h"

using namespace cv;
using namespace cv::cuda;

#define TRD_INTERVAL_OBJDETECTOR 0
#define NUM_OBJECT_NAME 5
#define NUM_OBJ 100
#define NUM_DETECTOR_STREAM 5

#define NUM_DETECT_BATCH 20

namespace kai
{

struct NN_OBJECT
{
	string 		m_name[NUM_OBJECT_NAME];
	double		m_prob[NUM_OBJECT_NAME];
	Mat         m_pImg;
	Rect			m_boundBox;
};
{'fraction_non_alphanumeric': 0.08925619834710743, 'fraction_numerical': 0.023140495867768594, 'mean_word_length': 4.739336492890995, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2445036', 'n_tokens_mistral': 526, 'n_tokens_neox': 479, 'n_words': 110}