This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ported from http://www.gizma.com/easing/ | |
# by http://th0ma5w.github.io | |
# | |
# untested :P | |
import math | |
linearTween = lambda t, b, c, d : c*t/d + b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import subprocess as sp | |
if __name__ == "__main__": | |
rtsp_server = 'rtsp://example.org:554/...' # push server (output server) | |
#pull rtsp data, or your cv cap. (input server) | |
cap = cv2.VideoCapture( | |
'rtsp://example.org:554/pull from me ') | |