You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I surmise that a user can upload an image via a <Input type=’file’> component
Could an implementation of the EXIF.js library be run immediately on an uploaded picture, without needing to store the image?
Ex: I upload an image, or series of images. I hit “submit” and the exif data is then stripped from the photos and stored in a temporary (tied to that browser session) state/data object. This is then used to submit a query to a routing engine, which then returns the route
Alternatively, does the photo need to be stored? What needs to persist? Do page reloads need to take place, and would those wipe out a current data state?
If storage is needed, the application could ideally permit users to persist uploads and routes between sessions.
E.g., I upload a series of photos, get the route between them, and can then revisit that route
Maybe: store a route in a json object? Especially if a route is just the routing algorithm processing multiple lat/lon pairs, the application could store the point coordinates, and then submit a query to the routing service each time it’s requested/refreshed
Is a database needed? What would be stored
If the image itself is stored, could probably then persist those images and use them in a later state of the app
For example, upload photos, submit request
Redux? Some sort of store?
Could this work with photo URLs?
Obvious main shortcoming of the app is that most social apps strip EXIF data. Is it possible to immediately detect if Exif data is even available?
If user tries to add an image without exif data, application should immediately inform user that they can’t use it for routing.
Don’t even store it/submit for routing?
Would it be possible to triangulate an image given multiple (minimum 3?) photos?
Assume that all three photos are of the same thing and the thing is in the center of the photo
Technical questions
Technical requirements/solutions
The text was updated successfully, but these errors were encountered: