Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from RANSAC.Algorithm import BullockCircleFitting fails #4

Open
miroslavradojevic opened this issue Mar 9, 2023 · 0 comments
Open

Comments

@miroslavradojevic
Copy link

When trying to import BullockCircleFitting class, error pops-up:
TypeError: Parameters to generic types must be types. Got <module 'Common.Point' from '/path_on_my_pc/Common/Point.py'>
It prevents me from trying the code. Any ideas on solving this? Is Point class allowed to be used the way it is called in BullockCircleFitting.py when initializing the BullockCircleFitting class:

class BullockCircleFitting(object):
    """Implements Randy Bullock algorithm for circle fitting"""
    def __init__(self,points:List[Point]):
        self._points=points
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant