×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

INDI LibCamera Driver

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

Not a single crash for me,
1-2s exposures, gain 16, running all night in 8 bit phd2, this are my libcam versions

libcamera-dev:arm64 0.1.0+rpt20231122-1 >
ii libcamera-ipa:arm64 0.1.0+rpt20231122-1 >
ii libcamera-tools 0.1.0+rpt20231122-1 >
ii libcamera0.1:arm64 0.1.0+rpt20231122-1 >
2 months 1 week ago #99258

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0

Replied by Matt on topic INDI LibCamera Driver


I've tried these steps a few times now with Stellarmate 1.8.1 on a pi 4B. After one to two captures the driver crashes. Tested with the LibCamera imx477. New to this software as of last week, but willing to provide any logs or testing if you can point me in the right direction. I would prefer to get this camera working vs buying another at this time.
2 months 2 days ago #99417

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic INDI LibCamera Driver

Issue with upstream RPICAM leading to out-of-memory error, it's reported here: github.com/raspberrypi/rpicam-apps/issues/640
2 months 2 days ago #99420

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic INDI LibCamera Driver

Apparently the OOM issue was due to not parsing options, I uploaded a new version. Please check it out.
2 months 2 days ago #99422

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0

Replied by Matt on topic INDI LibCamera Driver

Yes sir, that solved the issue for me. I updated to the latest, setup a capture of 300 and let it run. No issues to report. Thank you for taking the time to get that update in there so quickly.
2 months 1 day ago #99428

Please Log in or Create an account to join the conversation.

  • Posts: 144
  • Thank you received: 7

Replied by Ettore on topic INDI LibCamera Driver

Hello i have this error:
Found LIBCAMERA Library: /usr/local/lib/aarch64-linux-gnu/libcamera.so
CMake Error at /home/masseris/Projects/indi-3rdparty/cmake_modules/FindLibCameraApps.cmake:43 (message):
LIBCAMERAAPPS Library not found. Please install rpicam-apps
Call Stack (most recent call first):
CMakeLists.txt:14 (find_package)

Ettore
1 month 4 weeks ago #99500

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

Details please what os, what device, and did you follow stepps I posted on previous page?
1 month 3 weeks ago #99505

Please Log in or Create an account to join the conversation.

  • Posts: 144
  • Thank you received: 7

Replied by Ettore on topic INDI LibCamera Driver

This is error, correct in "git clone --depth=1 github.com/indilib/indi-3rdparty"
I resolved with github.com/aaronwmorris/indi-allsky/blob...c/build_libcamera.sh
Ettore
1 month 3 weeks ago #99508

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
I can't find a way to delete post. I learned that the FITS images need to be deabayered. I did not do that, so I think the issues are artifacts of not using a debayer filter and binning.
Sorry for the post. Like I said, I am a newbie to this.

I am fairly new to INDI stuff.
System:
- RPi Zero 2W
- RPi HQ Camera mounted at backfocus of 16"LX600
- bullseye arm64 lite. Update and upgrade
- apt install -y libcamera-apps indi-bin python3-picamera2 python3-lxml python3-astropy python3-pi
- pip3 install indi_pylibcamera
- indi_pylibcamera_postinstall
- indiserver -v indi_pylibcamera

The INDI driver started ok. Connected CCDCiel from my laptop. Connected to RPi INDI and camera indi_pylibcamera.
I was able to loop th epreview and manually focus and center the start (Procyon.) The preview was mono, of course. Then I started a sequence of 10 images. They were all uploaded to my laptop as FITS files. These images were all binned 2x2.
The next day I was looking at them and they only have a mono images and they have odd gaps every other row and column. I probed the FITS files and it only has that one image.
Did I set something up wrong in the INDI driver? If I capture using libcamera I get color images on the RPi I can move to my laptop, but the FITS images are weird.
Last edit: 1 month 3 weeks ago by Prof Huster.
1 month 3 weeks ago #99579

Please Log in or Create an account to join the conversation.

  • Posts: 115
  • Thank you received: 34
@Prof Huster: indi_pylibcamera and indi_libcamera drivers are not the same. indi_pylibcamera is developed with python languege and indi_libcamera is developed in c++. Those are totaly diferent drivers with slightly diferent functionalities, but both are using libcamera underneath.

For questions about indi_pylibcamera you should contact scriptorron at GitHub here: github.com/scriptorron/indi_pylibcamera.
Last edit: 1 month 3 weeks ago by Simon.
1 month 3 weeks ago #99581

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 4
Hello Prof Huster,

please open an issue in github.com/scriptorron/indi_pylibcamera/issues
It would help me a lot when you add one of your FITS images to the issue.

Best Regards,
Ronald
1 month 3 weeks ago #99585

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
It sounds like your camera uses a Bayer filter to produce color images. This means that in front of each pixel on the sensor, there's a color filter—either red (R), green (G), or blue (B). For example, if your camera's Bayer pattern is RGGB, in the first row, you'd have pixels arranged as RGRGRG..., and in the second row as GBGBGB... and so on. When you perform 2x2 binning, you're essentially averaging the values of pixels with different colors, which results in a monochrome (grey) image.

To capture color images, you should avoid using binning. After capturing the image without binning, you'll need to debayer the image to reconstruct the full color. Debayering is the process of interpolating the Bayer matrix to produce a color image. This should give you color images similar to those you obtain when using libcamera directly on the Raspberry Pi.
1 month 3 weeks ago #99601

Please Log in or Create an account to join the conversation.

Time to create page: 1.348 seconds