Perekam Azure Kinect DK
Artikel ini membahas bagaimana Anda dapat menggunakan k4arecorder
utilitas baris perintah untuk merekam aliran dari SDK sensor ke file.
Catatan
Perekam Azure Kinect tidak merekam audio.
Opsi perekam
k4arecorder
memiliki berbagai argumen baris perintah untuk menentukan file output dan mode perekaman.
Rekaman disimpan dalam format .mkv Matroska. Perekaman menggunakan beberapa trek video untuk warna dan kedalaman, dan juga informasi tambahan seperti kalibrasi kamera dan metadata.
k4arecorder [options] output.mkv
Options:
-h, --help Prints this help
--list List the currently connected K4A devices
--device Specify the device index to use (default: 0)
-l, --record-length Limit the recording to N seconds (default: infinite)
-c, --color-mode Set the color sensor mode (default: 1080p), Available options:
3072p, 2160p, 1536p, 1440p, 1080p, 720p, 720p_NV12, 720p_YUY2, OFF
-d, --depth-mode Set the depth sensor mode (default: NFOV_UNBINNED), Available options:
NFOV_2X2BINNED, NFOV_UNBINNED, WFOV_2X2BINNED, WFOV_UNBINNED, PASSIVE_IR, OFF
--depth-delay Set the time offset between color and depth frames in microseconds (default: 0)
A negative value means depth frames will arrive before color frames.
The delay must be less than 1 frame period.
-r, --rate Set the camera frame rate in Frames per Second
Default is the maximum rate supported by the camera modes.
Available options: 30, 15, 5
--imu Set the IMU recording mode (ON, OFF, default: ON)
--external-sync Set the external sync mode (Master, Subordinate, Standalone default: Standalone)
--sync-delay Set the external sync delay off the master camera in microseconds (default: 0)
This setting is only valid if the camera is in Subordinate mode.
-e, --exposure-control Set manual exposure value (-11 to 1) for the RGB camera (default: auto exposure)
File rekaman
Contoh 1. Rekam Kedalaman NFOV mode unbinned (640x576), RGB 1080p pada 30 fps dengan IMU. Tekan tombol CTRL-C untuk berhenti merekam.
k4arecorder.exe output.mkv
Contoh 2. Rekam WFOV nonbinned (1MP), RGB 3072p pada 15 fps tanpa IMU, selama 10 detik.
k4arecorder.exe -d WFOV_UNBINNED -c 3072p -r 15 -l 10 --imu OFF output.mkv
Contoh 3. Rekam WFOV 2x2 binned pada 30 fps selama 5 detik, dan simpan ke output.mkv.
k4arecorder.exe -d WFOV_2X2BINNED -c OFF --imu OFF -l 5 output.mkv
Tip
Anda dapat menggunakan Penampil Azure Kinect untuk mengonfigurasi kontrol kamera RGB sebelum merekam (mis. untuk mengatur keseimbangan putih manual).
Memverifikasi rekaman
Anda dapat membuka file .mkv output dengan Penampil Azure Kinect.
Untuk mengekstrak trek atau melihat info file, alat seperti mkvinfo
tersedia sebagai bagian dari toolkit MKVToolNix.
Langkah berikutnya
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk