CNNs परिचय

Keras के साथ Image Modeling

Ariel Rokem

Senior Data Scientist, University of Washington

Keras के साथ Image Modeling

Keras के साथ Image Modeling

सॉफ्टवेयर और पूर्वापेक्षाएँ

Keras के साथ Image Modeling

डेटा के रूप में इमेज

import matplotlib.pyplot as plt
data = plt.imread('stop_sign.jpg')
plt.imshow(data)
plt.show()

Keras के साथ Image Modeling

डेटा के रूप में इमेज

data.shape
(2832, 4256, 3)
Keras के साथ Image Modeling

डेटा के रूप में इमेज

data[1000, 1500]
array([0.73333333, 0.07843137, 0.14509804])

Keras के साथ Image Modeling

डेटा के रूप में इमेज

data[250, 3500]
array([0.25882353, 0.43921569, 0.77254902])

Keras के साथ Image Modeling

इमेज डेटा संशोधित करना

data[:, :, 1] = 0
data[:, :, 2] = 0
plt.imshow(data)
plt.show()

Keras के साथ Image Modeling

इमेज बदलना

data[200:1200, 200:1200, :] = [0, 1, 0]

plt.imshow(data) plt.show()

Keras के साथ Image Modeling

ब्लैक-एंड-व्हाइट इमेज

Keras के साथ Image Modeling

ब्लैक-एंड-व्हाइट इमेज

Keras के साथ Image Modeling

ब्लैक-एंड-व्हाइट इमेज

tshirt[10:20, 15:25] = 1

plt.imshow(tshirt) plt.show()

Keras के साथ Image Modeling

अभ्यास करते हैं!

Keras के साथ Image Modeling

Preparing Video For Download...