Skip navigation.
 
mlRe: Real time video analysis app under Cocoa
FROM : Jean-Daniel Dupas
DATE : Sat May 03 22:41:09 2008

Le 3 mai 08 à 19:49, Yreaction JP a écrit :

> Hi there
>
> I have a few questions about what way should I choose for develop an 
> real time video analysis app. I already have a solid knowledge of 
> image analysis and objetive c aswell. The basic idea to start with 
> this is an app that get a real time video signal and pass a set of 
> filters (thresholding, segmentation) that count or discount an 
> object (e.a Beans) and shows the number of the current count.
>
> Im not really sure what core video offers, but as fair i understand 
> while reading the guide, Do i need to think something like the next 
> workflow?
>
> iSight Signal - Core Video - Buffer - vImage (convolutions to each 
> frame?) -  Core Video (Compose an output video with a eliptical 
> color around the bean?) - Results?
>
> Thanks in advance.


This sample may give you a start:

http://developer.apple.com/samplecode/CIColorTracking/index.html

It processes movie from a file and not from an iSight, but it show you 
how to analyse and update frames from a running movie.
There is also a bunch of sample on the ADC site that show how to 
capture and analyse an iSight signal.

The processing path may be

iSight (or any other CVImageBuffer source) -> Core Image (-[CIImage 
initWithCVImageBuffer:]) -> Image processing -> -[CIContext 
drawImage:] (using an OpenGL View for example).

Related mailsAuthorDate
mlReal time video analysis app under Cocoa Yreaction JP May 3, 19:49
mlRe: Real time video analysis app under Cocoa Jean-Daniel Dupas May 3, 22:41
mlRe: Real time video analysis app under Cocoa Andrew Farmer May 3, 23:38