Skip to content
RICOH THETA Plug-in template to use OpenCV in plug-ins built without the camera
Branch: master
Clone or download
Latest commit a22e3a4 Apr 25, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app updated with opencv4 Apr 24, 2019
gradle/wrapper updated with opencv4 Apr 24, 2019
images added picture of camera Apr 2, 2019
release added release folder Apr 2, 2019 added picture of camera Apr 2, 2019
app-debug.apk APK for bilateral filter example Apr 13, 2019
build.gradle updated with opencv4 Apr 24, 2019
gradlew first commit Mar 29, 2019
gradlew.bat first commit Mar 29, 2019
no-camera-opencv.iml added release folder Apr 2, 2019

No-Camera OpenCV

Sample application that shows OpenCV running on both a physical device RICOH THETA V and an Android Video Device. You can develop a plug-in on the emulator and then have it run on a physical device camera with only minor modifications.

Based on original work by roohii_3 with modifications by (kasper on

Important Note on App Permissions

You must enable storage permissions in the settings. If you have using a physical device RICOH THETA, you can use Vysor to go into Settings and enable storage permissions.

Usage in emulator

  • Use your mouse to press Shutter button. It will load an image into /sdcard/DCIM/100RICOH/
  • Use your mouse to press the Process button. It will display an image processed with OpenCV to the emulator screen.

Using real camera

  • Press the shutter button to take a picture
  • After 4 seconds, press the Wi-Fi button to process the picture

real camera

You can see the processed image in Vysor. This demo does not save the processed image to disk.

The no-camera-template shows how to save the processed file to disk.


  • JRE 1.8.0
  • Android Studio 3.3.2
  • Gradle 4.10.1
  • OpenCV 3.4.5
  • in (app) specify sourceCompatibility and targetCompatibility as 1.8 due to use of lambda

In set your include path.

To see the file, go to the "Project Files" view of Android Studio. The default view is "Android". You need to access Project Files from the drop-down menu.

Edit the path in the screenshot below to match the path of your local OpenCV source code (which is part of this repo).

include path



first screen

process image

processed image

flipped from challenge




  • added OpenCV 3.4.5 source to repo
  • added directions to edit include path
  • fixed problem with screen message for status of permissions
  • added library version information to README
  • added screenshots to README
  • added release folder for the completed apk
You can’t perform that action at this time.