-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPV6 address #35
Comments
Hi @yangyangyang-github, |
My code is:
import cv2
import numpy as np
from netaddr import *
# address = "192.168.71.50"
address = "fe80::76fe:48ff:fe43:e516"
cap = cv2.VideoCapture("http://[%s]:8554/live/scene" % address)
if (cap.isOpened()== False):
print("Error opening video stream or file")
while(cap.isOpened()):
ret, frame = cap.read()
if ret == True:
cv2.imshow('Tobii Pro Glasses 2 - Live Scene',frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
else:
break
cap.release()
cv2.destroyAllWindows()
when the program are address = "192.168.71.50" and cap = cv2.VideoCapture("http://%s:8554/live/scene" % address) , it can run successfully. However, when it is address = "fe80::76fe:48ff:fe43:e516" and cap = cv2.VideoCapture("http://[%s]:8554/live/scene" % address), it it cannot run successfully.
…------------------ 原始邮件 ------------------
发件人: "ddetommaso/TobiiGlassesPyController" ***@***.***>;
发送时间: 2023年2月2日(星期四) 晚上8:16
***@***.***>;
***@***.******@***.***>;
主题: Re: [ddetommaso/TobiiGlassesPyController] IPV6 address (Issue #35)
Hi @yangyangyang-github,
I would be glad to answer you but I need more information about the issue.
Could you please be more explicative about it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @yangyangyang-github it's not easy to understand the situation from your snippet. https://github.com/ddetommaso/TobiiGlassesPyController/wiki/2.-Network-connection |
An error occurred when I used an IPV6 address. I shall be glad to receive your reply
The text was updated successfully, but these errors were encountered: