GMU:Custom Setup to track People using a Camera on the Ceiling: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
=='''Introduction'''== | =='''Introduction'''== | ||
It’s a tutorial about using webcam | It’s a tutorial about using external webcam to get the data of people’s x and y position in DBL platform. I am using MaxMsp and external library cv.jit to grab the blobs due to the pixel differences captured by webcam, and to get the x, y value of the blobs which is considered to be the position data of people. | ||
=='''Part 1 Install cv.jit library'''== | |||
cv.jit is a collection of max/msp/jitter tools for computer vision applications. The goals of this project are to provide externals and abstractions to assist users in tasks such as image segmentation, shape and gesture recognition, motion tracking, etc. as well as to provide educational tools that outline the basics of computer vision techniques. | cv.jit is a collection of max/msp/jitter tools for computer vision applications. The goals of this project are to provide externals and abstractions to assist users in tasks such as image segmentation, shape and gesture recognition, motion tracking, etc. as well as to provide educational tools that outline the basics of computer vision techniques. | ||
Firstly, you need to download the cv.jit. The latest version of cv.jit is 1.8 and can be used with 64-bit versions of Max. | Firstly, you need to download the cv.jit. The latest version of cv.jit is 1.8 and can be used with 64-bit versions of Max. | ||
Here is the link: | |||
http://jmpelletier.com/cv-jit-is-now-compatible-with-64-bit-max/ | |||
Find instructions to check it here: | Find instructions to check it here: | ||
http://jmpelletier.com/cvjit/ | http://jmpelletier.com/cvjit/ | ||
After you downloading and unpacking the zip file, you should copy all the files in extras folder and help folder to the corresponding files in C74 folder. | |||
Tips: How to find C74 folder | |||
For example, in Mac, you go to Applications-Max, right click it and click Show Package Contents, and then open Resources folder, you will find C74 folder. | |||
Finally, restart your Max. | |||
=='''Part 2 Set up'''== | =='''Part 2 Set up'''== |
Revision as of 11:45, 31 July 2016
Introduction
It’s a tutorial about using external webcam to get the data of people’s x and y position in DBL platform. I am using MaxMsp and external library cv.jit to grab the blobs due to the pixel differences captured by webcam, and to get the x, y value of the blobs which is considered to be the position data of people.
Part 1 Install cv.jit library
cv.jit is a collection of max/msp/jitter tools for computer vision applications. The goals of this project are to provide externals and abstractions to assist users in tasks such as image segmentation, shape and gesture recognition, motion tracking, etc. as well as to provide educational tools that outline the basics of computer vision techniques.
Firstly, you need to download the cv.jit. The latest version of cv.jit is 1.8 and can be used with 64-bit versions of Max. Here is the link: http://jmpelletier.com/cv-jit-is-now-compatible-with-64-bit-max/ Find instructions to check it here: http://jmpelletier.com/cvjit/
After you downloading and unpacking the zip file, you should copy all the files in extras folder and help folder to the corresponding files in C74 folder. Tips: How to find C74 folder For example, in Mac, you go to Applications-Max, right click it and click Show Package Contents, and then open Resources folder, you will find C74 folder. Finally, restart your Max.
Part 2 Set up
Notice: If you use the ladder, please make sure to put several layers of cardboard below it, to prevent damage to the dance carpet. Please make sure that everything is securely fixed.
1.Set up the camera on the ceiling. In this tutorial, the camera is not a full view camera and the height of space is limited, so the view seems too narrow. This tutorial shows how to get the x, y coordinates of one person on the stage as an example.