-
Notifications
You must be signed in to change notification settings - Fork 9
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
extract the android screen as opencv Mat or numpy array #1
Comments
Hey @mrnth, |
i want to hide all application window when running my python script. So, I can not capture pc screen. |
Wow!! Thanks for sharing the application. On top of that, if you are facing high latency I would suggest to use USB Debugging + ADB and do port forward via USB for a low latency streaming. |
Thanks for the suggestion. |
I will suggest sticking with the Example: import cv2
device_ip = "192.168.0.44"
cap = cv2.VideoCapture(f"http://{device_ip}:8080/stream.mjpeg")
while True:
success, frame = cap.read()
if not success:
break
cv2.imshow("frame", frame)
if cv2.waitKey(1) == ord("q"):
break If you want to cast screen via port forwarding using USB, open the
After this, you can visit |
Thank you so much |
Hello bro,
If you know any open source or python library help extract the android screen as opencv Mat or numpy array, please share it to me. Thank you so much
The text was updated successfully, but these errors were encountered: