hello,
i am working deepstream-5.1 on jetson NX,
i run image_meta_test sample, where can i make a new dir to save images from cropped objects?
thank you
hello,
i am working deepstream-5.1 on jetson NX,
i run image_meta_test sample, where can i make a new dir to save images from cropped objects?
thank you
Hi,
Please find some discussion in the below topic:
Thanks.
should i modify dsexample.app the line:
snprintf(filename, 64, “/home/nvidia/image%03d.jpg”, dump);
is it right?
thank you very much!
Hi,
The image is saved via OpenCV.
Please note that the function is called per frame.
So the filename should be set according to the frame index.
You can find a python example below:
Thanks.
hi,
i am working custom test5 right now,
could you pls advice me a way to get full frame images with object togher?
thank you very much!
Hi,
Since both follow the same SDK.
You can use a similar source code to get the images.
Thanks.
ok i will try your advice way.
and i may get crop image from custom test5 right now, but i have to get full frame with object on my test5 codes for my project.
and i am confuse another question, i mkdir a path name with output, and OSD_XXXX pictures can be put inside output dir,
but many images like 60_xx_xxx_xx (i think begin by fram number) can not put to there, could you tell me how to deal that?
thank you many much!
Hi,
Do you want to change the output path.
Or meet some error (ex. permission) when saving the image?
Thanks.
not error, i only want to change output path to save images.
thanks!
Hi.
You can update the file name directly.
For example, to save images into /home/nvidia/
.
img_path = "/home/nvidia/{}/stream_{}/frame_{}.jpg".format(folder_name, frame_meta.pad_index, frame_number)
Thanks.
ok get it, thank you very much!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.