Script request:Video color picker OR Video Tracking mod

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
super8mm
Posts: 340
Joined: Sun Oct 12, 2008 3:22 pm

Script request:Video color picker OR Video Tracking mod

Post by super8mm »

Basing its plausibility with the video tracking script that samples a color in a video to track.

It could even be a combo tool that tracks a video and displays the color it's tracking. Displayed as a hex or RGB.
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 3:31 am
Location: New Zealand

Post by funksmaname »

why would you need to know the exact colour it's tracking? out of interest...
User avatar
super8mm
Posts: 340
Joined: Sun Oct 12, 2008 3:22 pm

Post by super8mm »

funksmaname wrote:why would you need to know the exact colour it's tracking? out of interest...
I wanted to overlap an actor with an animated character but some parts need some patches. When the actor isn't completely hidden I would put patches that match the background color.
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 3:31 am
Location: New Zealand

Post by funksmaname »

ah right... hmm...
User avatar
super8mm
Posts: 340
Joined: Sun Oct 12, 2008 3:22 pm

Post by super8mm »

After searching here I'll have to resort to 3d party software.

http://www.wincatalog.com/getcolor.html ... GetColor_m
Rudiger
Posts: 786
Joined: Sat Dec 17, 2005 5:25 pm

Post by Rudiger »

I'm sure the 3rd party solution you found will do the job, but just wanted to mention that it is possible to do it all inside AnimeStudio. Under windows, the Lua interpreter in AS lets you import functions from dlls and these function can have the low-level system access you need to access the pixel colour. I wrote such a dll to access clipboard. Unfortunately, the library I wrote for accessing the pixel colour was for the Mac OS. Anyway, I just though it was worth mentioning in case you wanted to have the patches automatically track the color of the video background or something.
Post Reply