YonghaoHe / LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices

A light and fast one class detection framework for edge devices. We provide face detector, head detector, pedestrian detector, vehicle detector......
MIT License
1.31k stars 330 forks source link

Detection is not performed when there are large faces in the photos. #88

Closed CengizhanYurdakul closed 3 years ago

CengizhanYurdakul commented 4 years ago

In Predictor class, I change the values ​​of bbox_large_list and bbox_small_list, but the face is not detected in photos with large faces.

face_predictor = predict.Predict(mxnet=mx, symbol_file_path=symbol_file_path, model_file_path=model_file_path, ctx=ctx, receptive_field_list=cfg.param_receptive_field_list, receptive_field_stride=cfg.param_receptive_field_stride, bbox_small_list=cfg.param_bbox_small_list, bbox_large_list=[800 100, 1600 100, 3200 100, 6400 100, 12800 * 100], receptive_field_center_start=cfg.param_receptive_field_center_start, num_output_scales=cfg.param_num_output_scales)

deneme

YonghaoHe commented 4 years ago

@CengizhanYurdakul you misunderstand the parameters. bbox_small_list and bbox_large_list should not be changed. If you want to detect large faces, you have to resize the image.