Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

cv2.imshow inside a seperate process?

$
0
0
Consider the following illustration: import cv2 from multiprocessing import Process def f(x): cv2.imshow('window',x) pass if __name__=='__main__': cv2.namedWindow('window') img=cv2.imread("name.jpg",0) p=Process(target=f,args=(img,)) p.start() ... The named Window does open, but the image does not show up, unless I execute the imshow in the main process. Why is that?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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