HASS-Deepstack-object icon indicating copy to clipboard operation
HASS-Deepstack-object copied to clipboard

Feature proposal: Support object min/max size

Open robmarkcole opened this issue 5 years ago • 3 comments

Allow config an object min/max size to allow filtering out incorrect detections which can clearly be differentiated by odd box size. Size will be specified as a % of the size of the total frame.

Example config:

- target: person
  min_size: 20 # %
  max_size: 40 # %

This will require adding a method to calculate the box size as % of the frame

robmarkcole avatar Jan 27 '21 05:01 robmarkcole

Might be worth doing. In this image a bin is tagged as a car, and is similar size to the cars in the distance which appear small.

image

robmarkcole avatar Feb 02 '21 07:02 robmarkcole

Hi @robmarkcole,

Do you have any updates?

CarpeDiemRo avatar Apr 06 '21 07:04 CarpeDiemRo

I am waiting to see what, if any changes HA make to the implementation of image_processing. This integration is already complicated so not adding any new features until I know what direction HA are taking

robmarkcole avatar Apr 06 '21 07:04 robmarkcole