Skip to content

Commit

Permalink
Update source and sink for KV260 pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Ruiz committed Dec 8, 2021
1 parent 4790bb3 commit bd6a78e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def update_notebooks_display_port(module_name):
"video = VideoStream(ol, source=VSource.OpenCV, sink=VSink.DP)")
filedata = filedata.replace("VideoStream(ol)",
"video = VideoStream(ol, source=VSource.OpenCV, sink=VSink.DP)")
filedata = filedata.replace("cpipe.hdmi_source_in",
"cpipe.ps_video_in")
filedata = filedata.replace("cpipe.hdmi_source_out",
"cpipe.ps_video_out")

with open(os.sep.join([dirpath, filename]), 'w') as file:
file.write(filedata)
Expand Down

0 comments on commit bd6a78e

Please sign in to comment.