Commit Graph

46 Commits

Author SHA1 Message Date
2ba8dc80bc Disable selection of non-selected results
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-01-23 10:33:20 -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
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
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
c599e0bd04 Fix errors with detector panel and label lists (#41)
Closes: #39

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

Reviewed-on: Georgi_Lab/ALVINN_f7#41
2023-12-08 21:21:04 -07:00
70153494bf Fix small screen button sizes (#37)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#37
2023-12-08 08:38:23 -07:00
e7a8c43a74 Add small features to detect page (#34)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#34
2023-12-08 07:56:41 -07:00
484dff54c7 Remove old icons and regions
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2023-12-07 20:41:48 -07:00
056d835b7c Add dark mode (#33)
Closes: #18

This PR adds dark mode styling and an app setting to choose light, dark, or auto mode.

Reviewed-on: Georgi_Lab/ALVINN_f7#33
2023-12-07 20:39:10 -07:00
fb81ebed83 Icons to vue components (#32)
Using inline svg in vue components will:
1. Make it possible to recolor svgs (for example for dark mode)
2. Be a better solution to the cordova resource location issue

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

Reviewed-on: Georgi_Lab/ALVINN_f7#32
2023-12-05 21:16:55 -07:00
34b5816eae Fix delete chip error (#31)
Fix regression from #28 when deleting a chip.  Also remove structure box when chip deleted.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#31
2023-12-05 12:05:51 -07:00
693078768e Resolve issues with cordova android build (#28)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#28
2023-12-02 21:29:04 -07:00
5e6f118a13 Add debug option to detect panel for app issue (#27)
Hoping this will help figure out why doods calls don't work when android app is compiled.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#27
2023-12-01 21:23:44 -07:00
433e57ba93 Change image loading to promise (#25)
This PR makes the detection page image loading a promise for better loading success and error handling.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#25
2023-11-29 21:39:15 -07:00
0cc9ad385f Fix image size in landscape and version in panel (#24)
Closes #22 and also fixes unlisted issue with the display of the placeholder image on the detect screen when in landscape mode.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#24
2023-11-29 20:52:35 -07:00
3da3b9c1bb Add detection settings panel (#23)
Closes #14 and #20

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

Reviewed-on: Georgi_Lab/ALVINN_f7#23
2023-11-29 15:51:36 -07:00
ff3a13826a Convert detect layout to grid (#21)
Improve basic layout and transition to landscape on smaller screens using css grid.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#21
2023-11-27 16:29:23 -07:00
ed048d0e83 Add responsive button layout (#19)
Took long enough, but buttons are in 2 x 2 grid in narrow screens and 1 x 4 grid in wider screens

Reviewed-on: Georgi_Lab/ALVINN_f7#19
2023-11-25 22:04:25 -07:00
28dfc0b7fd Connect detect page to model server for results (#16)
Closes #3

Allows for configuration of model server settings (address and port) and can dynamically select the model based on the detection page selected.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#16
2023-11-17 14:59:42 -07:00
10d4047a6a Added app settings page (#15)
Closes: #11

Only setting available at the moment are for pytorch server .  But this is this easily expandable.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#15
2023-11-16 19:49:57 -07:00
f8e23818cf Fix image display and structure rects (#10)
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: Georgi_Lab/ALVINN_f7#10
2023-11-15 11:23:16 -07:00
fc6f26d469 Add photo detection framework (#8)
Closes #5.

Reviewed-on: Georgi_Lab/ALVINN_f7#8
2023-11-14 10:16:33 -07:00
9eed19776f Create Home page (#6)
Closes #4.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#6
2023-11-10 21:20:20 -07:00
6b7744bc9a Add region svgs (#7)
Included the region svg images from the studio app.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#7
2023-11-10 13:09:32 -07:00
c72ab22f47 Fix router error after form page removal (#2)
Sweet.  There was a regression in the very first PR #1 !  This fixes that.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#2
2023-11-09 20:06:31 -07:00
24c38af0c8 Basic setup (#1)
Initial adjustments to project docs and trimming of start page down to likely needed components.

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

Reviewed-on: Georgi_Lab/ALVINN_f7#1
2023-11-09 19:42:46 -07:00
f6ffb10c07 First commit 2023-11-08 16:47:43 -07:00