c# - OpenCV coordinates conversion -


i want ask question seemed me quite simple, in end turned out it's difficult do. question is: how translate coordinates of opencv point unity coordinates (vector2). have video camera on recognize face, , if person in oval border, user can take photo (like faceapp do). problem draw oval linerenderer , can not compare coordinates of points, coordinates of points on face, because these coordinates of opencv point. decision best me??

i assume opencv point meant system.drawing.point (see docs)? if using variable can convert follows:

public static vector2 tovector2(point point) {     return new vector2(point.x, point.y); } 

Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -