So, I have a continuous data flow coming thorugh the COM4 port on Windows. I am reading the data with this code:
import serial import cv2 from time import sle