
<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
convert an BGR image to RGB image

<ASSISTANT_TASK:>
Python Code::
import cv2
import numpy as np
array_of_image = np.array(image)
image_rgb = cv2.cvtColor(array_of_image, cv2.COLOR_BGR2RGB)
cv2.imshow('image', image_rgb)

<END_TASK>
