Ask Your Question

gunslinger_'s profile - activity

2019-01-13 17:48:21 -0500 received badge  Notable Question (source)
2018-06-10 04:20:53 -0500 received badge  Popular Question (source)
2016-12-19 05:21:01 -0500 received badge  Student (source)
2014-04-06 23:11:24 -0500 received badge  Scholar (source)
2014-04-05 08:59:05 -0500 asked a question Is it possible to draw half circle?

Simple question. Is it possible to draw half circle in OpenCV? If not, how can I do this especially in Python?

2014-04-01 04:10:11 -0500 commented question iOS video Processing is slow,how can i run it in background?

In my experience, using Haarcascade is slow. maybe you could try another algorithm. and see any differences.

2014-04-01 03:50:33 -0500 received badge  Supporter (source)
2014-04-01 03:47:18 -0500 asked a question How can i get angle and line length in Python OpenCV

I have a chunk of code to get start, end, far variable from Convexity Defects :

    hull = cv2.convexHull(cnt,returnPoints = False)
    defects = cv2.convexityDefects(cnt,hull)

    for i in range(defects.shape[0]):
        s,e,f,d = defects[i,0]
        start = tuple(cnt[s][0])
        end = tuple(cnt[e][0])
        far = tuple(cnt[f][0])


I need to dismissed convexity defect from finger if:

line_length<0.4lbb and angle>80o

So How can i get angle and line length value from those start, end, far variable? and dismissed convexity defect from given rule?