stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

6h 11m 46s logged

Frontend Connected :excitedcat: :connected-minds:

Shelf-fish devlog # 7


In the last devlog, I had finished creating the detection logic using gemini api, after that I have done a lot of things and suffered a lot of headaches too :sad-cat-thumbs-up:

What have I done?? :think-saber:

  • Created api endpoints for detections at /detections and added it to the fastapi app.
  • Added authentication dependency to the detection api so that only authenticated users can upload images and we can know who detects which item.
  • Created the Camera and Upload image logic, I have used expo-camera and expo-imagepicker for that, it was pretty easy, expo’s docs are straight forward and I have used them before
  • Created the uploading function that will send a post request containing the image to the backend.
  • I also added storage fn to upload the captured/picked image to cloud using cloudinary.

:think1: What’s next? :think2: :think_mind_blown:

  • Now I will work on the ui and create login and register screens cuz manually typing the authentication token to the uploading fn is really frustrating :frustrated:
  • I also have an idea for this project which would make it very unique cuz at this point it just looks like just any other inventory management systems.

The images-

  1. console log of the item after it was detected by gemini and saved to database,
  2. the image being displayed after clicking the url,
  3. the images in cloudinary, the other one is stock image and was there automatically.

1
58

Comments 0

No comments yet. Be the first!