eloquentarduino / EloquentEsp32cam

Use your Esp32-cam like an expert
GNU General Public License v3.0
85 stars 16 forks source link

Rio's parameters in rect. and circular mode #1

Closed afshinjian closed 5 months ago

afshinjian commented 1 year ago

Hello Thank you for your good library. I need more explanation about determining Rio's parameters in square mode. Most of the coordinate determination is what I want. Are the X and Y points defined based on the bottom left? What are the maximum width and length values? I would be grateful if you could give more details. Also in circular mode. Sincerely

copilador commented 8 months ago

Hi. Thank you for the great work. I have the same doubt as afshinjian, if for example I use Eloquent::Esp32cam::Motion::RoI::Rect rect1(1, 2, 6, 4, 0.5); does it correspond to a rectangle that starts at the position with coordinates X=1, Y=2 with the top left of the image being the origin? as in the image in the link https://i.postimg.cc/L66mwQNH/coordinatesystem-rect-antialias.png thank you very much.

The problem was solved with the example 13_Motion_Live_Feed_With_RoIs.ino