This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

thetaexif is a Python library for RICOH THETA image. It provides a EXIF reader class and a rectification tool.


  • Python 2.7 (not support 3.x)
  • Pillow
  • Numpy

For rectification function:

  • Cython
  • Scipy or OpenCV Python bindings


$ pip install thetaexif


In Python

>>> from thetaexif import TagReader, tag
>>> reader = TagReader.load('image.jpg')
>>> reader[tag.FIRMWARE_VERSION]
>>> reader[tag.THETA_SUBDIR][tag.ZENITH_ES]
(20.0, -24.0)

In shell

$ python -m thetaexif image.jpg
RecordingFormat: 2
MakerNoteType: Rdc
FirmwareVersion: Rev0102
SerialNumber: 0000000000000000
RicohCameraType: 1
HDRType: 0
ZenithEs: (20.0, -24.0)
CompassEs: 22.5
AbnormalAcceleration: 0
FilmISO: (100, 0, 100, 0)
Aperture: (2.1, 2.1)
ExposureTime: (0.00025, 0.00025)
SensorSerial1: A0015348
SensorSerial2: A0015357

Rectification (requires Cython)

If you install thetaexif with Cython, theta-rectify command is available. It reads gyroscope and compass data and rotate images to rectify camera pose.

Rectify image.jpg and save to image_rectified.jpg:

$ theta-rectify image.jpg

Rectify image.jpg using compass data (rotate image to face the north):

$ theta-rectify -c image.jpg


0.1 (2014-06-22)

  • Initial release
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (12.3 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting