URL: <https://savannah.gnu.org/bugs/?63273>
Summary: opencv not detected Project: GNU Health Submitter: coogor Submitted: Tue 25 Oct 2022 09:31:41 PM UTC Category: GUI / Frontend Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: meanmicio Open/Closed: Open Release: None Discussion Lock: Any Module: gnuhealth Component: Hospital Management _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Tue 25 Oct 2022 09:31:41 PM UTC By: Axel Braun <coogor> 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/