Skip to content

v0.2.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@codetricity codetricity released this 15 Oct 15:29
Available commands:
  checkForIdle       wait for camera to be idle after startCapture or self timer for next command
  imageMode          Switch camera to image mode
  info               camera information, including model, serial number
  intervalShoot      test interval shooting with 2 sets of 2 shots
  listFiles          list video and image files on camera
  previewFormat      Set preview format
  printFrames        print frame bytes to console for testing
  saveFrames         save frames from live preview stream
  sc2SaveFrames      THETA SC2 save frames from live preview stream
  setOption          Set single camera option
  state              camera status, battery level, API version, last file URL
  takePicture        take single still image.  Camera must be in still image mode
  takePictureReady   take single still image and show when camera is ready for next command     
  thumb              get thumbs and print or save
  videoMode          Switch camera to video mode

opptheta listFiles over 100

Test from WSL

$ ./opptheta.exe  listFiles --entryCount=500 --fixLimit=true --entriesOnly=true > log.txt

new opptheta commands for listFiles

 .\opptheta_windows_0.2.0.exe listFiles --help
list video and image files on camera

Usage: opptheta listFiles [arguments]
-h, --help             Print this usage information.
    --fileType         --fileType=all | image | video
    --entryCount       --entryCount=20
    --maxThumbSize     --maxThumbSize=640 to show thumbs | 0 for no thumbs
    --startPosition    --startPosition=101
    --entriesOnly      --entriesOnly=true : show single list of all entries
    --fixLimit         --fixLimit=true : list more than 100 files

Run "opptheta help" to see global options.

interval shooting to create hundreds of test images

> .\opptheta_windows_0.2.0.exe intervalShoot --help
test interval shooting with 2 sets of 2 shots

Usage: opptheta intervalShoot [arguments]
-h, --help             Print this usage information.
    --captureNumber    --captureNumber=10
    --sets             numbers of sequence sets

Run "opptheta help" to see global options.

100 image shoot example

> .\opptheta_windows_0.2.0.exe intervalShoot --sets=1 --captureNumber=10

{
  "name": "camera.setOptions",
  "state": "done"
}
first interval set in progress
first interval set completed