billw2 / pikrellcam

Raspberry Pi motion vector detection program with OSD web interface.
GNU General Public License v3.0
262 stars 70 forks source link

Will someone carry on the legacy? #82

Open kajan001 opened 2 years ago

kajan001 commented 2 years ago

Is there anyone here that is prepared to carry on the legacy of Bill in Pikrellcam? I would gladly do it myself but this is way over my paygrade.

Waltertscott10 commented 2 years ago

I do hope someone can step up, this is a great piece of software, I certainly would if I had any idea what I was doing, it has taken me two days to figure out how to modify the install script for bullseye. I'm no programmer just it just a hobby for me would love to mess around and learn the code but don't have time or knowledge for maintaining it.

kajan001 commented 2 years ago

Anyone? Please!!

lucaji commented 1 year ago

I updated the install and python scripts, updated jQuery and Bootstrap to latest version thus modernizing parts of the web interface as well.

There is a brand new proto-dashboard for sensor logging (temp and humidity).

I believe to have made too many substantial changes, and being a rough (and unfinished yet) implementation from my side at the time of writing, I won't spawn a PR to sync with this original repo, but please accept this note as heads up for anyone interested.

My repo available here.

Any thoughts, advice, comments are welcome.

ghost commented 1 year ago

+1 upvote you take over

On Sat, Oct 29, 2022 at 1:48 PM Luca Cipressi @.***> wrote:

I updated the install and python scripts, updated jQuery and Bootstrap to latest version thus modernizing parts of the web interface as well.

There is a brand new proto-dashboard for sensor logging (temp and humidity).

I believe to have made too many substantial changes, and being a rough (and unfinished yet) implementation from my side at the time of writing, I won't spawn a PR to sync with this original repo, but please accept this note as heads up for anyone interested.

My repo available here https://github.com/lucaji/pikrellcam.

Any thoughts, advice, comments are welcome.

— Reply to this email directly, view it on GitHub https://github.com/billw2/pikrellcam/issues/82#issuecomment-1295812671, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGAJYEVKVEAW4QU7IAHQ6DWFUFJ3ANCNFSM5SA4OINA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gbmaple commented 1 year ago

I started to use this great piece of software, a couple of years ago and I am really impressed with it. There is so much built in functionality and it is very easy to install and maintain. Short term, the install script needs to be modified to support Bullseye which uses php 7.4, also since Bullseye has moved from picamera to libcamera, you will need to activate legacy camera support in Raspi-config. Long term, pikrellcam will need to be switched from using picamera to libcamera and then Bullseye 64 bit support (perhaps?).

kajan001 commented 1 year ago

I have used the buster legacy (2022 something) and pikrellcam and that still works. I have been trying to update the installer so it works with bullseye and other debian kernels (tinker board) but I do not have the know-how. Does anyone know how to work the main pikrell cam program? I think it is in c or c++. I have not even been able to open it.

Can we make this a sticky?

rleyden559 commented 1 year ago

My hope would be that pikrellcam could be modified to use libcamera or libcamera2 to enable to use of newer cameras, including Arducam cameras. I have purchased 4 different Arducam cameras, the most useful to me being the low light camera. All of these require Bullseye and libcamera (plus perhaps Arducam libraries). My guess is that would require such a major re-write that even calling it a fork would be a stretch. The fork lucaji is welcome. I had been looking for a way to display temperature. I've written simple python programs to use my Arducam's. Capturing images on motion or pir is easy. Streaming using libcamera seemed flaky the last time I looked into it (Summer 2022)

kajan001 commented 1 year ago

I have tried to install pikrellcam on debian 10 (tinkerboard with picam v2) but with no success. I am guessing the libraries attached to the camera are not the same and since I know nothing of how c programing works I dont know how and where the c-program gets the stream and vectors from the camera. Otherwise maybe these could be changed.

A guess would be in pikrellcam.h though:

gbmaple commented 1 year ago

I looked into libcamera and the interface examples (e.g. simple-cam) are programmed in C++. Bill wrote Pikrellcam in C, so to integrate with libcamera Bills code would need to be reprogrammed using C++. Thankfully, many C datastructures and functions can be used directly in C++ and C++ is object oriented. I think we should maintain Bills great code, including the UI and just change the interface to libcamera. I know Python and a little C. So ideally we would need help from some C++ programers. Once built we could then test using are various hardware and camera setups.

On Wed, 5 Apr 2023, 18:35 Kajan, @.***> wrote:

I have tried to install pikrellcam on debian 10 (tinkerboard with picam v2) but with no success. I am guessing the libraries attached to the camera are not the same and since I know nothing of how c programing works I dont know how and where the c-program gets the stream and vectors from the camera. Otherwise maybe these could be changed.

A guess would be in pikrellcam.h though:

— Reply to this email directly, view it on GitHub https://github.com/billw2/pikrellcam/issues/82#issuecomment-1497870495, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6WWG7VP67IKCXM6N722QRDW7WUMJANCNFSM5SA4OINA . You are receiving this because you commented.Message ID: @.***>

kajan001 commented 1 year ago

Is libcamera the equivalent of the mmal lib used in previous releases? A quick Google makes it seem possible to call c++ Library from a c program.