mattia.barbieri91 Posted March 23, 2021 Share Posted March 23, 2021 HI everyone! I'm working with HTC Vive Pro Eye, and i need to extract flow of images from each cameras and conìvert it level of gray. In OpenCV when i need to extract flow of images from laptop's web camera, I use the following code : import cv2 as cv cap = cv.VideoCapture(0) while True: ret, frame = cap.read() gray_video = cv.cvtColor(frame, cv.COLOR_BGR2GRAY) cv.imshow("Frame", gray_video) if cv.waitKey(1) & 0xFF == ord("e"): break cap.release() cv.destroyAllWindows() Is it possible to call, both HTC VIVE Pro Eye cameras? I mean, at the second row of the code at cv.Video.Capture(0) it is possible to acquire video from webcamera. Is it possible to call both cameras? Thank you kindly 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now