Record Metadata Only Node
RecordMetadataOnly host node is used for recording ImgFrame, EncodedFrame, IMUData and PointCloudData messages tomcap
files.How to place it
Python
C++
Python
Python
1with dai.Pipeline() as pipeline:
2 record = pipeline.create(dai.node.RecordMetadataOnly)
Inputs and Outputs
Usage
Python
C++
Python
Python
1with dai.Pipeline() as pipeline:
2 record = pipeline.create(dai.node.RecordMetadataOnly)
3 record.setRecordFile("metadata.mcap")
Reference
class
dai::node::RecordMetadataOnly
variable
Input input
Input IMU messages to be recorded (will support other types in the future)Default queue is blocking with size 8
function
void run()
function
std::filesystem::path getRecordFile()
function
CompressionLevel getCompressionLevel()
function
RecordMetadataOnly & setRecordFile(const std::filesystem::path & recordFile)
function
RecordMetadataOnly & setCompressionLevel(CompressionLevel compressionLevel)
enum
dai::RecordConfig::CompressionLevel CompressionLevel
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.