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

TypeError: surf and dest_surf not the same size #11

Open
Abdee4 opened this issue Jan 18, 2019 · 1 comment
Open

TypeError: surf and dest_surf not the same size #11

Abdee4 opened this issue Jan 18, 2019 · 1 comment

Comments

@Abdee4
Copy link

Abdee4 commented Jan 18, 2019

pygame.transform.threshold(thimg, image, self.settings['pupilcol'], th, self.settings['nonthresholdcol'], 1)

screenshot 40

@kprimo
Copy link

kprimo commented Jul 10, 2020

these changes may solve your problem

camera.py:

line 69: change 'camres=(640, 480)' into your camera resolution, change 'dispres=(2560, 1440)' into your screen resolution.
line 776: change 'camres=(640, 480)' into your camera resolution.

_camera_vidcapture.py:

line 45: change 'size = (1920,1080)' into your camera resolution.

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

2 participants