Skip to content

Commit ea51954

Browse files
committed
Added Images under different ligtening and their RGB , HSV values in excel file for analysis.
1 parent 23a9f6e commit ea51954

18 files changed

+74
-18
lines changed

CNNMerge/crop_images_around_feet.py renamed to size-of-objects/crop_images_around_feet.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def createMask(imagePath):
2525
max_y = getPixelLocation(output) + 10
2626
crop_image = image[max_y - image.shape[1]:max_y, :, :]
2727
cv2.imwrite(
28-
'/Users/vaneesh_k/PycharmProjects/Albie_ML/size-of-objects/images/cropped/balcony_coin1_cropped.jpg',
28+
'../size-of-objects/images/cropped/kumar.jpg',
2929
crop_image)
3030
# cv2.imshow("images", np.hstack([image, output]))
3131
# cv2.waitKey(0)
@@ -39,12 +39,11 @@ def getPixelLocation(mask):
3939
max_y = output2[0].max()
4040
return max_y
4141

42-
4342
# for i in range(len(subdirs)):
4443
# dir2pull = directory + '/' + subdirs[i] + '/'
4544
# for file in glob.glob(dir2pull + '*.jpg'):
4645
# createMask(file)
47-
imagePath = '/Users/vaneesh_k/PycharmProjects/Albie_ML/size-of-objects/images/balcony_coin1.jpg'
46+
imagePath = '../size-of-objects/images/kumar.jpg'
4847

4948
createMask(imagePath)
5049
print('Done')
2.6 MB
Loading
5.22 MB
Loading
3.07 MB
Loading
4.07 MB
Loading
7.07 MB
Loading
2.96 MB
Loading
3.57 MB
Loading
5.83 MB
Loading
3.18 MB
Loading

0 commit comments

Comments
 (0)