Skip to content

amralieg/raspberry-pi-talking-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry PI multi-lingual talking camera using Google Cloud AI

Using a camera module mounted on top of the Raspberry PI 4, this project will capture an image, send it to Google Cloud Vision for recognition, receive the response, send it to Google translate to translate it to diffrent languages and finally send it to Google Cloud text to speech to say the content.

Watch the video

It uses OKDO Raspbperry PI 4 Kit [https://www.okdo.com/p/okdo-raspberry-pi-4-4gb-model-b-starter-set/] and Camera Module [https://uk.rs-online.com/web/p/video-modules/9132673]

Prerequisites

to run this project, you'll need to do the following steps:

  1. Have a google cloud platform account, you can create one for free.
  2. Enable the Google Cloud Vision API and the Google Cloud Text to Speech API
  3. Install python client liberaies
    1. pip3 install --upgrade google-cloud-texttospeech
    2. pip3 install --upgrade google-cloud-vision
    3. pip3 install --upgrade google-cloud-translate
  4. create service account file (see this link)[https://cloud.google.com/docs/authentication/getting-started]
  5. SET GOOGLE_APPLICATION_CREDENTIAL environment variable to the path of the service account file that you downloaded
  6. Enable camera interface on Raspberry PI [https://www.raspberrypi.org/documentation/configuration/camera.md]
  7. Using a breadboard, connect 2 buttons one on GPIO7 and one on GPIO8
  8. Run python script
  9. cick on the button to capture the image and trigger AI recognition and, the second button will do a replay of the last recognised image.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages