Getting started for developers
#4
So you are using OpenCV. It looks like your OpenCV is trying to use raw legacy V4L2 (or even V4L1) as the backend. That will not work. Since OpenCV does not (currently) support libcamera directly (nor Pipewire), you will need an OpenCV compiled with GStreamer support, which should work with libcamera if OpenCV is using GStreamer correctly. (Unfortunately, GStreamer exposes the implementation details in some APIs, so some applications using GStreamer do not work unchanged with libcamera.)

EDIT: Judging from the errors you quoted in another thread, it looks like OpenCV is already using GStreamer, but in a way that hardcodes the V4L2 source (v4l2src0), so the OpenCV GStreamer backend needs fixing.
  Reply


Messages In This Thread
Getting started for developers - by lagrang3 - 05-22-2023, 04:20 AM
RE: Getting started for developers - by lagrang3 - 07-12-2023, 04:58 AM
RE: Getting started for developers - by Kevin Kofler - 07-14-2023, 08:59 PM
RE: Getting started for developers - by lagrang3 - 07-15-2023, 06:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Developers wanted to make out of the PinePhone a Respiratory Monitor Peter Gamma 0 1,004 03-20-2022, 10:58 AM
Last Post: Peter Gamma
Photo Getting started with Mobian...stuck LG123 5 6,016 03-10-2021, 08:18 AM
Last Post: LG123
  Getting started Mwo87 17 14,809 02-01-2021, 11:10 PM
Last Post: Mwo87
Star Thankyou Pine team and Developers food 3 3,028 11-29-2020, 10:12 AM
Last Post: kern707
  CANT GET STARTED snow season 2 3,713 10-22-2020, 09:44 PM
Last Post: bcnaz
  Any other ham radio folks here? - started a repeater app. programmin 7 8,801 06-25-2020, 10:51 PM
Last Post: programmin

Forum Jump:


Users browsing this thread: 1 Guest(s)