videocapture.py
def frame_show(oStream, sColor:str, sText:str, tuRectangle = (224, 224)):
	""" Read frame from webcam and display it with box+text """

	(bGrabbed, oFrame) = oStream.read()
	oFrame = rectangle_text(cv2.flip(oFrame, 1), sColor, sText, "", tuRectangle)
	cv2.imshow("Video", oFrame)
	cv2.waitKey(1)

	return
 Read frame from webcam and display it with box+text 
Read frame from webcam and display it with box+text
Read frame from webcam and display it with box + text
def frame_show(oStream, sColor:str, sText:str, tuRectangle = (224, 224)):
	(bGrabbed, oFrame) = oStream.read()
	oFrame = rectangle_text(cv2.flip(oFrame, 1), sColor, sText, "", tuRectangle)
	cv2.imshow("Video", oFrame)
	cv2.waitKey(1)
	return
def frame_show ( oStream , sColor : str , sText : str , tuRectangle = ( 224 , 224 ) ) : ( bGrabbed , oFrame ) = oStream . read ( ) oFrame = rectangle_text ( cv2 . flip ( oFrame , 1 ) , sColor , sText , "" , tuRectangle ) cv2 . imshow ( "Video" , oFrame ) cv2 . waitKey ( 1 ) return
Read frame from webcam and display it with box+text
Read frame from webcam and display it with box + text
""" Read frame from webcam and display it with box+text """
oStream
sColor
str
sText
str
tuRectangle