Hello!

My brain is a little foggy - I think I’m missing something possibly fundamental to approach my problem.

I have an vector of numbers coming in via contourFinder.size() - that vector is the amount of contours found with my camera.

Currently I have 7 - I now use number.push_back(contourFinder.getContourArea(i)); to get the areas of the of each contour / blob in that vector.

debug mode, I see that I have these values:

{ size=7 }

[capacity]: 9

[allocator]: allocator

[0]: 896

[1]: 1708

[2]: 554

[3]: 369

[4]: 8719

[5]: 918

[6]: 415

Here is where I am stuck - and maybe you can help?!

I would like to capture each value of each space in the vector in its own int, eg, int a = 896 - I’m happy / expecting the area to change - I’m hoping to use the vals to drive other functions…

I anticipate that the size of my initial vector will also update, getting bigger / smaller depending on what’s in the scene.