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
Closes: #30
When the camera is being used to find an image to capture, the region mini model now runs in real time to give an estimate of where there are identifiable structures.
Reviewed-on: #143
Closes: #117
This bumps the thorax model from the yolo nano to the yolo sm (64 x 640 size) but greatly improves model performance by running a fake detection event on page load to get the model parameters in memory.
As a result of that change a new loading message was required so the f7 preloader was switched out for an f7 progress bar and more messaging was added during various stages. The progress bar fixes the previous issue with the preloader.
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
Reviewed-on: #125
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
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
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
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
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
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
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
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