<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Import Libraries
Step1:  Read image and Check inspect values of image at different locations
Step2:  RGB pixel intensity 0-255
Step3:  RGB line intensity 0-255
<ASSISTANT_TASK:>
Python Code:
import cv2
import matplotlib.pyplot as plt
%matplotlib inline
Explanation: Import Libraries
End of explanation
img_RGB = cv2.imread('demo1.jpg')
plt.imshow(cv2.cvtColor(img_RGB, cv2.COLOR_BGR2RGB))
print('Shape_RGB:', img_RGB.shape)
print('Type_RGB:', img_RGB.dtype)
Explanation: Read image and Check inspect values of image at different locations
End of explanation
print('RGB intensity at 300,250:',img_RGB[300,250])
Explanation: RGB pixel intensity 0-255
End of explanation
img_RGB_lineintensity = img_RGB[600]
plt.plot(img_RGB_lineintensity)
Explanation: RGB line intensity 0-255
End of explanation
<END_TASK>