Skip to content

Commit

Permalink
Add more tags by default
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Sep 6, 2024
1 parent 3fc8ff9 commit 7b98809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion psychopy_eyetracker_pupil_labs/pupil_labs/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class AprilTagFrameComponent(BaseVisualComponent):
iconFile = Path(__file__).parent.parent / 'apriltag_frame.png'
tooltip = _translate('AprilTag: Markers to identify a screen surface')

def __init__(self, exp, parentName, h_count=3, v_count=3, marker_ids='', marker_size=0.125, marker_units="from exp settings", anchor="center", size=[2, 2], units="norm", startType='time (s)', startVal=0.0, *args, **kwargs):
def __init__(self, exp, parentName, h_count=4, v_count=3, marker_ids='', marker_size=0.125, marker_units="from exp settings", anchor="center", size=[2, 2], units="norm", startType='time (s)', startVal=0.0, *args, **kwargs):
super().__init__(exp, parentName, size=size, units=units, startType=startType, startVal=startVal, *args, **kwargs)

self.type = 'Image'
Expand Down
2 changes: 1 addition & 1 deletion psychopy_eyetracker_pupil_labs/pupil_labs/stimuli.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def marker_verts(self):


class AprilTagFrameStim(ImageStim):
def __init__(self, h_count=3, v_count=3, marker_ids=None, marker_size=0.125, marker_units='', contrast=1.0, *args, **kwargs):
def __init__(self, h_count=4, v_count=3, marker_ids=None, marker_size=0.125, marker_units='', contrast=1.0, *args, **kwargs):
super().__init__(*args, **kwargs)

self.marker_verts = {}
Expand Down

0 comments on commit 7b98809

Please sign in to comment.