Code Monkey home page Code Monkey logo

rpicamgui's People

Contributors

gordon999 avatar ivanmicetic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rpicamgui's Issues

Camera_Version() Value Error

Testing Pi5 with Arducam 16MP (B0371)

I receive...
File "home/andrsuth/RPICamGUI.py", line 315, in Camera Version
vfps2.append(int(forms[q][1:3]))
ValueError: invalid literal for int() with base 10: '9.'

Camera disconnects when monitor is off

Thanks for your awesome utility! We're trying to use your GUI for running timelapses on an array of Raspberry Pi's with the cameras mounted to microscopes for a research project. To simplify control, we have all of the Pi's on a KVM switch but we've found that switching between Pi's causes timelapses to fail because the camera can no longer be found. Does this sound like something that would be easy to fix? I have no experience with the Pi camera API so figured it would be easiest to ask you.

Any way to use CamGUI just using a preview screen with VNC?

This is not really an "issue" as it is working as intended for me.

I am using a Pi Zero 2 mounted inside a 3D printer with a PiCam module 3 wide. When I run RPiCamGUI it informs me that it can not run, because it can not find an external monitor, which I assume is the way it's supposed to work.

Is there a way the code can be modified so that I can run this configuration using a preview window with VNC? If not that's fine, I can always take it out of its case, and attach a small monitor. That should allow me to get it close enough. Just thought I'd ask. Great work, by the way, really finding it useful in setting up PiCams.

ModuleNotFoundError: No module named 'cv2'

When I run it I get an error

pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/home/pi/RPiCamGUI-main/RPiCamGUI.py", line 27, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

Do I need to install something else?
Thanks
Mick

Using RealVNC with RPiCamGUI

Hi,
I used the original app and it was excellent thank you.

Using the new app I am unable to initiate viewer using RealVNC as pygame exits with No available displays.
Is there something in the config script I can change for it to work? or is it a bigger issue.
I am using the latest OS for the RPI with a 3b.

Regards
Sean

IMX519 on bookworm RPi4

RPI 4

Gives me:

pixar@raspberrypi:~ $ python3 /RPiCamGUI.py
pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
4
Traceback (most recent call last):
File "/home/pixar/RPiCamGUI.py", line 460, in
Camera_Version()
File "/home/pixar/RPiCamGUI.py", line 315, in Camera_Version
vfps2.append(int(forms[q][1:3]))
^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '9.'
pixar@raspberrypi: $

Any suggestion how to solve this?

Manual focus jumps back and forth

When i use libcamera and specify a lens position value (for focusing) it works good, but in the RPiCamGUI, the focus doesn't wanna stick to the focus value i choose and keep jumping back and forth and try focusing even in manual mode (which doesn't work in darkness)
Is it possible to implement the libcamera lens position in RPiCamGUI?
Or do i do something wrong?

Arducam 64mp Hawkeye cam on Pi4 latest Bookworm

This is the error i receive when i run the python script.

pygame 2.1.2 (SDL 2.26.5, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Pi: 4
Camera: imx290
No Camera Found

This is the content of the libcams.txt

Available cameras
-----------------
0 : arducam_64mp [9248x6944 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
    Modes: 'SRGGB10_CSI2P' : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
                             1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
                             2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
                             3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
                             4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
                             8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
                             9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]

Can you add external shutter button?

Amazing you're still developing this. Excellent work.
I was wondering if you could add code to have an external shutter release when you ground a Gpio pin. I see 21 and 26 are already used. Maybe something else close to a ground like gpio 27.
Then I could use a controller set to fire a shot over intervals for macro stacking on a rail.
Thank you
David

Does it work with Raspberry pi zero 2W connected to a camera module 3?

Hi.
I have tried using the GUI with Raspberry pi zero 2W which is connected to a 12 MP camera module 3. But I have came across an error which I am unable to solve -

python3 ~/RPiCamGUI.py
<frozen importlib._bootstrap>:228: RuntimeWarning: Your system is neon capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
pygame 2.5.2 (SDL 2.0.14, Python 3.9.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/home/biprav/RPiCamGUI.py", line 193, in <module>
    Pi = int(mod[3])
ValueError: invalid literal for int() with base 10: 'Zero'

I am unable to resolve this issue. I wanted to know whether the RPiCamGUI will work with the pi zero 2W? Please help me out.
Thank you.

Streaming

In the py file i can edit the stream port, so that implies a streaming function. However, after starting the script and running netstat -tapn, i find no open port and also no streaming.
So is this a lack of a feature, a bug or expected behaviour (no streaming)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.