Commit Graph

146 Commits

Author SHA1 Message Date
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>
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
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
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
2095681016 Add thorax test models under head and neck
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 49s
2024-05-28 10:02:05 -07:00
b70764cdb0 Improve clarity of help page (#178)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: #178
2024-05-14 08:50:16 -07:00
217e6af6e1 Scroll hidden chips into view on select (#177)
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 38s
Closes: #124

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

Reviewed-on: #177
2024-05-13 21:38:24 -07:00
bf9c3727e7 Add additional region icon set
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-21 13:34:58 -07:00
655c36067b Move info link for small structure boxes
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-20 20:25:45 -07:00
7ce02a0468 Add structure info link and configuration
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-20 11:46:52 -07:00
b180c8bb08 Randomly select region icon set
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-20 09:19:45 -07:00
219522181b Add second region svg set
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-20 08:34:29 -07:00
5febf32884 Make region svg paths absolute
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-18 08:45:44 -07:00
562ef0821c Add new material design inspired region images (#174)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: #174
2024-04-17 20:55:04 -07:00
0d6c7c4191 Add regions and other updates to help
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-17 09:12:14 -07:00
10ce856e8f Add fullscreen and help to home navbar (#173)
Closes: #150

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

Reviewed-on: #173
2024-04-12 19:29:00 -07:00
12f916f646 Expand agreeExpire config to force dialog
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-04-11 20:18:28 -07:00
b732d001dc Fix tensor cleanup and orphan event listener (#171)
Closes: #166

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

Reviewed-on: #171
2024-04-11 19:25:02 -07:00
e1464df3f0 Give real-time targets proportional alpha values (#169)
Closes: #158

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

Reviewed-on: #169
2024-03-31 09:56:49 -07:00
33b50f3dfd Fix external server bug on useExternal none
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-30 21:09:36 -07:00
c1542283ea Add conf.yaml PWA config (#168)
Closes: #160
Reviewed-on: #168
2024-03-30 21:00:35 -07:00
0420e6b411 Disable text select on structure chips
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-29 17:29:31 -07:00
17a7d17e27 Fix iOS color issues (#165)
Closes: #163

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

Reviewed-on: #165
2024-03-29 11:44:40 -07:00
764f2ad329 Fix manifest and apple icon for PWA (#164)
Closes: #161, #162

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

Reviewed-on: #164
2024-03-29 09:05:45 -07:00
774356603b Fix incorrect repo link
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-28 20:34:58 -07:00
5154dfdac6 Add yolov8 model as limbs for testing
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-28 20:14:35 -07:00
5860939f65 Update release version
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-27 19:38:29 -07:00
ecdf74a483 Fill chip media propotationally to confidence value (#156)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: #156
2024-03-27 19:20:10 -07:00
e8778f3e24 Improve the help page info and formatting (#155)
Closes: #146

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

Reviewed-on: #155
2024-03-27 16:33:37 -07:00
b7119a240e Restore material icon set (#154)
Closes: #153

Fixes a regression from the culling of extra icons and build files. Restores the basic material icon set which is used by the buttons in the f7 text editor.

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

Reviewed-on: #154
2024-03-27 08:58:35 -07:00
e311b34e00 Add alpha version warning to home screen
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-27 08:35:05 -07:00
596c28a880 Move assets to vite public folder (#152)
Closes: #151

Models and samples are now properly structured in the vite public folder so they are properly automatically incorporated into the the builds and work with both builds and dev tests.

Reviewed-on: #152
2024-03-26 20:23:33 -07:00