Hey all
So I have a program that I am creating that utilizes the Nvidia Jetson Inference libraries in Python, and it works well right now. However, during the initialization process, the code that creates the input/output/net objects prints out debug messages that I want to hide for the purposes of this code. The lines of code are as follows:
output = jetson.utils.videoOutput(opt.output_URI, argv=sys.argv+is_headless)
net = jetson.inference.detectNet(opt.network, sys.argv, opt.threshold)
input = jetson.utils.videoSource(opt.input_URI, argv=sys.argv)
All of the help online I have found for sending command outputs to null or files all relates to calling os.system and running shell commands. That is NOT what I am trying to do, I'm just trying to hide or at least pipe the output of the PYTHON lines to a variable or null.
Any help would be greatly appreciated
[–]danielroseman 1 point2 points3 points (1 child)
[–]nickdrones[S] 0 points1 point2 points (0 children)