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

Changing the Resolution #1

Open
jpagliaccio opened this issue Feb 21, 2019 · 2 comments
Open

Changing the Resolution #1

jpagliaccio opened this issue Feb 21, 2019 · 2 comments

Comments

@jpagliaccio
Copy link

Jake:

I just got all of your toupcam Python code working on Linux with my camera - a MU1403 14MP USB 3 that does stills and video. Great code by the way. The image is coming out fine.

I am trying to snapshot full size images but I am stuck at 1024x768. Any suggestions? The camera will do 2048x1644 and 4096x3286. I am trying to get to 4096x3286 and then adjust white balance. Any format is okay. I can always convert with ImageMagick.

And ps - I switched to lib.Toupcam_PullImageV2() in the code.

Thanks,
Joe

@jirhiker
Copy link
Member

just pushed an update.

try

    cam = ToupCamCamera(size=(2048,1644))
    cam.open()
    time.sleep(1)

    cam.save('foo.jpg')

@jpagliaccio
Copy link
Author

jpagliaccio commented Feb 21, 2019 via email

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