Hi Olly

I've just merged a PR that add support for OpenCV 4.6.0 and (hopefully)
fixes the camera error

https://github.com/cmauri/eviacam/tree/master

Thanks


On Tue, Nov 8, 2022 at 10:36 PM Olly Betts <o...@survex.com> wrote:

> Control: tags 1019790 + patch
>
> Dear maintainer,
>
> I've managed to build eviacam using wxwidgets3.2 with a couple of minor
> changes (patch attached).
>
> However I can't test my patched build because eviacam doesn't start
> (I'm guessing it doesn't like my webcam for some reason) - starting it I
> get:
>
> $ eviacam
> [ERROR:0@0.016] global ./modules/core/src/persistence.cpp (505) open
> Can't open file: '/usr/share/eviacam/haarcascade_frontalface_default.xml'
> in read mode
> [ERROR:0@0.017] global ./modules/core/src/persistence.cpp (505) open
> Can't open file:
> '/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml' in
> read mode
> [ERROR:0@0.017] global ./modules/core/src/persistence.cpp (505) open
> Can't open file:
> '/usr/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml' in
> read mode
> [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001,
> name = 'User Controls', type = 6
> [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id =
> 0x00980001, name = 'User Controls'
> [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009A0001,
> name = 'Camera Controls', type = 6
> [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id =
> 0x009A0001, name = 'Camera Controls'
>
> (eviacam:184091): Gtk-CRITICAL **: 10:24:53.628:
> gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
> [ WARN:0@3.768] global ./modules/videoio/src/videoio_c.cpp (15)
> cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API
> anymore.
> $
>
> I also get the same error for the version already in unstable.
>
> Please can you test with my patch, and upload if it works.
>
> Cheers,
>     Olly
>

Reply via email to