Skip to content
Photobooth using 96Boards CE
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repository consists of instructions to set up a Photobooth using 96Boards CE.

Table of Contents

1) Hardware

1.1) Hardware Requirements

2) Software Setup

Note: All of the instructions needs to be carried out in Dragonboard410c.

Flash Boot and Root file system images using the instructions provided in D3 Enginerring WiKi.

2.1) Setting up MRAA

Install MRAA from source using the instructions provided in MRAA documentation page.

2.2) Setting up OpenCV

Setup OpenCV using the instructions provided in Projects Org, just follow it for installing OpenCV. Only change required is to replace the cmake command with below one:


2.3) Setting up AWS S3

Setup AWS S3 bucket and Boto SDK using the instructions provided in Projects Org.

In addition to the above packages, install below libraries:

$ sudo apt-get update
$ sudo apt-get install python3
$ sudo apt-get install python3-pip
$ sudo pip3 install pillow
$ sudo apt-get install qrencode

3) Hardware Setup

  1. Make sure Dragonboard410c is turned off
  2. Connect OV5640 to D3 Camera Mezzanine
  3. Place D3 Camera Mezzanine on top of Dragonboard
  4. Connect Linksprite LCD screen to Dragonboard
  5. Connect Capture Push button to Pin 12 of J5 connector on Camera Mezzanine
  6. Connect Filter Push button to Pin 10 of J5 connector on Camera Mezzanine
  7. Assemble the whole setup in a kit
  8. Power on Dragonboard using compatible power supply

Note: Push buttons needs to be connected in Pull down mode.

Setup Diagram Front Setup Diagram Rear

Note: You can also use USB camera for this project. Just provide the correct video source in

4) 96Boards Photobooth

After setting up all of the hardware and software mentioned above, follow the below steps to execute photobooth.

Replace the default S3 Bucket URL with your own S3 URL in the script.

url = "" + "final/user_" + str(count) + ".png"

Note: By default, all the images will be pushed to the public 96boards-photobooth bucket created by 96Boards.

Now, clone the photobooth github repository.

$ git clone

Finally, execute the photobooth as below:

$ mkdir captured final
$ ./
$ sudo python3
  • For changing the filter, press Filter button
  • For capturing the image, press Capture button

After capturing the image, it will be uploaded to the S3 bucket with 96Boards watermark and the tinyurl/qrcode will be displayed for 10 seconds.

5) Video Demonstration


You can’t perform that action at this time.