Commit Graph

131 Commits

Author SHA1 Message Date
77240fe9bf Fix missing detection progress indicator on camera load
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-05 06:48:07 -07:00
7f9a7cb2d2 Cordova thorax model location update
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-04 17:18:15 -07:00
c452776689 Add better camera access for non-cordova deployments (#116)
This adds direct javascript access to the camera (with permission requests). Capturing an image with the camera now happens right on the detect page and not a separate window.

This also opens the possibility of live detection on the web app.

Reviewed-on: Georgi_Lab/ALVINN_f7#116
2024-03-04 17:03:28 -07:00
239558194e Cordova package upgrade
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-03-04 16:58:59 -07:00
069ad74e30 Add full yolov8 compatible post-processing (#115)
This updates the local detection to yolov8-based models from the older yolov5 based models.

This includes significant additional post-processing of the raw yolov8 output, but also means that the smaller nano yolo model is available as well as all of the updated ALVINN thorax training data.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#115
2024-03-04 15:03:20 -07:00
7f1aa63f07 Add site agreement expiration
Closes: #88

Reviewed-on: Georgi_Lab/ALVINN_f7#111
2024-02-23 22:00:05 -07:00
e644aa26f0 Add PWA to README
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-02-22 20:28:45 -07:00
19a669dc98 Fix decoding error on android image load (#108)
Closes: #105

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

Reviewed-on: Georgi_Lab/ALVINN_f7#108
2024-02-22 17:29:44 -07:00
6ff63bfd65 Release 0.3.0
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.3.0
2024-02-22 09:34:40 -07:00
45a86399e4 Fix chip results scroll bar always on
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-02-22 09:27:49 -07:00
72f2d5c488 Fix Cordova mobile and PWA model locations (#104)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#104
2024-02-21 17:55:23 -07:00
ede015ef70 Fix results scrolling (#102)
Closes: #96

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

Reviewed-on: Georgi_Lab/ALVINN_f7#102
2024-02-20 20:19:35 -07:00
55ecae0961 Fix structure box visibility errors (#101)
Closes: #100

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

Reviewed-on: Georgi_Lab/ALVINN_f7#101
2024-02-20 20:08:16 -07:00
69ede91f7b Fix fetch issue in android cordova (#99)
Tensorflow fetch failed on android with basic configuration.  More specific protocol and location for model.json required.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#99
2024-02-20 08:44:37 -07:00
79d2d1bc83 Add contact form (#98)
Closes: #92

This adds a new link to the left panel to open a contact form.  Filling out the form will allow the user to submit a comment which will be registered as a new issue on this repo.

Reviewed-on: Georgi_Lab/ALVINN_f7#98
2024-02-16 21:49:54 -07:00
94d4bbb979 Add Tensorflow based local detection (#95)
Closes: #12
Reviewed-on: Georgi_Lab/ALVINN_f7#95
2024-02-14 19:42:32 -07:00
7757d2348a Release version number update
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.2.1
2024-02-11 11:59:58 -07:00
3c287bf5e5 Add enabled regions to store (#93)
Closes: #91

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

Reviewed-on: Georgi_Lab/ALVINN_f7#93
2024-02-11 10:51:16 -07:00
d99db4f337 Update version number to 0.2.0
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.2.0
2024-02-09 14:24:39 -07:00
bbe1db82e1 Add default server settings for MWU deployment (#90)
Closes: #86

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

Reviewed-on: Georgi_Lab/ALVINN_f7#90
2024-02-09 14:00:05 -07:00
7617c277b0 Fix sizing issues on Safari (#89)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#89
2024-02-09 10:38:24 -07:00
741a59f5c5 Improve request error handling (#87)
Closes: #79

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

Reviewed-on: Georgi_Lab/ALVINN_f7#87
2024-02-05 15:16:41 -07:00
8f4984e543 Update ReadMe (#85)
Closes: #83

First draft of a new ALVINN specific readme file.

Reviewed-on: Georgi_Lab/ALVINN_f7#85
2024-01-31 17:41:39 -07:00
679e61a241 Update some icons (#84)
Each region now has an appropriate placeholder image instead of a generic image and the get image button is a more obvious icon.

Reviewed-on: Georgi_Lab/ALVINN_f7#84
2024-01-30 08:48:10 -07:00
09cb078f63 Fix structure box errors (#82)
Closes: #80

Closes: #81

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

Reviewed-on: Georgi_Lab/ALVINN_f7#82
2024-01-27 17:12:58 -07:00
39975ec35b Select detections by image click (#78)
Closes: #77

If the user clocks on the image, any detections present at that location will be selecting in descending order of confidence.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#78
2024-01-22 10:51:50 -07:00
d7842f907f Store list of used doods servers in settings (#76)
Closes: #75

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

Reviewed-on: Georgi_Lab/ALVINN_f7#76
2024-01-16 21:31:33 -07:00
df424420d3 Fix back-link boolean value
Navbar back -link was "true" not `true`.

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-01-12 21:30:41 -07:00
712c3d90c7 Add preloader animation (#72)
Closes: #70

Adds a prelaoder animation to the results container while the image is loading and being processed for detections.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#72
2024-01-12 21:29:14 -07:00
a3d0c5c70f Add AGPL License (#73)
Closes #71

I *think* AGPL makes the most sense based on what I've seen.  GPL might work too, but as I understand it this extends GPL to server and service usages as well which could very well include ALVINN in the end.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#73
2024-01-11 21:02:23 -07:00
23a2772468 Move disclaimer to app (#68)
The pre app disclaimer makes more sense initialized by the app and not the home page.  This PR moves the popup to the app and adds basic store functionality to give global access to the state of the apps agreement.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#68
2024-01-10 09:32:41 -07:00
671813958b Cleanup unsed files and configs (#67)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#67
2024-01-09 08:28:19 -07:00
66b135d21a Add a disclaimer popup on home page (#66)
The same disclaimer language on the about page now appears in a modal popup the first time the user loads alvinn.  Further function is not available until the user agrees to the disclaimer

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

Reviewed-on: Georgi_Lab/ALVINN_f7#66
2024-01-06 15:08:39 -07:00
e1102d0baf Fix panel and computed property bugs (#65)
Moving panel to page element was resulting in opening errors after more than one page opened.

viewedAll computer property was returning errors before result data was fetched.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#65
2023-12-29 21:28:03 -07:00
184ff0301f Big fix structure box color
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2023-12-28 08:42:19 -07:00
59f79fcfa8 Upgrade image and structure outline to canvas (#64)
Closes: #61

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

Reviewed-on: Georgi_Lab/ALVINN_f7#64
2023-12-28 08:06:06 -07:00
01e8b73677 Enable auto search and other fixes (#62)
Closes: #58

Closes: #59

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

Reviewed-on: Georgi_Lab/ALVINN_f7#62
2023-12-24 12:12:10 -07:00
cf4e9f7c3a Fix image popover and home screen size errors (#60)
Closes: #57

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

Reviewed-on: Georgi_Lab/ALVINN_f7#60
2023-12-22 16:31:58 -07:00
619211e827 Allow images and detection upload for future data (#56)
Closes: #48

This PR should allow the user to upload an image that has been taken with the camera and the associated detection information to a file server.  These file can then be used to add data to ALVINN's models.

Current upload destination is set to a file drop folder in Georgi Lab Nextcloud, but eventually (maybe) should be changed to some dedicated ALVINN backend.

Also, prediction data is still not formatted in any specific way.  It is just a JSON array of (top, left, bottom, right, label) objects.

Reviewed-on: Georgi_Lab/ALVINN_f7#56
2023-12-19 09:52:18 -07:00
75c54d6740 Improve android splash icon (#55)
Closes: #54

Had to actually shrink icon down to fit whole thing within cut-off circle.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#55
2023-12-16 15:19:24 -07:00
7ad1f80a0c Fix cordova file load regression (#53)
Closes: #52

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

Reviewed-on: Georgi_Lab/ALVINN_f7#53
2023-12-15 08:26:55 -07:00
ef6ca1e3e6 Add image mode chooser (#51)
Closes: #46

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

Reviewed-on: Georgi_Lab/ALVINN_f7#51
2023-12-14 21:17:53 -07:00
e71429dce9 Add 'no result' output option (#50)
Closes: #49

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

Reviewed-on: Georgi_Lab/ALVINN_f7#50
2023-12-14 20:29:16 -07:00
f1ad49e255 Improve back button function (#47)
Closes: #44

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

Reviewed-on: Georgi_Lab/ALVINN_f7#47
2023-12-14 15:45:17 -07:00
9dca8012e3 Fix minor merge error in doods data
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2023-12-13 12:51:56 -07:00
e03920255e Add camera capability (#45)
Closes: #29

Fixes access to the camera in the android cordova build and maintains access when using the vite build.

Reviewed-on: Georgi_Lab/ALVINN_f7#45
2023-12-13 12:34:12 -07:00
49ce2450a0 Re-fix dark mode loading on start
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2023-12-12 20:58:12 -07:00
1d7d8ca0d8 Move result filter to app (#43)
Also changed chip colors to gradient from indexed list.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#43
2023-12-12 20:32:20 -07:00
c805be725d Apply dark mode setting at start (#42)
Closes: #40

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

Reviewed-on: Georgi_Lab/ALVINN_f7#42
2023-12-10 19:24:18 -07:00
b4864aa5ff Update cordova android platform
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2023-12-09 17:54:38 -07:00