This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2SG: TDA2DG

Part Number: TDA2SG


Hi All,

We are trying to draw a LINE on the image using opengl APIs. Below is the code snipet we have tried but it seems the APIs(glVertex3f,glBegin,glColor3f) are not present in the vision_sdk. Kindly suggest some APIs so that we can proceed further.

Further we would like to draw a box(for a ROI).

The vision_sdk version is " Version 02.12.02 ".

CODE:-

glLineWidth(2.5);
glColor3f(1.0, 0.0, 0.0);
glBegin(GL_LINES);
glVertex3f(0.0, 0.0, 0.0);
glVertex3f(15, 0, 0);
glEnd();

Awaiting for your response.

Regards,

Ansuman