--- license: mit library_name: pytorch pipeline_tag: object-detection tags: - pytorch - torchscript - object-detection - face-detection - event-camera - event-vision - ssd datasets: - issai/Faces_in_Event_Streams --- # FES Face Bounding Box Detection (Event Cameras) [![GitHub](https://img.shields.io/badge/GitHub-faces--in--event--streams-black?logo=github)](https://github.com/IS2AI/faces-in-event-streams) ### Environment Installation & Set up To launch training or inference, first of all it is required to install Metavision SDK environment. - If you use Linux OS, install Metavision SDK environment from this [link](https://docs.prophesee.ai/stable/installation/linux.html). - If you use Windows OS, install Metavision SDK environment from this [link](https://docs.prophesee.ai/stable/installation/windows.html). ### Git repo: ``` https://github.com/IS2AI/faces-in-event-streams ``` The following scripts can be found withhin our github repo: ### Face detection model - #### Inference To run inference for face bounding box model, use the following command: ``` python3 detection_and_tracking_pipeline.py --object_detector_dir /path/to/model --record_file --display ``` alternatively you can proceed with instructions from [this](https://docs.prophesee.ai/stable/samples/modules/ml/detection_and_tracking_inference_py.html#chapter-samples-ml-detection-and-tracking-inference-python) link. - #### Training Before launching training, please place label_map_dictionary.json, which comes as part of this repo, in the same folder where your train/val/test folders are located. 1. To train the model to detect face bounding box in event streams, run: ``` cd python3 train_detection.py ``` alternatively, you can follow instructions from [here](https://docs.prophesee.ai/stable/samples/modules/ml/train_detection.html#chapter-samples-ml-train-detection). 2. To select the feature extractor, you need to define --feature_extractor option using: ``` python3 train_detection.py --feature_extractor