Running Tensorflow on RICOH THETA V

Craig Oda
Craig Oda
Nov 7, 2018 · 3 min read

I’ll show you how I successfully installed Tensorflow as a RICOH THETA V plug-in

Application Overview

I’ll show you how to use four Tensorflow demo applications running on the RICOH THETA V.

  1. Automatically classify objects in the THETA range of view
  2. Detect objects such as people
  3. Stylize images
  4. Talk to the THETA and activate demo buttons on the screen

Requirements

  • RICOH THETA V in developer mode (it’s free to put the camera in developer mode)
  • theta-tensorflow-demo.apk (or compile it yourself from GitHub)
  • Vysor (used to set app permissions)
  • adb, part of Android Studio

I’ll cover the basic installation at the end of this article. For more information on working with plug-ins, see the Plug-in Developer Guide.

Demo Overview

The demos below are shown running directly on the RICOH THETA V. The screenshots are from Vysor, which is a tool to show a virtual Android screen from the THETA V on your computer. The demos are based on the workshop created by Makoto Shohara. He modified the demos from the Tensorflow Android demos.

Tensor Flow Detect

correctly identify person. It thinks the computer monitor is a TV.

The application automatically takes a picture.

Testing Tensorflow Stylize

Testing Tensorflow Speech

I say, “Left” to the THETA V and Tensorflow detects it.

Tensorflow Classify

Installation

  1. Download theta-tensorflow-demo.apk or compile from GitHub repo
  2. Connect your THETA V to your computer with a USB cable
  3. Run the command adb install theta-tensorflow-demo.apk

Set Plug-in Permissions

  1. Start Vysor
  2. Go into Settings
  3. Go to Apps
  4. Select TensorFlow Demo
  5. Select App permissions
  6. Enable permissions as shown in the screenshot below

Run Applications

There are four applications you can use. With the camera still connected to your computer with a USB cable, click on the application you want to run in Vysor.

The camera will automatically start to run. The lens opposite the shutter button is the center of the equirectangular image.

Additional Information

theta360.guide

Developer information for augmented reality, virtual…

Craig Oda

Written by

Craig Oda

open source advocate, writer, Python and JavaScript developer, father, husband, fly fisherman, surfer

theta360.guide

Developer information for augmented reality, virtual reality, 360 media, and the RICOH THETA camera

Craig Oda

Written by

Craig Oda

open source advocate, writer, Python and JavaScript developer, father, husband, fly fisherman, surfer

theta360.guide

Developer information for augmented reality, virtual reality, 360 media, and the RICOH THETA camera

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store