Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  1. What marker should I print. The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  2. How to find the markers I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  3. How to define the features? can we use pre-defined feature set to detect the target markers?

  4. How to find the ROI I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code: int threhold = 1;//the original background is 0 threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV); findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  1. What marker should I print. The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  2. How to find the markers I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  3. How to define the features? can we use pre-defined feature set to detect the target markers?

  4. How to find the ROI I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code: code:

    int threhold = 1;//the original background is 0 threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV); findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  1. What marker should I print. The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  2. How to find the markers I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  3. How to define the features? can we use pre-defined feature set to detect the target markers?

  4. How to find the ROI I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

    int threhold = 1;//the original background is 0 0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV); CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  1. What marker should I print. print.

The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  1. How to find the markers
  2. How to find the markers

I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  1. How to define the features?
  2. How to define the features?

can we use pre-defined feature set to detect the target markers?

  1. How to find the ROI
  2. How to find the ROI

I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

int threhold = 1;//the original background is 0

0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  1. What marker should I print.

The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  1. How to find the markers

I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  1. How to define the features?

can we use pre-defined feature set to detect the target markers?

  1. How to find the ROI

I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

int threhold = 1;//the original background is 0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

    • What marker should I print.

The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

    • How to find the markers

I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

    • How to define the features?

can we use pre-defined feature set to detect the target markers?

    • How to find the ROI

I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

int threhold = 1;//the original background is 0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  • What marker should I print.

The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  • How to find the markers

I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  • How to define the features?

can we use pre-defined feature set to detect the target markers?

  • How to find the ROI

I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

int threhold = 1;//the original background is 0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

EDITS. This is my object to be detected. The marker is ARUCO markers image description

define marker and detect the number of markers

We need print several shape or marker in a special object, then we do a detection to calculate the number of markers. After research from many tutorials, I have the following questions,

  • What marker should I print.

The object is a rectangle shape, I can define the marker to print, I think it's better to print circles on the surface, what shape do you recommend?

  • How to find the markers

I learnt a lot from feature2d, historam match and template match, as well as ORB, LBP, BRISK,FREAK,SIFT, SURF etc. But these detect and compute methods seems not so good for this case.

  • How to define the features?

can we use pre-defined feature set to detect the target markers?

  • How to find the ROI

I have an idea, I don't know if it is feasible. I use the camera to take an background image firstly, then after capture the object, use minus to get the object. Mat background (from camera); Mat withObject (from camera); Mat target = withObject - background; after do that, I can see there is no background now. However, I don't how to figure out the shape of object. seems I can use the following code:

int threhold = 1;//the original background is 0

threhold(withObject , outputMat, threhold, 255, CV_BINARY_INV);

findContours(....)

Thanks a lot for your advices in advanced.

EDITS. This is my object to be detected. The marker is ARUCO markers image description

EDITS 2. My print version of image by ARUCO marker image description