Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

using opencv python Why am I getting garbage value instead of BGR while printing out colour of pixels?

$
0
0
HERE IS MY CODE: import cv2 import time import numpy as np camera=cv2.VideoCapture(1) def get_image(): retval, im=camera.read() return im img=get_image() print img[383,242] cv2.imshow("1",img) cv2.waitKey(0)

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>