OpenCV

pip install opencv-python
python
import cv2

Troubleshooting - Missing libGL

## Traceback (most recent call last):
## ImportError: libGL.so.1: cannot open shared object file: No such file or directory
sudo apt install libgl1

https://stackoverflow.com/questions/10969585/opencv-reading-a-16-bit-grayscale-image

## 8-bit
img = cv2.imread(img_file)

## 16-bit
img = cv2.imread(img_file, -1)

Daiphys is a professional-service company for research and development of leading-edge technologies in physics and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!

Name*


Email*


Message*


* Indicates required field

Daiphys Technologies LLC - https://www.daiphys.com/

  • Last modified: 2024/01/15 04:52
  • by Daiphys