Dual-Fisheye image using USB API

verified this works with ptpcam

set to no-stitching (dual-fisheye)

ptpcam --set-property=0xd834 --val=0x0002

Camera: RICOH THETA Z1
'UNKNOWN' is set to: 0x0001 (1)
Changing property value to 0x0002 [(null)] succeeded.

ptpcam --capture

Initiating capture...
Object added 0x00000018
Capture completed successfully!

image

 ptpcam --set-property=0xd834 --val=0x0001

Camera: RICOH THETA Z1
'UNKNOWN' is set to: 0x0001 (1)
Changing property value to 0x0001 [(null)] succeeded.

ptpcam --capture

Initiating capture...
Object added 0x00000019
Capture completed successfully!

image

Camera Firmware Info

Z1 2.10.3

ptpcam --info

THETA Device Info
==================
Model: RICOH THETA Z1
  manufacturer: Ricoh Company, Ltd.

  device version: 2.10.3
  extension ID: 0x00000006
  image formats supported: 0x00000005
  extension version: 0x006e

Static Stitching

Appears to work

theta --set-property=0xd834 --val=0x0003

Camera: RICOH THETA Z1
'UNKNOWN' is set to: 0x0001 (1)
Changing property value to 0x0003 [(null)] succeeded.
craig@jetson:~/Documents/tools$ theta --capture

Initiating capture...
Object added 0x0000001b
Capture completed successfully!

oh, i’m working for the same project as Siwook_Choi.
we need fast still image capture (with or without stitching).

1 Like

What is the time between images for unstitched images on the Z1 when you use the USB API?
I’m assuming this is JPEG, 6720x3360

@biviel I’ve seen “time reduction” requirement many times before. People are trying to save even 0.5 seconds on the time between images because they take thousands of images. I’m curious as to how fast they can take it with the USB API.

1 Like

with stitching 0.294 image/sec and without stiching 0.367 image/sec.
we do not download image, just trigger and store images in camera.

log w/ stitching:

teevr@teevr-NucBox5:~$ rostopic hz /photo/shooting
subscribed to [/photo/shooting]
no new messages
average rate: 0.293
        min: 3.413s max: 3.413s std dev: 0.00000s window: 2
no new messages
no new messages
average rate: 0.293
        min: 3.402s max: 3.413s std dev: 0.00533s window: 3
no new messages
no new messages
no new messages
average rate: 0.292
        min: 3.402s max: 3.472s std dev: 0.03067s window: 4
no new messages
no new messages
average rate: 0.294
        min: 3.318s max: 3.472s std dev: 0.05472s window: 5
no new messages
no new messages
no new messages
average rate: 0.294
        min: 3.318s max: 3.472s std dev: 0.04917s window: 6
no new messages
no new messages
average rate: 0.294
        min: 3.318s max: 3.472s std dev: 0.04519s window: 7
no new messages
no new messages
average rate: 0.294
        min: 3.318s max: 3.472s std dev: 0.04232s window: 8

log w/o stitching:

teevr@teevr-NucBox5:~$ rostopic hz /photo/shooting
verage rate: 0.405
        min: 2.472s max: 2.472s std dev: 0.00000s window: 2
no new messages
no new messages
average rate: 0.389
        min: 2.472s max: 2.675s std dev: 0.10161s window: 3
no new messages
no new messages
average rate: 0.383
        min: 2.472s max: 2.685s std dev: 0.09815s window: 4
no new messages
average rate: 0.379
        min: 2.472s max: 2.712s std dev: 0.09557s window: 5
no new messages
no new messages
average rate: 0.371
        min: 2.472s max: 2.936s std dev: 0.14740s window: 6
no new messages
no new messages
average rate: 0.370
        min: 2.472s max: 2.936s std dev: 0.13516s window: 7
no new messages
no new messages
average rate: 0.367
        min: 2.472s max: 2.936s std dev: 0.13422s window: 8
2 Likes

thank you again for your help. the documentation is now updated to show support for the Z1.

https://api.ricoh/docs/theta-usb-api/property/image_stitching/

1 Like

I think ‘X’ is a typo. we are talking about the Z1 model here.

1 Like

Thanks! I updated my last post. :slight_smile: Appreciate the help.