代码拉取完成,页面将自动刷新
Hunter是一个包含人体检测、跟踪、人脸检测、识别、属性以及跨线统计的系统,可用于无感考勤、客流统计等场景。
编译环境:Windows
Steps:
clone to a dir, cd dir
mkdir build && cd build
cmake .. -G "Visual Studio 14 2015 Win64"
运行 dispatcher-test
3rdparty: 项目所用的第三方库,主要优minicaffe, opencv,openblas等。
background: 项目所用UI的背景图片。
cmake: 项目编译用
model: 项目所用到的模型,以及相关的配置
src: 源文件
配置文件位于model目录中:
{
##视频设置
"video settings":{
"mode":"online", ##online表示输入为rtsp摄像头,local则为视频文件
"mfps":25,
"video source":"rtsp://admin:abcd1234@192.168.30.20:554/",
"rotate":2, ## <0, 不旋转,1,顺时针90,2 180,3 270
"start frame":50,
"start time":"2017-09-06 19:45:50"
},
"detector mode":1,
"openpose model":{
"model":["../model/pose_iter_440000.caffemodel", "../model/pose_deploy_linevec.prototxt"],
"size":200
},
"person detector":{
"model":"../model/deploy_mobilenet512_person_11_27",
"epoch":0,
"width":512,
"height":512,
"mean_r":123.0,
"mean_g":117.0,
"mean_b":104.0,
"device type":"GPU",
"device id":0,
"threshold":0.5
},
"face detector":{
"model":["../model/mtcnn/Pnet.txt","../model/mtcnn/Rnet.txt","../model/mtcnn/Onet.txt"],
"width":200,
"height":200
},
"face info":{
"model":["../model/gender/squeezenet-a", "../model/age/age_resnet_female", "../model/age/age_resnet_male"],
"epoch":19,
"width":224,
"height":224,
"mean_r":123.0,
"mean_g":117.0,
"mean_b":104.0,
"device type":"GPU",
"device id":0,
"threshold":0.5
},
"face id":{
"enable":true,
"model":[ "../model/facerec/sphereface_model.caffemodel","../model/facerec/sphereface_deploy.prototxt"],
"feature mean":"../model/facerec/feature_mean.txt",
"threshold":0.4 ##识别阈值
},
"door settings":[165,1533,986,1451], ##用于进出统计的门线坐标,x1y1,x2y2
"render":{
"background image":"../background/background_3.png",
"person image":"../background/background_person_3.png",
"draw rect":false, ##是否画框
"mode":0
},
"statistics":{
"init num_in":0,
"init num_out":0,
"init vip_in":0,
"init non_vip_in":0,
"init female_in":0,
"init male_in":0
},
"database":{ ##人脸底库数据
"image folder":"../database/employeechinese",
"feature record":"../database/employeechinese.txt"
},
"tracker settings":{
"max_track_length":5
},
"save face":{
"issave":false,
"save path":"../face_images/"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。