Hello Chris,

I am a little bit lost with upgrading to Cvb.net

Here is part of the code I wrote to find edges, set areas and add labels with my old AX Tools

```
BolLocated = (Cvb.Minos.Search.SearchOptimum(CLFRIGHTrightClassifier, axCVimage2.Image, 0, 1000, scanArea, out quality, out xPos, out yPos, out dX, out dY, out className));
if (BolLocated)
{
if (ChkShowAllLabels.Checked == true)
{
if (ChkLabelContents.Checked == true)
{
axCVdisplay2.AddLabel("RIGHTright", true, 255, 0, (int)xPos, (int)yPos);
}
else
{
axCVdisplay2.AddLabel("", true, 255, 0, (int)xPos, (int)yPos);
}
}
axCVimage2.OriginX = (int)xPos - 100;
axCVimage2.OriginX = (int)yPos - 100;
for (int i = 22; i < 27; i++)
{
x0 = EdgesArray.arrayEdgeTool[i, 0];
x1 = EdgesArray.arrayEdgeTool[i, 2];
x2 = EdgesArray.arrayEdgeTool[i, 4];
y0 = EdgesArray.arrayEdgeTool[i, 1];
y1 = EdgesArray.arrayEdgeTool[i, 3];
y2 = EdgesArray.arrayEdgeTool[i, 5];
Cvb.Image.SetArea(x0, y0, x1, y1, x2, y2, out scanArea);
if (EdgesArray.arrayEdgeTool[i, 8] == 1)
{
BolLocated = Cvb.Edge.CSFindFirstEdge(axCVimage2.Image, 0, 1000, scanArea, EdgesArray.arrayEdgeTool[i, 6], Convert.ToBoolean(EdgesArray.arrayEdgeTool[i, 7]), out result);
}
else
{
BolLocated = Cvb.Edge.TSFindFirstEdge(axCVimage2.Image, 0, 1000, scanArea, EdgesArray.arrayEdgeTool[i, 6], Convert.ToBoolean(EdgesArray.arrayEdgeTool[i, 7]), out result);
}
if (BolLocated) /// if the edge is found then show labels
{
if (ChkShowAllLabels.Checked == true)
{
if (ChkLabelContents.Checked == true)
{
axCVdisplay2.AddLabel(Convert.ToString(i), true, 255, 0, (int)result.x, (int)result.y);
}
else
{
axCVdisplay2.AddLabel("", true, 255, 0, (int)result.x, (int)result.y);
}
}
}
```

I really can not find any tutorial about how to find edges, set areas or adding labels to my new Display.

Where can I learn it? is there any tutorial?

for example

```
Cvb.Edge.CSFindFirstEdge(axCVimage.Image, 0, 1000, scanArea, EdgesArray.arrayEdgeTool[i, 6], Convert.ToBoolean(EdgesArray.arrayEdgeTool[i, 7]), out result);
```

What’s the equivalent for “axCVimage.Image” because if I change it for “Device” I have this error:

“Cannot convert from ‘Stemmer.Cvb.Device’ to 'Cvb.Image.IMG”

As you can see I am really really lost with this.

Our program, basically, needs:

1.- Set an area

2.- Find the edge

3.- Add a Label

Sorry to bother you Chris, if I can download the Cvb.Net tutorials for those 3 points I will study them. I need help

Thank you very very much again