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
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: #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
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