mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Inability to Resize Images Before Annotations in object_detector.ipynb

Open GH0STH4CKER opened this issue 4 months ago • 0 comments

Description

Currently, in the object_detector.ipynb notebook, there is no straightforward way to resize images before annotations are added. This functionality is crucial for cases where the original image size is too large to be displayed or processed efficiently.

Steps to Reproduce

  1. Open the object_detector.ipynb notebook.
  2. Attempt to resize the input images before adding annotations.

Expected Behavior

It should be possible to resize input images before annotations are added, ensuring that annotations are made on the resized image.

Actual Behavior

There is no direct method provided in the notebook to resize images before annotations are added. As a result, annotations are made on the original-sized images. If we resize after annotations, it looks the annotations are tiny and non-readable.

Proposed Solution

  • Add functionality to resize images before annotations are added in the notebook.
  • Provide an example or guidance on how users can resize images effectively before passing them to the object detection pipeline.

Additional Information

Resizing images before annotation is a common requirement, especially when dealing with large images that may not fit well on the screen or may be too computationally expensive to process in their original size.

GH0STH4CKER avatar Feb 21 '24 06:02 GH0STH4CKER