1
를 점프 : 나는 감지 할 때원 감지 내가 원을 감지하려면 다음 코드를 사용하고
gray = cv2.GaussianBlur(gray, (5, 5), 0);
gray = cv2.medianBlur(gray, 5)
kernel = np.ones((2, 2), np.uint8)
gray = cv2.erode(gray, kernel, iterations=1)
gray = cv2.dilate(gray, kernel, iterations=1)
circles = cv2.HoughCircles(gray, cv2.HOUGH_GRADIENT, 1, 200,
param1=100, param2=50, minRadius=0, maxRadius=150)
if circles is not None:
# Convert the (x,y) coordinate and radius of the circles
circles = np.round(circles[0, :]).astype("int")
# Loop over the (x,y) coordinate and radius of the circles
for (x, y, r) in circles:
# Draw the circle in the output
cv2.circle(fancy_frame, (x+x1, y+y1), r, (0, 255, 0), 4)
그러나, 원 점프입니다. 이것을 어떻게 분류 할 수 있습니까? 어떤 haar 또는 svm 그것을 감지 할 수 있습니까?
내가 HoughCircles
parameters을 조정할 귀하의 코드가 잘 보이는
결과 및 예상 결과를 게시하십시오. – zindarod
업데이트 된 질문 – user1241241
을 확인하십시오. 일부 추적 알고리즘을 적용해야합니다 (예 : kalman-filter – eyllanesc