Skip to content

from RANSAC.Algorithm import BullockCircleFitting fails #4

Description

@miroslavradojevic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions