defining a bounding box to test if a cv.jit centroid is within the box

    May 19 2012 | 3:29 am
    anyone can offer a novice the answer to defining a bounding box and testing if a centriod derived from a blob is within the box? the if then else statement does not have appear have a and if. i also cannot find a case in max, either...

    • May 19 2012 | 3:34 am
      Generally I do bounding boxes by doing linked sets of []
      Combine them with an expr (condition 1* cond 2* cond 3*...cond n*) (thanks roman!) - that way if any of them are false then all of them are false.
    • May 19 2012 | 2:41 pm
      hi jamesson, do you think there may be another way to do this that processes faster? when i put four of these in, and pass the cv.jit. centroid location and start the media stream, the frame drops to 5 - 10 FPS...
    • May 21 2012 | 6:15 am
      the linked if then else works great... thanks for the advice