|
|
7b672206d2
|
alert in form fails in bs5?, so made it a div
|
2021-08-30 18:24:55 +10:00 |
|
|
|
dc4ff64600
|
viewer hotkeys are in tooltip now
|
2021-08-30 17:47:33 +10:00 |
|
|
|
10fcda0d7c
|
convert OPT from a dict to a class
|
2021-08-29 20:13:26 +10:00 |
|
|
|
f9bd558727
|
moved most of the js out to internal/js/view_support.js
|
2021-08-28 21:45:28 +10:00 |
|
|
|
c38929d884
|
viewer now deals with videos and images when next/prev, AND, fullscreen is maintained on videos and handles when escape gets you out as well...
|
2021-08-28 13:26:07 +10:00 |
|
|
|
1d3caf17de
|
complete rewrite of viewer, videos need to be fixed. Otherwise, viewer now loads entry data for all "how_many" images on the screen, and allows prev/next movement between images without a DB load for the current page of images, then as required, it will retrieve the prev/next "how_many" from the database via /viewlist route, and go back into view/<id> of the appropriate new image of the new list. Also prevents going below 0 and beyond end of DB for the first time.
|
2021-08-27 23:38:31 +10:00 |
|
|
|
652a89161d
|
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
|
2021-08-15 21:26:43 +10:00 |
|
|
|
59c72f9aee
|
moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path
|
2021-08-15 00:26:27 +10:00 |
|
|
|
d49af24fee
|
spacing
|
2021-08-08 16:18:28 +10:00 |
|
|
|
ae0d27b284
|
first pass of usable fullscreen, will need arrow keys to remember state, or realistically pre-load? but for now you can fullscreen the image you are on
|
2021-07-31 22:49:40 +10:00 |
|
|
|
902830ad95
|
viewer now has (non-functional) buttons for rotation, flip, fullscreen, and Ive put icons.svg into the repo as its hand-crafted upstream content so I cant really just download it anymore
|
2021-07-31 22:40:12 +10:00 |
|
|
|
c0a8ab8f79
|
allowed view prev/next to remember settings (fname, faces, distance) and use new CreateSelect() for AI menu, also make fname toggle actually do that
|
2021-07-29 21:44:54 +10:00 |
|
|
|
e0802bc573
|
move to form toggles, made them bg-info colours give or take, made the fname, face & distance toggles work. The model drop-down is not set correctly, or taking action, but mara needs more rel mem to run cnn model anyway
|
2021-07-28 21:42:40 +10:00 |
|
|
|
b7d346c206
|
model_used is now per file, not per face, implemented split of default_model to default_refimg_model and default_scan_model in settings, and default_refimg_model actualy works when creating refimgs in person.py. The model_used in face_file_link is based on default settings model and will scan with cnn if chosen and store that in DB as needed. Need viewer to allow changing per file / not just default for future scans
|
2021-07-27 17:14:03 +10:00 |
|
|
|
cd51ea21bf
|
quick add of default_{model|threshold} to settings, face_refimg_link now stores model_used and face_distance AND working implementation of own face_distance algorithm rather than compareAI(), removed older AI code it would no longer work with DB structures anyway, tweaked viewer to remove coords of unmatched faces for now
|
2021-07-26 18:39:36 +10:00 |
|
|
|
b40ecbf208
|
put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working
|
2021-07-25 13:19:01 +10:00 |
|
|
|
c6a31f24e5
|
added ai model settings
|
2021-07-25 13:18:18 +10:00 |
|
|
|
d25c4fae62
|
removed last font-awesome and obv. bootstrap5 items
|
2021-07-22 21:28:54 +10:00 |
|
|
|
ef6759c5ed
|
use svg / remove -lg- / bootstrap 5
|
2021-07-22 20:44:10 +10:00 |
|
|
|
4f471ffa5a
|
remove -lg- / bootstrap 5
|
2021-07-22 20:43:11 +10:00 |
|
|
|
bd51f86d82
|
remove -lg- / bootstrap 5
|
2021-07-22 20:42:50 +10:00 |
|
|
|
3757c942e6
|
more bootstrap 5 fixes
|
2021-07-22 19:54:18 +10:00 |
|
|
|
f3b0cc5ecc
|
more bootstrap 5 fixes
|
2021-07-22 19:53:21 +10:00 |
|
|
|
07408278b1
|
more bootstrap 5 fixes
|
2021-07-22 19:53:09 +10:00 |
|
|
|
085dbcdf3a
|
more bootstrap 5 fixes
|
2021-07-22 19:51:54 +10:00 |
|
|
|
e9020373c6
|
more bootstrap 5 fixes
|
2021-07-22 19:51:07 +10:00 |
|
|
|
915063a7a7
|
semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome
|
2021-07-22 00:50:45 +10:00 |
|
|
|
6b6e7bc901
|
bootstrap 5 grid "fixups" for viewer
|
2021-07-20 22:04:52 +10:00 |
|
|
|
f52ba689b7
|
more bootstrap 5 fixes, badge colors, data-bs-target, padding
|
2021-07-20 22:04:31 +10:00 |
|
|
|
678e18b89d
|
disable next button when we have no more int he list -- doesnt deal with when we exactly land on the last image, and it seems we have 1 too many in the first set of images (have 10 on select, but see 11 on page - after next button though its 10 on the page
|
2021-07-20 19:08:32 +10:00 |
|
|
|
b9f05d64f8
|
okay this now works with bootstrap 5, I dont love the sz buttons / mixed black and white hover text needs love - probably own class with own styles, but I dont want to hard-code info color, need to work out how to do style / css using the right bs variable for info color
|
2021-07-20 19:03:14 +10:00 |
|
|
|
44620f1e18
|
viewer now has toggle to turn on face bounding box + nametag
|
2021-07-19 18:48:39 +10:00 |
|
|
|
7e360270a7
|
make use of row / col consistent to fix up odd title/buttons wrong left-hand margin / sizing
|
2021-07-19 18:45:57 +10:00 |
|
|
|
eddc00d4a9
|
fixup missing explicit px;
|
2021-07-19 18:45:23 +10:00 |
|
|
|
1bd30e106e
|
arrow keys now switches viewed image
|
2021-07-17 23:55:27 +10:00 |
|
|
|
24c4b962e5
|
now draws green rectangle and person.tag for matches on faces -- need to fix interface, but it works - lots of "plumbing" across database/classes and this viewer.html to get this to work
|
2021-07-17 16:37:43 +10:00 |
|
|
|
e1a3ad388c
|
added small spaces before first row of images to stop squishing into navbar, added flipping / made that work, and now show thumbnail after rotation/flip is finished - all works, and removed debugs
|
2021-07-16 22:28:44 +10:00 |
|
|
|
3ac6f143f4
|
first pass of rotation sub-menu on images. It only posts on Image. For each selection it turns thumbnail gray, overlays a centered color spinning wheel, posts to the f/e to create a rotation job, gets the job id back, keeps checking the f/e to see when the job id is done, and when it is (for now) undoes the spinning wheel/grayscale - will return new thumb once done and pa_job_mgr has no code to handle job as yet
|
2021-07-16 21:08:16 +10:00 |
|
|
|
d42ac8c8b5
|
string / int strictness issue causing default size to not highlight button - fixed
|
2021-07-16 17:52:31 +10:00 |
|
|
|
6e6f59fdd5
|
more cases of not using px explicitly not working, fixed for icon overlays on search/file view
|
2021-07-16 17:16:19 +10:00 |
|
|
|
f30ca16552
|
added viewnext and viewprev routes and plumbed these in to the file viewer code. Viewer code now works has a prev/next button, and handles videos
|
2021-07-15 20:23:02 +10:00 |
|
|
|
d03f5c99b0
|
added <!DOCTYPE html>
|
2021-07-15 20:21:52 +10:00 |
|
|
|
f394e39c2f
|
refimgs now contain face, orig_w, orig_h and face_locns. This is done via json.* to allow arrays to be saved/loaded back into face_locn - not useful for refimg as there has to be only 1, but tested for images where there will be many faces. This commit has a fair few changes. So overall, no more refimg menus/creation. You now create a person (the add button is hidden until you save), when you save you go back to the person you created rather than the list of persons. From there you can click add ref img, and it will create a thumbnail, and draw a green box around the face locations based on the data. Persons can have many refimgs, and they will all work the same, be formatted prettily no matter how many you have. Each refimg "tab" not only has the thumbnail, but also a red X click to delete button that will remove all refimg data and connection to the person table too. This all works/is tested.
|
2021-07-11 22:35:59 +10:00 |
|
|
|
32209d9ba6
|
added tiny thumbnails to person list
|
2021-07-11 22:30:01 +10:00 |
|
|
|
3c56cac1ef
|
fix up selections to work with ctrl/shift and right-click -- its a bit clunky but works, redid numbering to make that work and condensed down to 1 common code block for context menu for figures and dirs now
|
2021-07-06 17:40:53 +10:00 |
|
|
|
2e06c0b285
|
moved class Refimg to person, and ditched all other routes/direct access to ref images, they are only a part of Person in UI now
|
2021-07-05 16:51:44 +10:00 |
|
|
|
d3df3ad754
|
make it clear if we are on DEV or PROD
|
2021-07-04 20:06:04 +10:00 |
|
|
|
388c3eed9b
|
reference images are now added in person.py (and removed) as buttons on person page. Will need to re-think the whole of refimg.py
|
2021-07-04 20:05:15 +10:00 |
|
|
|
c1177b7c0f
|
if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too
|
2021-07-03 12:29:01 +10:00 |
|
|
|
f6a92d749f
|
added really large amounts to dups to process at once, so we can still get them all on a page if we really want
|
2021-07-01 21:56:59 +10:00 |
|