Skip to content
This repository has been archived by the owner on Feb 9, 2019. It is now read-only.

Step 4. Adjusting Parameters

Dalton Smith edited this page Sep 12, 2017 · 1 revision

**Adjusting the parameters or conditions that the code identifies your target at. ** Please note that the code relies on your target to be square or rectangular, other targets are possible but difficult without heavily modifying or creating new code.

Object Aspect Ratio

Change the min/max aspect ratio variables in the constants.py file

Sorting Multiple from Greatest to Small (and inverse thereof)

sorteddata = sorted(zip(areaArray, contours), key=lambda x: x[0], reverse=True)

For Greatest to Small, Keep reverse=True

For Smallest to Great, Make reverse=False

Clone this wiki locally