From d84487413bc32c825fe9660d9d4b2c4b2ce1822f Mon Sep 17 00:00:00 2001 From: Gabriel Tavernini Date: Mon, 24 Jun 2019 16:58:13 +0200 Subject: [PATCH] Shit --- Gabriel_Hog.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gabriel_Hog.ipynb b/Gabriel_Hog.ipynb index f318f8f..92f8d04 100644 --- a/Gabriel_Hog.ipynb +++ b/Gabriel_Hog.ipynb @@ -43,9 +43,9 @@ " smooth_img = skimage.filters.gaussian(img, 10)\n", " sobel_img = skimage.filters.sobel(smooth_img)\n", " if sobel_img.shape[0] == 432:\n", - " hog, hog_image = skimage.feature.hog(skimage.transform.rescale(sobel_img[:,:], 1/11), orientations=9, visualize=True)\n", + " hog, hog_image = skimage.feature.hog(skimage.transform.rescale(sobel_img, 1/11), orientations=9, visualize=True)\n", " else:\n", - " hog, hog_image = skimage.feature.hog(skimage.transform.rescale(sobel_img[:,:], 1/10), orientations=9, visualize=True)\n", + " hog, hog_image = skimage.feature.hog(skimage.transform.rescale(sobel_img, 1/10), orientations=9, visualize=True)\n", " dataset[i] = hog" ] },