Your message dated Tue, 24 Dec 2019 11:47:55 +0200
with message-id <20191224094755.5du6yccp2am2ryha@localhost>
and subject line Re: Bug#947230: usb-cam capture fails at 'higher' resolution 
on RPI4
has caused the Debian Bug report #947230,
regarding usb-cam capture fails at 'higher' resolution on RPI4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
947230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947230
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pygame, Version: 1.9.4.post1 (Location: /usr/lib/python3/dist-packages)

I'm unable to take an image of an usb-camera highter than 160x120 resolution on 
Raspberry pi 4 with python3, my desired resolution is 640x480.



setup:

RPI4 (1gb), latest raspbian buster, fully updated (rpi-update): Linux robopi 
4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019 armv7l GNU/Linu usb camera: 
Logitech, Inc. HD Webcam C525

software:

    Python  3.7.3

    Pygame  Version: 1.9.4.post1 (Location: /usr/lib/python3/dist-packages)

    pip3:   pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)



minimal script I use: (executed as 'sudo python3 test.py')

               pygame.init()

               pygame.camera.init()

               cam = pygame.camera.Camera("/dev/video0",(640,480))

               cam.start()

               image = cam.get_image()

               pygame.image.save(image,'demo_camera.jpg')

               cam.stop()

               pygame.camera.quit()



behaviour:

script hangs when calling cam.get_image()  when I change the resolution to 
160x120 (or lower) it works and generates an image of 160x120



When I put the sd card into my RPI3 the script works with my desired resolution 
of 640x480.



The camera itself is able to capture images of 640x480, the following command 
results in a picture of requested resolution:

fswebcam -r 640x480 image.jpg

fswebcam -r 1280x720 image.jpg



relevant information:

the usb camera creates 2 /dev/video devices, behaviour described here by 
someone else: 
https://raspberrypi.stackexchange.com/questions/100395/single-webcam-using-dev-video0-and-dev-video1



--- End Message ---
--- Begin Message ---
Hello,

Please note that while Raspbian is based on Debian there may be 
significant differences.

Because of this any issues should be reported to Raspbian instead. If 
the problem is present in Debian as well (did you check?) the Raspbian 
developers will take care to forward the report to Debian.

Hope this helps,
Andrei
(looking after bugs reported against inexistent or removed packages)

On Lu, 23 dec 19, 08:52:05, Corné Roozemond wrote:
> Package: pygame, Version: 1.9.4.post1 (Location: 
> /usr/lib/python3/dist-packages)
> 
> I'm unable to take an image of an usb-camera highter than 160x120 resolution 
> on Raspberry pi 4 with python3, my desired resolution is 640x480.
> 
> 
> 
> setup:
> 
> RPI4 (1gb), latest raspbian buster, fully updated (rpi-update): Linux robopi 
> 4.19.88-v7l+ #1284 SMP Wed Dec 11 13:51:57 GMT 2019 armv7l GNU/Linu usb 
> camera: Logitech, Inc. HD Webcam C525
> 
> software:
> 
>     Python  3.7.3
> 
>     Pygame  Version: 1.9.4.post1 (Location: /usr/lib/python3/dist-packages)
> 
>     pip3:   pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
> 
> 
> 
> minimal script I use: (executed as 'sudo python3 test.py')
> 
>                pygame.init()
> 
>                pygame.camera.init()
> 
>                cam = pygame.camera.Camera("/dev/video0",(640,480))
> 
>                cam.start()
> 
>                image = cam.get_image()
> 
>                pygame.image.save(image,'demo_camera.jpg')
> 
>                cam.stop()
> 
>                pygame.camera.quit()
> 
> 
> 
> behaviour:
> 
> script hangs when calling cam.get_image()  when I change the resolution to 
> 160x120 (or lower) it works and generates an image of 160x120
> 
> 
> 
> When I put the sd card into my RPI3 the script works with my desired 
> resolution of 640x480.
> 
> 
> 
> The camera itself is able to capture images of 640x480, the following command 
> results in a picture of requested resolution:
> 
> fswebcam -r 640x480 image.jpg
> 
> fswebcam -r 1280x720 image.jpg
> 
> 
> 
> relevant information:
> 
> the usb camera creates 2 /dev/video devices, behaviour described here by 
> someone else: 
> https://raspberrypi.stackexchange.com/questions/100395/single-webcam-using-dev-video0-and-dev-video1
> 
> 

Attachment: signature.asc
Description: PGP signature


--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to