Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find if 2 rectangles are overlapping each other

Hello Forum,

For the following image below, how do i determine if the smaller rectangle is overlapped / partially overlapped with the larger one ? I have their coordinates in frame i.e. rect.x and rect.y.

Should I just use FLANN or is there a better way ? http://docs.opencv.org/modules/flann/doc/flann_fast_approximate_nearest_neighbor_search.html

image description

How to find if 2 rectangles are overlapping each other

Hello Forum,

For the following image below, how do i determine if the smaller rectangle is overlapped / partially overlapped with the larger one ? I have their coordinates in frame i.e. rect.x and rect.y.

Should I just use FLANN or Nearest Neighbour or is there a better way ? http://docs.opencv.org/modules/flann/doc/flann_fast_approximate_nearest_neighbor_search.html

image description

How to find if 2 rectangles are overlapping each other

Hello Forum,

For the following image below, how do i determine if the smaller rectangle is overlapped / partially overlapped with the larger one ? I have their coordinates in frame i.e. rect.x and rect.y.

Should I just use FLANN or Nearest Neighbour or is there a better way ? http://docs.opencv.org/modules/flann/doc/flann_fast_approximate_nearest_neighbor_search.html

image description

How to find if 2 rectangles are overlapping each other

Hello Forum,

For the following image below, how do i determine if the smaller rectangle is overlapped / partially overlapped with the larger one ? I have their coordinates in frame i.e. rect.x and rect.y.

Should I just use FLANN or Nearest Neighbour or is there a better way ? http://docs.opencv.org/modules/flann/doc/flann_fast_approximate_nearest_neighbor_search.html

image description