samples/learning_processing/chapter_16/01_display_video.rb
# Step 1. Import the video library
Step 1. Import the video library
Step 1 . Import the video library
def draw
    @video.read if @video.available
    image @video, 0, 0
  end
def draw @video . read if @video . available image @video , 0 , 0 end
Step 1.
Step 1 .
# Step 3 and 4: Read from the camera if it's available. # Step 5. Display the video image.