microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.47k stars 613 forks source link

How to catch key operation signals send from the master host to the sub host in dual camera setup? #1949

Open LogWell opened 9 months ago

LogWell commented 9 months ago

My goal: I want to take a few images with two cameras without recording the whole video.

My setup:

PC 1 ~ Device 1 (set as master)
|
|    a 3.5-mm audio cable
|
PC 2 ~ Device 2 (set as sub)

The difference from the document is that I use code (C++) to control two devices (first turn on machine 2 and then run machine 1). I can capture images through custom keys on PC 1, but how can I pass this keyboard operation through the cable to PC 2 so that I can capture images simultaneously?