![]() |
DvsenseDriver
1.0.3
The SDK for dvsense products.
|
You can refer to the DsFileReader project to implement your own needs. Here is how to use DsFileReader.
When you have finished compiling the project, in the file generation directory, run the following command:
With the above command, start the routine, the event file will be repeated, press q to exit the program.
The following is an example of loading a file:
Note that reader->loadRawFile() The running time of the function varies according to the file size.
Regarding the interface for reading files, you can refer to the API documentation for development, and the API documentation has detailed instructions.
You can crop an imported file by calling the extractEventData
interface. The input parameters are: start timestamp, end timestamp, and the full path of the output file. Below is a cropping example:
You can export an imported file to a video by calling the exportEventDataToVideo
interface, which outputs the converted MP4 file. The input parameters are: start timestamp, end timestamp, and the full path of the output file.