health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #63273] opencv not detected


From: Luis Falcon
Subject: [Health-dev] [bug #63273] opencv not detected
Date: Thu, 27 Oct 2022 06:46:06 -0400 (EDT)

Update of bug #63273 (project health):

                  Status:                    None => Works For Me           
                 Release:                    None => 4.0.0                  

    _______________________________________________________

Follow-up Comment #1:

Hi, Axel!

Just tried on my box and I can't reproduce..

Here's a screenshot :) 
https://imgur.com/a/kV7C3Iq

Could you try this in your client?
lfm@beastie:~ $ python3
Python 3.10.8 (main, Oct 13 2022, 21:13:48) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> print(cv2.__version__)
4.6.0

Bests
Luis

[comment #0 original submission:]
> I noticed that the gnuhealth-client does not detect opencv properly: At
start, the error message 'no CV2 library found' is displayed, although opencv
4.6.0 and python3-opencv are installed.
> 
> Error message when using camera:
>   File "/usr/lib/python3.10/site-packages/gnuhealth/gui/window/form.py",
line 862, in <lambda>
>     menuitem.connect('activate', lambda m, func: func({
>   File
"/usr/lib/python3.10/site-packages/gnuhealth/plugins/camera/__init__.py", line
126, in main
>     cap = cv2.VideoCapture(0)
> 
> NameError: name 'cv2' is not defined
> 
> openSUSE Tumbleweed, Python 3.10.7


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63273>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]