Skip to content

Handle input file formats

Sarah Cocher requested to merge 7-standardize-input-formats into main

What does this MR do and why

  • Add common preprocessing for all detectors which handles input files formats : only accepts JPEG, TIFF, BMP, PNG, WEBP, GIF and converts to JPEG all other formats (since all detectors need RGB images)
  • Possibility for detectors to add next step of preprocessing with abstrat method _proprocess

How to set up and validate locally

poetry run pytest tests/

Closes #7

Edited by Sarah Cocher

Merge request reports

Loading