Comments and readme update

This commit is contained in:
2022-02-08 20:02:14 +07:00
parent c6c2334d05
commit f73685fa55
6 changed files with 141 additions and 110 deletions

17
check_stream.py Normal file
View File

@@ -0,0 +1,17 @@
import cv2
address_input = "http://localhost:8080"
cap = cv2.VideoCapture(address_input)
while True:
# Reading frame
success, img = cap.read()
if success:
cv2.imshow("Main", img)
else:
print("Frame not success read")
# Interface
key = cv2.waitKey(1)
if key == 27:
break