video capture for motion tracking

Answers

  • Can you describe what should be happening, and what is actually happening?

    You write "the ellipses aren't recognizing the rectangles". So what should the ellipses be doing? If you also point to the lines we should look at, it would help.

  • please use ctrl-t in your processing to auto-format

    thx

  • edited April 2014

    The ellipses are supposed to detect the distance between themselves and the rectangles. The class Circle has two objects 'small1' and 'small 2'. Small1 loads in the top half, small 2 loads in the bottom half. Small1 needs to detect 'rect1' and small2 needs to detect 'rect2'. When small1 and small2 detect the rectangles at the same time, i'd like the background and pixel color to change. However, I don't know if changing the color of the pixels is possible without having to recode everything. Maybe with a switch function? */

  • Did I explain what is trying to be accomplished with enough clarity?

Sign In or Register to comment.