Ask Your Question

choco's profile - activity

2020-09-21 04:56:03 -0600 received badge  Student (source)
2018-10-06 15:33:55 -0600 received badge  Notable Question (source)
2017-12-05 11:31:10 -0600 received badge  Popular Question (source)
2016-06-01 04:11:38 -0600 commented answer possible to convert value of a Point to string? opencv c++

thanks it works!

2016-06-01 03:44:23 -0600 asked a question possible to convert value of a Point to string? opencv c++

i want to convert a value of a Point to string, so that i could print the location of that Point on an image.

i am suppose to use this

putText(image, to_string("this is string"), maxLoc,FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(255, 255, 204), 1, CV_AA);

i tried to replace it, and make it to below, and it failed. It work if i just to_string a integer variable

putText(image, to_string(point_variable), maxLoc,FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(255, 255, 204), 1, CV_AA);

2016-05-16 23:05:00 -0600 commented question how to detect several shapeless object in an image

close operation on second image?

2016-05-16 12:34:47 -0600 commented question how to detect several shapeless object in an image

thanks! i will try it now^^

2016-05-16 12:16:48 -0600 asked a question how to detect several shapeless object in an image

Hi guys! how could i detect the object as shown in 1st image? or would it be easier by using 2nd image? It is ok to ignore the small dots/noise, but i wan to detect at least the larger shape. It would be helpful if any keywords is provided for me to learn :)

1st picture

2nd picture

2016-05-16 12:06:21 -0600 commented answer how to determine the center of a star-like object?

hi, in this link, is this the moment i should prefer?

2016-05-15 23:06:09 -0600 received badge  Supporter (source)
2016-05-14 22:21:50 -0600 commented answer how to determine the center of a star-like object?

i guess this is the answer, i still doing it and need more time to digest, thanks for the guide

2016-05-14 22:21:49 -0600 received badge  Scholar (source)
2016-05-14 09:24:55 -0600 asked a question how to determine the center of a star-like object?

hi guys i'm new to opencv! I wanted to know is there a way to find the center of a start-like object? as shown in this image star, it contain a star and other object. my question is:

  1. can i find the center based on the color pattern to create a result like this image with cross point? by then i am able to get the centre pixel location, right?
  2. in this image shuriken, since it doesn't have a clear color pattern, could i use the same approach in 1 to find the center?

i am willing to learn, so u may just provide the step/keyword then let me go figure out the coding part, but it may lead to more question from me :) if any tutorial of guideline link is provided it would be more helpful.