Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

add crop_roi option #271

Merged
merged 3 commits into from
Aug 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update readme
  • Loading branch information
wizmo2 committed Aug 14, 2022
commit 66f8738d709c60971ea98ddb45f35998a82efc2f
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ image_processing:
roi_x_max: 0.8
#roi_y_min: 0.4
roi_y_max: 0.8
crop_roi: True
targets:
- target: person
- target: vehicle
Expand Down Expand Up @@ -64,6 +65,7 @@ Configuration variables:
- **roi_x_max**: (optional, default 1), range 0-1, must be more than roi_x_min
- **roi_y_min**: (optional, default 0), range 0-1, must be less than roi_y_max
- **roi_y_max**: (optional, default 1), range 0-1, must be more than roi_y_min
- **crop_roi**: (oprional, default False), crops the image to the specified roi. This reduces disk space used, and improves performance (speed and object detection) when regions-of-interest are applied.
wizmo2 marked this conversation as resolved.
Show resolved Hide resolved
wizmo2 marked this conversation as resolved.
Show resolved Hide resolved
- **source**: Must be a camera.
- **targets**: The list of target object names and/or `object_type`, default `person`. Optionally a `confidence` can be set for this target, if not the default confidence is used. Note the minimum possible confidence is 10%.

Expand Down