angry git

This commit is contained in:
Tom Selier 2023-09-23 21:56:30 +02:00
parent 27312ae6df
commit aaa1748c4c

View File

@ -1,10 +1,11 @@
import cv2
import matplotlib.pyplot as plt
import numpy as np
DATASET_PATH = "C:\\Users\\tomse\\Documents\\Dataset\\"
DATASET_PATH = "C:\\Users\\Tom\\Desktop\\Files\\Repositories\\snake-vault\\TREES\\dataset\\"
full_img = cv2.imread(DATASET_PATH + "alder\\1.jpg", 1)
bgr_img = cv2.resize(full_img, (0, 0), fx=0.2, fy=0.2)
bgr_img = cv2.resize(full_img, (0, 0), fx=0.25, fy=0.25)
hsv_img = cv2.cvtColor(bgr_img, cv2.COLOR_BGR2HSV)
cv2.imshow('BGR',bgr_img)