xhuvom / FaceID

An implementation of YOLO v2 for direct facial recognition within detection layer.
Other
159 stars 80 forks source link

could you tell me how to run the detector? #5

Closed renzhendian closed 6 years ago

renzhendian commented 6 years ago

i see "[iii] After modifications, run the detector ...", but i don't know how to run the detector, could you tell me how to run the detector?

renzhendian commented 6 years ago

o, i get it, modify yo.c in 13,354 line

  1. char *voc_names[] = {"face"};
  2. else if(0==strcmp(argv[2], "demo")) demo(cfg, weights, thresh, cam_index, filename, voc_names, 1, frame_skip, prefix, .5); then, $./darknet yolo demo cfg/yolo-face.cfg yolo-face_final.weights