Commit Graph

209 Commits

Author SHA1 Message Date
ce76528958 Change highlight alpha from filter to global alpha
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-27 12:00:25 -07:00
c3420dbcdf Change structure highlight to css filter (#198)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Closes #196

Instead of drawing a bounding box, structures are highlighted when selected by using css fitlers to render non-structure regions of the image in half-opaque grayscale.

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #198
2024-09-27 17:33:51 +00:00
f32f107078 Disable pinch events on safari main document
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-27 10:31:54 -07:00
43ccf20561 Fix pinch to zoom
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-25 20:04:59 -07:00
8c2a135afb Update help page
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-25 08:27:03 -07:00
ab6af04e5b Use canvas for image rendering (#197)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Closes #194, Closes #189

Instead of making the detection image the background of the canvas element the image is now drawn as part of the canvas.  This enables pan and zoom of the image as well.

Reviewed-on: #197
2024-09-25 15:05:00 +00:00
8ba930ed2e Remove run attempt from build number
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-12 19:55:30 -07:00
d2ee45c61a Add build info to specs page
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-12 19:47:09 -07:00
e4a3d1ab46 Remove safari detection
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-12 18:56:03 -07:00
862773d622 Upgrade tensorflowjs
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-11 16:32:55 -07:00
47ec235cfa Clean up new worker configuration
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 39s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-11 11:46:37 -07:00
dcdde0289b Set worker use as configuration setting
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-11 10:55:26 -07:00
390faf0a29 Replace url parse with new url for safari
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-09-10 17:41:20 -07:00
523b50ec65 Cleanup for 0.5.0 alpha release
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.5.0-alpha
2024-08-21 15:48:55 -07:00
f35b28a7fb Parse model urls for full generalization
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 42s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-08-21 14:44:45 -07:00
94995a7a74 Enable vite preview script
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-08-21 11:55:55 -07:00
daf17bcdff Remove model root in favor of relative urls
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-08-20 17:34:46 -07:00
56a6d85f75 Get better model root using import.meta
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-08-20 17:06:47 -07:00
46b5ba7d6e Fix root of model urls
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 36s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-08-15 16:48:50 -07:00
401e5831c7 Fallback to non worker tfjs when on Safari (#193)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Safari's worker limitations mean that detection threads in the worker barely function. Until Apple quits being whiny jerks about PWAs, this workaround is required to bypass the message calls to the workers and use the old single threaded system when Safari is detected.

Reviewed-on: #193
2024-08-15 22:43:19 +00:00
7a19b9c43c Make worker inline
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 35s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-30 20:38:14 -07:00
ec1fc6d28d Fix info label crash
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 33s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-28 21:40:13 -07:00
7b800d6b39 Fix camera crash when structure selected
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-28 20:19:46 -07:00
1a703b0100 Switch shared worker to basic service worker (#191)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 33s
Shared workers seem to cause problems with iOS (and sharing wasn't really required anyway), so this PR changes the shared workers to non-shared workers.  As a benefit, it preloads the full model and video models simultaneously which iproves performance when starting the video and running post video detection.

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #191
2024-07-29 00:54:15 +00:00
0fab2da693 Remove click action from main detection svg icon
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-25 17:16:31 -07:00
0d96174279 Clean up shared worker changes
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 33s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-25 17:07:16 -07:00
6ab643a16f Change vite shared worker to query suffix
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-25 17:03:32 -07:00
3f0860534d Move worker url call to detect page create
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 31s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-07-25 16:27:45 -07:00
1d4f8c8ecd Fix shared worker for vite build (#188)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 31s
The PR uses the vite recommend method of calling the shared worker so that PWA builds properly.

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #188
2024-07-25 23:09:51 +00:00
8cdded7617 Add detection worker (#187)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 31s
Closes: #186

This PR shifts much of the tensorflow function to a shared worker for multithreading performance.

Reviewed-on: #187
2024-07-25 17:56:21 +00:00
ae1a595087 Add UI enhancements (#185)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 35s
This PR:
* Adds color coded markers on the confidence slider
* Changes the confidence slider visual to be more intuitive (the highlight region covers the visible structures)
* Gives the tag container a max height so that too many tags doesn't reduce the image to 0 size

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #185
2024-06-28 23:04:14 +00:00
8e24bcd731 Add show all / reset button on detect params (#184)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 35s
Closes: #183

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #184
2024-06-28 21:22:50 +00:00
a89693d829 Improve tensor handling in live detection
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-28 11:48:51 -07:00
8786555df5 Improve memory handling of grayscale conversion during detetion
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 37s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-28 11:28:02 -07:00
5448bb000c Test first 1080 size model
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-18 16:24:39 -07:00
ad64a2c0aa Add new 0.2.1 mini thorax
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 33s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-17 15:48:39 -07:00
1671f34234 Test first model with background images
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 33s
2024-06-14 16:03:33 -07:00
f64a006606 Update thorax to first nano grayscale model
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 32s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-11 16:44:08 -07:00
2b9d88ab94 Combine previous file steps in dev-build
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 31s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 11:20:40 -07:00
875965a1ff Use DEV_HOST for new file copy in dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 31s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 11:17:32 -07:00
66c914f952 Add known_host to dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 31s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:54:34 -07:00
a00e622652 Add DEV_KEY secret to dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Has been cancelled
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:46:29 -07:00
15040a1ff7 Fix action secret
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 2s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:37:28 -07:00
04c4def289 Secret and sshpass test dor dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Has been cancelled
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:32:21 -07:00
bef78d4343 Check dev-build docker hostname
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 30s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:15:33 -07:00
670cf5e886 Check for sshpass in dev-build
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 1s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:06:55 -07:00
c1530541e7 Debug dev-build workflow on new server
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 30s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 10:03:49 -07:00
71cb5b2f8c Set abdomen to test nano models
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 35s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-09 09:13:43 -07:00
1931da3548 Test th0.3.1-s1
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 44s
2024-06-05 16:08:10 -07:00
14e4ccbf2d Thorax 0.3.0 test
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 46s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-06-03 09:30:22 -07:00