1
Python and Java API / Console output and stdout
« on: May 27, 2021, 09:53:14 AM »
Hi!
I am including metashape api (version 1.5) into a larger processing chain, and my goal is to tame the console output a bit, and only log essential values from the alignment/densecloud/orthomosaicing process. Unfortunately this does not work easily, since there is no variable to control the verbosity of the chunk..*() functions. Redirecting stdout (via contextlib or directly) does also not work for some inexplicable reason. Any idea how to deal with this?
I am including metashape api (version 1.5) into a larger processing chain, and my goal is to tame the console output a bit, and only log essential values from the alignment/densecloud/orthomosaicing process. Unfortunately this does not work easily, since there is no variable to control the verbosity of the chunk..*() functions. Redirecting stdout (via contextlib or directly) does also not work for some inexplicable reason. Any idea how to deal with this?