calpoly-csai / calpoly-csai/argo-backend
Handle errors in findDepth endpoint
Open
enhancement
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The find depth functionality takes in a URL to an image stored in Cloudinary. It should download the image, run the depth estimation algorithm on it and return a 2D array of depth values. Most of this already works, but some edge cases aren't covered.
- What if URL doesn't point to a valid Cloudinary resource (video instead of image)?
- What if no URL is provided?
- What if the model fails to process the time?
Handle these edge cases in the `findDepth` function in `main.py`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.