top of page
andreahywong

Tracking can be Abstract(ed)

Updated: Jan 15, 2019

After deciding to replace [suckah] with another method of color tracking, it's onto making #abstractions to track more than one color! Dr. Hamel and I met up to work out which elements are shared and which elements are unique and therefore inside and outside the abstraction respectively. Below is our resulting #Tracker!


Basically this abstraction takes in:

  1. video/camera feed

  2. colour min RGB values

  3. colour max RGB values

  4. fast blur integers 1, 2, or 3 (this hasn't been moved outside yet but has some neat #future applications to sharpen and blur the edges of our tracked colour)

... and pushes out:

  1. the resulting black and white video (white pixels visually representing the tracked color)

  2. the centre location point (x, y) of our tracked color

  3. and the average RGB values of our tracked color (prepended with frgb)

We added some changes including:

  • using [sel -1] objects to remove -1 x and y jit.findbounds values from the resulting location output when the tracked colour is NOT present

  • I added some expressions that took an average rgb colour value from the tracked min and max colour RGB values to produce a foreground coloured dot/oval for our jit.lcd window (more on that later!)

Now to make a patch that uses several instances of this...

9 views0 comments

Recent Posts

See All

Comments


bottom of page