edit_api.py:
•
SAM2 fix — switched to SAM2ImagePredictor with a generous bbox (5% margin) instead of points. Bbox-based SAM2 captures the full subject including hair, glasses, and sandals since it doesn't clip with negative-point interference
•
Non-destructive remove-bg — writes <stem>.nobg.png sidecar, original file untouched; registers sidecar in DB under same group
•
New /images/{filename}/duplicate endpoint — copies file with a fresh timestamp name, same group
car.html:
•
sam2RemoveBg() — switches viewer to sidecar URL, auto-enables checkerboard; original file never modified
•
restoreBg() — purely client-side, reverts viewer to original URL (no API call, no file change)
•
Gallery cycling frozen while studio is open (guard in startGroupCycle interval callback)
•
Main page scrollbar hidden when studio opens (body.overflow = hidden), restored on close
•
Delete — two-step inline confirmation: first click arms the button red ("Confirm delete"), second click deletes; stays in studio and navigates to the next image; only closes if it was the last image in the group
•
Duplicate button in Info tab — copies image into same group and navigates to the duplicate immediately
This commit is contained in:
16
backlog.md
16
backlog.md
@@ -1,4 +1,18 @@
|
||||
privacy feature not work when overlay
|
||||
|
||||
archive (anders dan delete)
|
||||
delete action (closes screen?)
|
||||
delete action (closes screen?)
|
||||
|
||||
fix queen.mp
|
||||
moet gegenereerd worden door de htmlbuilder, niet via de webserver
|
||||
images.json
|
||||
group-names.json
|
||||
names.json
|
||||
groups.json
|
||||
config
|
||||
videos
|
||||
|
||||
copied artefacts should cary references
|
||||
flag beta poses in ui
|
||||
|
||||
delete button gets disabled after a delete
|
||||
|
||||
Reference in New Issue
Block a user