1 | initial version |
on opencv4android not sure but I think there is myvector.push_back (myvectorpoint); function ..... I suggest to use minarearect function for find 4point ... if you need store it in a vector ..... than draw the line around your poligon image (4 line poligon)..... using function line(IMG, point[0], point[1], scalar(XXX), 3,8,1)....for every poligon side.