3 Tips for Building Your Own Dual-Fisheye Plug-in for RICOH THETA
Avoid common pitfalls when creating your first plugin for the RICOH THETA
Changing the stitching of the RICOH THETA camera from equirectangular to dual-fisheye is an easy and fun plug-in to create.
Here are three tips to modify the Ricoh sample code and get your own custom plug-in working in minutes.
1. Set Image Size to 5792 x 2896
The default equirectangular image size is 5376 x 2688. You need to change this 5792 x 2896 or your image will get cropped and not stitch properly.
2. Enable Plug-in Permissions
When you first compile and install your plug-in into your camera with adb, it may not work and exit with a high-pitched beep-beep-beep sound and a red flashing LED. Make sure that your plug-in permissions are enabled in Vysor.
3. Download File with adb pull
Depending on where you saved the dual-fisheye image on your THETA, you may not see it with your Windows / Mac applications. Log into your camera with adb shell
, then change directory into/sdcard/DCIM
. Use ls
to see your files. In a separate window, use adb pull /sdcard/DCIM/filename.jpg
to download the file.
Next Steps
Ready to build your own plug-in?
Join the Star Trail Timelapse Challenge to get a dual-fisheye plug-in starter kit and free trial stitching app.
The starter kit contains:
- pre-compiled dual-fisheye apk
- sample code to open in Android Studio
- sample dual-fisheye image and sample stitched image
The stitching app can handle batch stitching as well as HDR.