Ask Your Question

franjial's profile - activity

2019-04-09 13:27:05 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

ok, import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the error: Attribu

2019-04-09 13:26:08 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

this is a test: import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the er

2019-04-09 13:25:21 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the error: A

2019-04-09 13:24:26 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the er

2019-04-09 13:23:43 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the error: A

2019-04-09 13:22:44 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the error: A

2019-04-09 13:22:03 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

import cv2 alg = cv2.createGeneralizedHoughGuil() alg.setMinDist(40) alg.setLevels(40) And get the error: A

2019-04-09 11:47:19 -0600 received badge  Student (source)
2019-04-09 09:53:29 -0600 received badge  Supporter (source)
2019-04-09 09:53:25 -0600 marked best answer How to use OpenCV GeneralizedHoughTransform class with Python?

I'm trying to code a basic example of use of GeneralizedHoughBallard class using OpenCV 4.0.0 and Python 3.6. I have found an example for C++ here https://github.com/opencv/opencv/blob... but no for Python.

When I try to create a new instance of GeneralizedHoughBallard class:

import cv2
alg = cv2.createGeneralizedHoughBallard()

I get the error: "AttributeError: module 'cv2.cv2' has no attribute 'createGeneralizedHoughBallard".

I've seen in the OpenCV source (https://github.com/opencv/opencv/blob...) that createGeneralizedHoughBallard is declared with CV_EXPORTS so I suppose it should be possible to use with Python. I've tried to use another similar function that is declared in the same file (improc.hpp) for example: cv2.createCLAHE() and works fine.

What could be the problem?

2019-04-09 09:53:25 -0600 received badge  Scholar (source)
2019-04-09 06:19:43 -0600 commented answer How to use OpenCV GeneralizedHoughTransform class with Python?

Hi! I have edited the code and works fine now for Ballard algorithm but no for Guil. For make it works I think is necesa

2019-04-09 06:17:57 -0600 answered a question How to use OpenCV GeneralizedHoughTransform class with Python?

Hi! I have edited the code and works fine now for Ballard algorithm but no for Guil. For make it works I think is necesa

2019-04-03 04:38:20 -0600 asked a question How to use OpenCV GeneralizedHoughTransform class with Python?

How to use OpenCV GeneralizedHoughTransform class with Python? I'm trying to code a basic example of use of GeneralizedH