Initial commit with project files

This commit is contained in:
2025-06-27 14:34:11 +02:00
commit 7ea3207e63
310 changed files with 9331 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import cv2
import numpy as np
white_balancing_factor = np.asarray([[[0.5, 0.3, 0.95]]])
cap = cv2.VideoCapture(0)
while True:
ret, img = cap.read()
img_balanced = img * white_balancing_factor
img_balanced = np.clip(img_balanced, 0, 255)
img_balanced = img_balanced.astype(np.uint8)
cv2.imshow("Normal", img)
cv2.imshow("Abgeglichen", img_balanced)
cv2.waitKey(1)