Logo Detection in Video sequence

Hello everyone, First of all I want to apologise for my english (I'm not a native speaker). I have a videofile and I want to perform logo detection on it. I want to do it like this:
  1. Read video with VideoReader object
  2. Convert video into frames
  3. Apply code from Matlab tutorial from topic Object Detection in a Cluttered Scene ( Here ) on every frame
  4. Every frame will have logo highlighted with a polygon
  5. Save each frame to another video
I want to ask if this aproach is good and can you give me some advice how to do that?

 Respuesta aceptada

Image Analyst
Image Analyst el 2 de En. de 2017

0 votos

The attached demo does all that except for your step #3.
For finding the logo you can use edge detection (because many video bugs are transparent, but it will work with opaque ones too), and then use the Hausdorff detection method as shown on this page: http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/98/normand/main.html Look where they find a matching set of edge lines in their jet example.

4 comentarios

Kamil Kalwa
Kamil Kalwa el 3 de En. de 2017
Is there a way to do it in real time?
Image Analyst
Image Analyst el 3 de En. de 2017
Yes. Just call getsnapshot() to grab a frame from the video feed and process it. How "real time" it is depends on how fast your algorithm can detect the logo.
Kamil Kalwa
Kamil Kalwa el 4 de En. de 2017
And how do I display it in real time?
Image Analyst
Image Analyst el 4 de En. de 2017
In the same live video axes, you can put up a box around it, or an outline, or you can extract the logo and display it in a second axes.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 2 de En. de 2017

Comentada:

el 4 de En. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by