include the js form the internal dir and viewer now has tooltips on buttons, and all buttons work, call the right javascript, send jobs to the pa_job_manager, and make image go gray with throbber, and on job completion, hide throbber, redraw the image in color and with the newly transformed image

This commit is contained in:
2021-08-15 21:26:43 +10:00
parent 40c0e3631c
commit 652a89161d
7 changed files with 101 additions and 338 deletions

16
TODO
View File

@@ -1,10 +1,6 @@
## GENERAL
* use new js/* in files.py:
- rename rotate->transforms
- then use in viewer to get transform buttons to work
* viewer:
buttons need tootltips
can we make it preload next/prev images, and only reload the image div when we jump? to make arrow-based nav much faster
im_next = new Image()
im_next.src="..."
@@ -12,15 +8,6 @@
- have to remember the details of not just the src fname, but also face* details
- onload event, what if we use it and use say arrow keys to load/change image, will one beat the other, but if we arrow next too fast, the img wont be loaded?
fullscreen could maybe use a bit of this:
document.getElementById('canvas').requestFullscreen()
buttons (with tootltips):
rot90, rot180, rot270
flip h, flip z
fullscreen
to (re)do faces (always or somehow turn on for select???)
* remove dirs after the duplicate cleanup removes all its content
* Face matching:
@@ -39,7 +26,6 @@
* viewer needs to allow toggle to scan_model (and prob. right-click on file... AI (with CNN) AI (with hog)
- make the form-select AI_Model actually do the change (but need more mem on mara really)
## DB
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view