On Saturday, April 16, 2016 8:40:10 PM CEST, Brian Matherly wrote:
> Well, it is good to go from my perspective. Maybe wait for Dan to chime in.
>
> One other thought for your consideration:
>
> Would it be useful to have a mode that processes the alpha 
> channel instead of the color channels? You could use CV_8UC1 and 
> pass in the alpha buffer. I could image this being used as 
> follows:
> 1) Drop the same clip on two channels and align them in time.
> 2) Apply the tracking filter on the top and apply it to the alpha channel
> 3) Apply a blur filter on the bottom channel
> The tracked object would then be obscured by a blurred version of itself.

Hey, OpenCV is fun! 
One more line of code and the tracker filter can blur the object!
Will add it as an option.

regards
jb


> From: Jean-Baptiste Mardelle <j...@kdenlive.org>
> To: mlt-devel@lists.sourceforge.net 
> Sent: Saturday, April 16, 2016 12:03 PM
> Subject: Re: [Mlt-devel] New motion tracker filter
>
> 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
>


------------------------------------------------------------------------------
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