silvanmelchior / RPi_Cam_Web_Interface

A web interface for the RPi Cam
MIT License
1.54k stars 493 forks source link

Compatibility with raspberry pi camera module 3? #692

Open biprav opened 9 months ago

biprav commented 9 months ago

Hi. I just bought a 12 MP raspberry pi camera module 3 and have connected it with a Pi zero 2W. I have tried using the cam web interface with the camera module 3 but it gives various errors. Can you kindly tell me whether it works with camera module 3?

Thank you.

roberttidey commented 9 months ago

This software uses the GPU legacy camera support which only supports v1 and v2 module rapsberry cameras.

biprav commented 9 months ago

This software uses the GPU legacy camera support which only supports v1 and v2 module rapsberry cameras.

Okay. Thank you for responding.

ways commented 5 months ago

No workaround to pipe video from camera v3 to this? I see there's some discussion around it in https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/688

roberttidey commented 5 months ago

This software currently makes heavy use of the GPU and the camera interface functions provided by the MMAL interface; now called legacy camera support and only available for v1 and V2 cameras.

There is not a simple video feed from the camera. The MMAL allows setting up duplicating data from the camera and passing it down various processing chains in the GPU tp provide for simultaneous, image capture, preview generation, video coding and capture, and video motion vectors for motion detection.

Yes, a lot of this could be ported to the new libCamera environment but this requires substantial software rewrites plus some of the functionality would need to be done in CPU software. This would be OK for the higher power Pi models but one of the use cases is to supply full functionality on PiZero hardware.

kaihokori commented 2 weeks ago

Hi @biprav, you might be interested in this. This program should be usable on the pi camera module 3 as it uses Picamera2 (which is developed by Raspberry Pi themselves) as a foundation. Be aware that not all functionality has been implemented but it should be a good starting point ^_^