Commit Graph
4 Commits
Author SHA1 Message Date
captin411andGitHub 59ed744383 face detection algo, configurability, reusability
Try to move the crop in the direction of a face if it is present

More internal configuration options for choosing weights of each of the algorithm's findings

Move logic into its module
2022-10-19 17:19:02 -07:00
captin411andGitHub 41e3877be2 fix entropy point calculation 2022-10-19 13:44:59 -07:00
captin411andGitHub 087609ee18 UI changes for focal point image cropping 2022-10-19 03:19:35 -07:00
captin411andGitHub abeec4b630 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.
2022-10-19 03:18:26 -07:00