I am basically working on a smart trashbin project. I want a ultrasonic sensor to sense that someone has put trash in... this will then trigger the rasberry pi camera to take a picture. The problem I am having is with this next part: How do I get the rasberry pi to send the picture taken onto the google cloud, and after that, How do I recieve the data back from google cloud (the return data should be "wet" or "dry"). Lastly, Dependng on what the return data is I want the rasbery pi to move the servo motor accordingly. I am having a lot of troubles integrating rasberry pi with the google cloud. Lastly, I also want to create this function in which everytime the the picture is taken it is automatcally amended to my training data on the google cloud so that with each use the model gets smarter. I need help with:
- Connecting rasbery pi with the google cloud AutoMl/Vision API
- Sending the image taken to google cloud
- recieving the return data(wet or dry)
- connecting the return data to a servo ie. according to the data returned the servo should move.