robmarkcole/HASS-Deepstack-object

Resizing image before processing

robmarkcole opened this issue · 1 comments

The operation

        # resize image if different then default
        if self._scale != DEAULT_SCALE:

is happening BEFORE posting to Deepstack, but it is preferable to perform this AFTER, so deepstack receives the full size image. Probably not an issue in practice as nobody is likely to scale the image so small that it is smaller than the resized image used by yolo5

Actually not an issue as the resize is performed on self._image but image is sent for processing