JetsonHacksNano / CSI-Camera

Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Developer Kit
Other
817 stars 287 forks source link

[FEATURE REQUEST] Saving video captured from simple_camera.py #39

Open joneswilliam1 opened 3 years ago

joneswilliam1 commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

ANSWER: I'm quite new to opencv and a way to save the video would be really helpful for me.

Describe the solution you'd like A clear and concise description of what you want to happen.

ANSWER: An option to save the video, for example I type the command python3 simple_camera.py --save 'path' and when I exit using ctrl-C my video gets saved to that path

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

ANSWER: Exploring opencv currently to overcome this problem.

Additional context Add any other context or screenshots about the feature request here.

ANSWER: Nope. That's all.

Any help would be appreciated! Thanks and a very amazing work!

vinicius-trev commented 2 years ago

@joneswilliam1, maybe you can use the script that I recently made for this purpose record_sample.py. It has the record modes for the Pi Camera V2, as said in its documentation, but you can edit them (or create new ones) as your needs.