• captin411's avatar
    Add auto focal point cropping to Preprocess images · abeec4b6
    captin411 authored
    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.
    abeec4b6
Name
Last commit
Last update
..
dataset.py Loading commit data...
image_embedding.py Loading commit data...
learn_schedule.py Loading commit data...
preprocess.py Loading commit data...
test_embedding.png Loading commit data...
textual_inversion.py Loading commit data...
ui.py Loading commit data...