These pipelines are used for preprocessing for some detection model.
Using code from this topic, I dumped preprocessed tensors from nvinfer and got green tensors from the first pipeline:
I tried to use different colorimetry in both pipelines and nothing changed.
How to fix it and get normal tensors from nvvideoconvert without extra videoconvert?
Seems it is related with nvvideoconvert. If the issue can’t be reproduced on the latter versions. I suggest using the workaround(adding extra videoconvert) because nvvideoconvert is not opensource. Or may I know your company name? Maybe you can contact sales or after-sales.
Extra videoconvert greatly slows down pipeline. Are there any other solutions? Maybe there are some parameters except colorimetry, which can fix problem?
nvinfer supports converting to gray8. you can set model-color-format=2 in configuration file of nvinfer.
if the source is png with gray8. the pipeline is
Our model works with grayscaled images with 3 channels
My question is only about images conversion. Is it possible to get correct image output the nvvideoconvert in this pipeline without additional videoconvert?
By the way, output tensor from nvvideoconvert got only Green-channel. Others are equal to zero
sorry for the late reply! nvvideoconvert is not opensource. if the latter versions works, you can contact sales or after-sales for a fix. there is no more new solutions.