question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Synching two cameras ?

See original GitHub issue

I am thinking about using multiple cameras and I know I need to synchronize them. Is it possible to access multiple cameras with this wrapper and can I synch the cameras (as the kinect SDK docs says) by doing something like this :

k4a_device_configuration_t deviceConfig;
deviceConfig.wired_sync_mode = K4A_WIRED_SYNC_MODE_SUBORDINATE

with the wrapper ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shagrencommented, Jun 10, 2021
  1. You need additional cable for connecting cameras with each other, please read https://docs.microsoft.com/en-US/azure/Kinect-dk/multi-camera-sync
  2. You must use for master camera:
   Config(
      ...
      wired_sync_mode = WiredSyncMode.MASTER
      ...
   )

And for other camera(s):

   Config(
      ...
      wired_sync_mode = WiredSyncMode.SUBORDINATE,
      subordinate_delay_usec = 160, # 320, 480, ... for next subordinates 
      ...
   )
  1. color_resolution, depth_mode and fps must be identical for all cameras configs
  2. First read capture from master camera, then from other cameras.
  3. Sometimes sync failed and captures can be from different phases due internal queue. There are some ideas but I think you can just ignore that situation: https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/04168adc949c44180c51d90a8b8d34807891ec85/examples/green_screen/MultiDeviceCapturer.h#L95

BTW, storing images to disk can be expensive operation, maybe you can keep some images in memory and save later.

0reactions
kimtaehyeongcommented, Jun 10, 2021

Thanks for the good answer.

If you connect the 3.5 mm terminal, the setting is finished. Could you please write a simple example code for the capture? Thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronize multiple cameras to capture at the same time
Many smartphone SoCs have 2–3 camera interfaces nowadays and can capture on multiple cameras simultaneously. Also available is specific hardware ...
Read more >
How To Sync Multiple Cameras On A Wedding Shoot
The easiest method to sync multiple cameras is to have each photographer hold his/her camera, get into the camera menu and set a...
Read more >
How to implement multi-camera synchronization in smart carts ...
Multiple cameras operate together to identify the product in a smart cart. The images taken from different cameras at different angles should be...
Read more >
How to Sync Video and Audio: Multiple Cameras and Tracks
Well, it's a tool filmmakers use to simplify the process of syncing up their footage across multiple cameras and microphones. The way it...
Read more >
How to sync multiple video & sound using our timecode ...
Shooting multi-camera? How do you sync video & sound sources? Timecode Systems' timecode generators & sync solutions create efficient, wireless workflows.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found