Skip to content

Commit 2f173ad

Browse files
authored
Update hog.ipynb
I am changing the mutichannel property of hog with channel_axis which is used in current version
1 parent 4783b9b commit 2f173ad

File tree

1 file changed

+2
-2
lines changed
  • machine-learning/hog-feature-extraction

1 file changed

+2
-2
lines changed

machine-learning/hog-feature-extraction/hog.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"source": [
7070
"#creating hog features\n",
7171
"fd, hog_image = hog(resized_img, orientations=9, pixels_per_cell=(8, 8),\n",
72-
" \tcells_per_block=(2, 2), visualize=True, multichannel=True)\n",
72+
" \tcells_per_block=(2, 2), visualize=True, channel_axis=2)\n",
7373
"print(fd.shape)\n",
7474
"plt.axis(\"off\")\n",
7575
"plt.imshow(hog_image, cmap=\"gray\")"
@@ -94,4 +94,4 @@
9494
"source": []
9595
}
9696
]
97-
}
97+
}

0 commit comments

Comments
 (0)