Billwilliams1952 / PiCameraApp

A graphical interface for programming the Raspberry Pi PiCamera. Written in Python using Tkinter.
280 stars 66 forks source link

Cannot ReSize PiCameraApp.py on GIPO 3.5" Touchscreen TFT LCD (320*480) #7

Open Alancowlishaw opened 6 years ago

Alancowlishaw commented 6 years ago

We are running your code on a Raspberry Pi (Linux raspberrypi 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux)

And we are not using the HDMI output - is there a way to resize the app so that it can be used on the GIPO screen , had a look in PiCameraApp.py but could not find the option,

Any help would be useful

Billwilliams1952 commented 6 years ago

Hi Alan,

I’d be glad to help. I'll look at the code and see if it can be easily resized down. However 320x480 is not a lot of room for all of the controls. I'll see what I can do though.

There is another option. I am planning to release a new program called microVIEW, that is targeted for touchscreens. Less cluttered screen, with the capability to do time lapse photo and video captures. It'll even support video streaming to web browsers connected on the local network. As designed right now, it looks great on a 1280 x 800 touchscreen and at 800 x 600. Anything smaller may require a bit of finesse since the 'buttons' and 'sliders' start to get really small - but I can certainly look to make it run on even lower resolution screens. If you can wait a bit, then I would opt for this option. Look for the initial release within the next week or so!

Bill

Alancowlishaw commented 6 years ago

Hi Bill,

Many thanks for your kind offer - the microView App sounds cool - keep us posted.

With regards to this issue we have managed to disable the GPIO screen and re enabled the HDMI output then we are using VNC to connect to the pi at a resolution of 1280 * 1024.

The app now appears in the screen , however we still have an issue that being that the preview plane is visible but not getting a preview from the Camera however if you click on picture/video it takes a picture or video but won't preview video or pictures

any help is appreciated

Alan

Billwilliams1952 commented 6 years ago

Hi Alan,

I think preview will never show up if you’re using VNC.

I believe the preview output is injected directly onto the video stream by the RPI GPU to the HDMI port. It is not using the Linux windows manager - so any server software will not get the preview.

To see the preview, you would need to ‘stream’ the preview to the local network. My PiCameraApp does not do that - yet. But, I could add the capability, since that is exactly what my microVIEW program does. The preview appears on a web page.

Bill

Sent from my iPhone

On Apr 10, 2018, at 2:13 PM, Alan Cowlishaw notifications@github.com wrote:

Hi Bill,

Many thanks for your kind offer - the microView App sounds cool - keep us posted.

With regards to this issue we have managed to disable the GPIO screen and re enabled the HDMI output then we are using VNC to connect to the pi at a resolution of 1280 * 1024.

The app now appears in the screen , however we still have an issue that being that the preview plane is visible but not getting a preview from the Camera however if you click on picture/video it takes a picture or video but won't preview video or pictures

any help is appreciated

Alan

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

stefanoghazzali commented 6 years ago

Hi Bill,

If it is possible to add the code to the main app, that would be great

Thanks Stefano 👍

Billwilliams1952 commented 6 years ago

It will be in it soon!

Bill

Sent from my iPhone

On Apr 11, 2018, at 6:40 AM, Stefano Ghazzali notifications@github.com wrote:

Hi Bill,

If it is possible to add the code to the main app, that would be great

Thanks Stefano 👍

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.