angry git
This commit is contained in:
parent
27312ae6df
commit
aaa1748c4c
@ -1,10 +1,11 @@
|
|||||||
import cv2
|
import cv2
|
||||||
import matplotlib.pyplot as plt
|
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)
|
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)
|
hsv_img = cv2.cvtColor(bgr_img, cv2.COLOR_BGR2HSV)
|
||||||
|
|
||||||
cv2.imshow('BGR',bgr_img)
|
cv2.imshow('BGR',bgr_img)
|
||||||
|
Loading…
Reference in New Issue
Block a user