You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,3 +253,18 @@ Starting from 4.3.0 and 3.4.10 builds the Linux build environment was updated fr
253
253
Starting from version 4.7.0 the Mac OS GitHub Actions build environment was update to version 11. Mac OS 10.x support deprecated. See https://github.com/actions/runner-images/issues/5583
254
254
255
255
Starting from version 4.9.0 the Mac OS GitHub Actions build environment was update to version 12. Mac OS 10.x support deprecated by Brew and most of used packages.
256
+
257
+
## Example Usage (Python)
258
+
259
+
Below is a minimal example that loads an image, converts it to grayscale, and saves the output.
260
+
261
+
```python
262
+
import cv2
263
+
264
+
img = cv2.imread("input.jpg")
265
+
if img isNone:
266
+
raiseFileNotFoundError("Could not read input.jpg")
0 commit comments