On Saturday, April 16, 2016 12:03:24 AM CEST, Brian Matherly wrote:

Hi Brian,

Thanks for the feedback.

> Could you look at how we do 2-pass analyze/apply filters in 
> vid.stab and loudness and follow that convention?
> https://github.com/mltframework/mlt/blob/master/src/modules/vid.stab/filter_vidstab.yml
> https://github.com/mltframework/mlt/blob/master/src/modules/plus/filter_loudness.yml
> If all 2-pass filters use the same method for the "results" 
> parameter, then it is easy to abstract 2-pass filters in 
> applications because they all work the same.

Done.

> Is it possible for the rectangle to be changed to an oval?

Yes, I made the filter more generic now, with a "shape" property that can 
draw rectangles, ellipses and arrows.

Now you can also select the OpenCV tracking algorithm.

I will try to integrate the filter in Kdenlive and if it works correctly 
will ask if it's ok to merge to MLT's master.

Performance is quite good, it can do real-time tracking of 3 objects in a 
1280x720 video on my 3 years old intel core i7.

Regards,

jb

> From: Jean-Baptiste Mardelle <j...@kdenlive.org>
> To: mlt-devel@lists.sourceforge.net 
> Sent: Friday, April 15, 2016 10:09 AM
> Subject: [Mlt-devel] New motion tracker filter
>
> Hi all,
>
> I spend my day working on an OpenCV based filter to do motion tracking in 
> MLT, since the current "motion_est" and "autotrack" filters are really bad 
> at this. My OpenCV version seems to work quite well, but I have only done 
> some minimal testing.
>
> Code is currently available in my git clone:
>
> https://github.com/j-b-m/mlt.git
>
> in the opencv branch. The filter is in src/modules/opencv.
> It relies on OpenCV 3.1.0, which does sadly not seem to be widely 
> distributed.
>
> The filter takes a rectangle as argument, and will draw a rect around the 
> object while playing. color and rect fill are customizable.
>
> The filter can also analyse the video if the "analyse" property is set to 
> 1. This will then store an animated rect property in the filter, so that on 
> later playings and seeking, we don't need to reprocess.
>
> Filter is currently called "tracker", and you can browse the code here:
> https://github.com/j-b-m/mlt/tree/opencv/src/modules/opencv
>
> I will do some more testings, but if you already have comments, it's 
> welcome.
>
> regards.
>
> jb
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into 
> multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to