PiCameraApp icon indicating copy to clipboard operation
PiCameraApp copied to clipboard

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

Open Alancowlishaw opened this issue 7 years ago • 5 comments

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

Alancowlishaw avatar Apr 09 '18 19:04 Alancowlishaw

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

Billwilliams1952 avatar Apr 09 '18 19:04 Billwilliams1952

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

Alancowlishaw avatar Apr 10 '18 19:04 Alancowlishaw

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 [email protected] 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.

Billwilliams1952 avatar Apr 11 '18 04:04 Billwilliams1952

Hi Bill,

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

Thanks Stefano 👍

stefanoghazzali avatar Apr 11 '18 11:04 stefanoghazzali

It will be in it soon!

Bill

Sent from my iPhone

On Apr 11, 2018, at 6:40 AM, Stefano Ghazzali [email protected] 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.

Billwilliams1952 avatar Apr 11 '18 22:04 Billwilliams1952