Skip to content

codetricity/ricoh_theta_mjpeg_opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RICOH THETA OpenCV MJPEG Stream over WiFi

author : Robert Katter

This is a copy of Robert Katter's script from the theta360.guide community forum. Original post

screenshot

Canny Edge Detection for AI

canny edge

Overview

Use Python to view a motionjpeg stream in equirectangular format from RICOH THETA cameras. This example uses OpenCV.

Usage

  1. connect camera in client mode
  2. change information below to the IP address and serial number of your camera
  3. if using pipenv, run:

Installation

git clone git@github.com:codetricity/ricoh_theta_mjpeg_opencv.git
cd ricoh_theta_mjpeg_opencv
pipenv install
pipenv shell
python main.py

Refer to code and change lines below

url = http://[Camera IP Address]/osc/commands/execute
username = "CameraSerialNumber"
password = "DigitsOnlyofCameraSerialNumber"

# example information
# url = 'http://192.168.2.101/osc/commands/execute'
# username = "THETAYL00105377"
# password = "00105377"

Python Version

You can specify a different version of Python.

If you want to use Python 3.11, you can do this

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update 
sudo apt install python3.11

Environment

Tested on Linux Ubuntu 22.04 and Windows 11 WSL.

About

Python script example of using livePreview to get an equirectangular stream from RICOH THETA cameras over WiFi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages