Video in Processing David Meredith Aalborg University.

Slides:



Advertisements
Similar presentations
ARTIFICIAL PASSENGER.
Advertisements

Using the Kinect in Processing David Meredith Aalborg University.
Libraries David Meredith Aalborg University.
Text David Meredith Aalborg University.
Unit 6 – Multimedia Element: Animation
Translation and Rotation in 2D and 3D David Meredith Aalborg University.
AXIS Camera Recorder. Value Proposition  AXIS Camera Recorder Offers all core video recording and monitoring functionality at an attractive price level.
V Summer workshop-Guildford County, July, 2014.
Presents… “Best Encoding Practices” For use with.
Chapter 9 Integrating Video. Digital video is a series of bitmap images that, when played back, create the illusion of movement. The quality and overall.
Quicktime Howell Istance School of Computing De Montfort University.
Game Development with Kinect
17-Oct-02 Creating Educational Objects Using QuickTime TM James E. McClurg & James D. Myers Department of Geology and Geophysics University of Wyoming.
3.02 Computer Animation Software and Design Guidelines
FLASH Introduction to Animation. Review: Intro to Computer Operation Information Technology Vocabulary Computer Hardware Motherboard CPU and Memory Peripheral.
Remote Surveillance System Presented by: Robarin Holdings Limited Telephone: Facsimile:
Topic 4 - Video Data Basic Concepts
Video-Editing Techniques Guilford County Sci Vis V
1 Different Video Properties
3.02 Computer Animation Software and Design Guidelines
Flash Video Flash ActionScript 3.0 Introduction to Thomas Lövgren, Flash developer
Making Movies An introduction to Digital Video, College customs & practices, imovie and Final Cut Pro video editing software.
2 What is pyGame? A set of Python modules to make it easier to write games. –home page: –documentation:
Guide to Programming with Python
Augmented Reality and 3D modelling Done by Stafford Joemat Supervised by Mr James Connan and Mr Mehrdad Ghaziasgar.
Using Multimedia on the Web
Introduction to Motion Video Analysis LEE Kai-chiu Seconded Teacher PE SECTION, CDI Jan 2009.
X-Driven Introduction
Chapter 15 Video. Importing Video Into Flash Once you import video into Flash MX 2004, you can control it using behaviors and very basic ActionScript,
Kinect Part II Anna Loparev.
CCTV with POS Overlay Fully integrated Database search facility S.A.Cash Register (Pty) Ltd.
What are the common format for video files?
Digital Camcorder and Video Computer Multimedia. Two most important factors that make up a video Frames per second ( fps ) The resolution ( # of pixels.
Capture Devices and Video Encoding Standards B.Sc. (Hons) Multimedia ComputingMedia Technologies Video Capture and Editing.
Input Devices.  Identify audio and video input devices  List the function of the respective devices.
History, Navigator, Screen and Form Objects Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1.
 VIDEO CAPTURE USING FIREWIRE  VIDEO CAPTURE USING A VIDEO CARD  CAPTURING VIDEO CONNECTING EQUIPMENT AND CAPTURING DIGITAL VIDEO.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
Application in Computer Vision Final Project Nir Slakman, Oren Zur and Noam Ben-Ari.
Chapter 16 Creating Desktop Video and Animation. Getting Started FAQs: – What is digital video? – How do I transfer video footage to my computer? – How.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 5 Working with Images Starting Out with Games & Graphics in.
Functions Art &Technology, 3rd Semester Aalborg University Programming David Meredith
Overview Do you what to allow your web users to be their own video director? Record the movie using multiple angle cameras and provide your web users.
Data Streams David Meredith Source Chapter 19 of – Shiffman, D. (2008). Learning Processing. Morgan Kaufmann, Burlington, MA. ISBN:
Video.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Game Loop and Animation Starting Out with Games & Graphics.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Real-Time Cyber Physical Systems Application on MobilityFirst Winlab Summer Internship 2015 Karthikeyan Ganesan, Wuyang Zhang, Zihong Zheng.
User Guide for Kinovea CREATED BY: KEVIN THOMAS CHRISTINA BOWEN RONDA WHYTE.
Format: Flash Drive/Memory Card LCD screen size: 2.7" Remote control: No USB 2.0 output: Yes Firewire output: No Analog input: No Optical zoom: 35x Digital.
Introduction to Image processing using processing.
Variables Art &Technology, 3rd Semester Aalborg University Programming David Meredith
Chapter 10. The Role of Video in Multimedia  Any presentation or application that uses sound and graphics qualifies as multimedia  Clip A segment of.
Parts of a Computer. Two Basic Components of a Computer System Hardware Parts of the Computer System you can physically touch Software Computer Instructions.
August Video Management Software ViconNet Enterprise Video Management Software Hybrid DVR Kollector Strike Kollector Force Plug & Play NVR HDExpress.
Video 2 Subject:T0934 / Multimedia Programming Foundation Session:11 Tahun:2009 Versi:1/0.
Information Systems Design and Development Media Types Computing Science.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
Augmented Reality and 3D modelling Done by Stafford Joemat Supervised by Mr James Connan and Mehrdad Ghaziasgar.
ECE ILLINOIS. ECE 445 Spring 2016 Smart closet Group 24 Luchuan Zhang Yiwei Li.
Over the recent years, computer vision has started to play a significant role in the Human Computer Interaction (HCI). With efficient object tracking.
Objects Art &Technology, 3rd Semester Aalborg University Programming David Meredith
Seethru Range of Home Surveillance Systems
Day 3: computer vision.
David Meredith Aalborg University
David Meredith Aalborg University
Advanced Object-Oriented Programming
VIDEO.
Chapter 5 Working with Images
Presentation transcript:

Video in Processing David Meredith Aalborg University

Source Chapter 16 of – Shiffman, D. (2008). Learning Processing. Morgan Kaufmann. ISBN:

Overview Displaying live video Displaying recorded video Creating a software mirror How to use a video camera as a sensor

Setting stuff up for processing video On a Mac – Attach a camera to your computer (or use the one that’s built in) – Make sure software and drivers for your camera are installed – Test the camera in another program (e.g., iChat, Skype) to make sure it’s working

Setting stuff up for processing video In Windows – Attach a camera or use the built-in camera – Make sure any drivers and software for your camera are installed – Test the camera – Install QuickTime Version 7 or higher – Install a video digitizer (vdig) to allow QuickTime applications to capture video in Windows See

5 Steps to Live Video 1.Import the Processing video library 2.Declare a Capture object 3.Initialize the Capture object 4.Read the image from the camera 5.Display the video image

Step 1: Import the processing video library

Step 2: Declare a Capture object

Step 3: Initialize the Capture object “this” refers to this Processing sketch. When the camera captures a new image, we want it to alert this sketch (not some other one) Width of video captured by this Capture object Height of video captured by this Capture object Frame rate at which to capture video (fps)

Step 4: Read the image from the camera (Method 1) Use the Capture method available() to find out if there is an image available to be read – returns true if there is, false if there isn’t If there is an image available to be read, then use read() to read the image into memory

Step 4: Read the image from the camera (Method 2) Override the captureEvent() callback function which is automatically called whenever there is a video capture event

Step 5: Display the video image A Capture object can be treated like a PImage and displayed using the image() function

Manipulating a video image

Captures can be treated as PImages Anything that can be done to a PImage, can be done to a Capture object!

Recorded Video Declare Movie object Initialize Movie object Start Movie playing Read frame from movie when there is a movie event Display movie

Scrubbing forward and backwards Jumps to specified position in the movie. The argument is the number of seconds through the movie to which to jump

Software mirrors Take the live input from the camera and use this to produce a processed moving image that “mirrors” the user Begin by taking an 80 x 60 pixel input image and mapping it to a grid of squares filling a 640 x 480 pixel window

Software Mirrors

Tracking the brightest spot

Tracking a colour

Motion detection