mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-27 06:40:10 +08:00
abeec4b630
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. |
||
---|---|---|
.. | ||
dataset.py | ||
image_embedding.py | ||
learn_schedule.py | ||
preprocess.py | ||
test_embedding.png | ||
textual_inversion.py | ||
ui.py |