aboutsummaryrefslogtreecommitdiff
path: root/modules/memmon.py
diff options
context:
space:
mode:
authorcaptin411 <captindave@gmail.com>2022-10-19 03:18:26 -0700
committerGitHub <noreply@github.com>2022-10-19 03:18:26 -0700
commitabeec4b63029c2c4151a78fc395d312113881845 (patch)
treeff7343dbf1ba75093067c088b7b695a0454ff3ed /modules/memmon.py
parentf894dd552f68bea27476f1f360ab8e79f3a65b4f (diff)
Add auto focal point cropping to Preprocess images
This algorithm plots a bunch of points of interest on the source image and averages their locations to find a center. Most points come from OpenCV. One point comes from an entropy model. OpenCV points account for 50% of the weight and the entropy based point is the other 50%. The center of all weighted points is calculated and a bounding box is drawn as close to centered over that point as possible.
Diffstat (limited to 'modules/memmon.py')
0 files changed, 0 insertions, 0 deletions