Skip to content

Commit

Permalink
Shit
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielTavernini committed Jun 24, 2019
1 parent 4a4c4ce commit d844874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gabriel_Hog.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down

0 comments on commit d844874

Please sign in to comment.