Skip to content

Run one script and press 's'/'d' to save your laptop's camera images to disk. Two versions: (1) Python, and (2) ROS node.

License

Notifications You must be signed in to change notification settings

felixchenfy/record_images_from_usbcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Record video images either using Python or ROS.

After running the program,
press s to start recording;
press d to stop recording.

1. Python Version

python src/record_video.py \
    --frame_rate 10.0 \
    --webcam_index 0 \
    --sub_folder_name none

Images will be saved to "data/${sub_folder_name}_${current_time}", e.g.: "data/none_04-18-17-37-33-376/".

2. ROS Version

roslaunch record_images_from_usbcam record_images.launch \
    frame_rate:=10.0 \
    sub_folder_name:=none  

About

Run one script and press 's'/'d' to save your laptop's camera images to disk. Two versions: (1) Python, and (2) ROS node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published