barinova_pedestrians_detection
barinova_pedestrians_detection copied to clipboard
Forest file doesn't exist
I run the command the do the testing:
./object_detection ~/Develop/barinova_pedestrians_detection-master/example/campus-config
It gives me an error:
Loading config file Done Reading images from host_folder == '/home/zhuofu/Develop/barinova_pedestrians_detection-master/example/tud-campus-sequence/' Created output folder /home/zhuofu/Develop/barinova_pedestrians_detection-master/example/results/ Reading forest from file ... Forest file doesn't exist!
My campus_config file:
// folder with input images
/home/zhuofu/Develop/barinova_pedestrians_detection-master/example/tud-campus-sequence/
\\
// output folder
/home/zhuofu/Develop/barinova_pedestrians_detection-master/example/results/
\\
// width of a bounding box at each scale corresponding to detection
40
\\
// height of a bounding box at each scale corresponding to detection
84
\\
// number of scales for multi-scale detection
5
\\
// resize images before detection by this coefficient
0.55
\\
//forest name
/home/zhuofu/Develop/barinova_pedestrians_detection-master/example/barpedestrian.dat
\\
//size of patch in a forest
16
\\
// half of maximum width of object in the data used for training the forest
30
\\
// half of maximum height of object in the data used for training the forest
45
\\
// bias of background cost, parameter of detection algorithm
8.5
\\
// penalty for adding a hypothesis, parameter of detection algorithm
1500
\\
//only patches with probabilities to belong to background lower than this threshold can vote
0.7
\\
//minimal allowed probability of a patch to belong to object, if probability is lesser the vote is ignored
0.00005
\\
// radius of blur for hough images
5
\\
// size of images at subsequent scales differ by coefficient
0.85
\\
// maximum number of objects in an image
8
Is the issue solved?
I changed this: /root/barinova_pedestrians_detection-master/example\pedestrian.dat to this: /root/barinova_pedestrians_detection-master/example/pedestrian.dat
In campus-config.txt (in linux) and problem went away.