Editing data on a VPIArray

Hi,

The structure between VPIKeypoint and cv::Point is quite different.

In VPIKeypoint: VPI - Vision Programming Interface: Common Types

 typedef struct
{
    float x, 
    float y;   
} VPIKeypoint;

In cv::Point: opencv/types.hpp at master · opencv/opencv · GitHub

template<typename _Tp> class Point_
{
public:
    ...
    _Tp x; //!< x coordinate of the point
    _Tp y; //!< y coordinate of the point
};

Good to know you fix this already.
Above information is just for your reference.

Thanks.

1 Like