Commit Graph
11 Commits
Author SHA1 Message Date
captin411 df0c5ea29d update default weights 2022-10-25 17:06:59 -07:00
captin411 54f0c14824 download better face detection module dynamically 2022-10-25 16:14:13 -07:00
captin411 db8ed5fe5c Focal crop UI elements 2022-10-25 15:22:29 -07:00
captin411 6629446a2f Merge branch 'master' into focal-point-cropping 2022-10-25 13:22:27 -07:00
captin411 3e6c2420c1 improve debug markers, fix algo weighting 2022-10-25 13:13:12 -07:00
captin411andGitHub 1be5933ba2 auto cropping now works with non square crops 2022-10-23 04:11:07 -07:00
captin411andGitHub 0ddaf8d202 improve face detection a lot 2022-10-20 00:34:55 -07:00
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