How can I add net-scale-factor and offsets directly in the test-apps? I do not want to add them in the config. Upon using pgie.set_property(“net-scale-factor”, 0.0039) I get the following error:
pgie_net_scale_factor = pgie.set_property(“net-scale-factor”, 0.0039)
TypeError: object of type GstNvInfer' does not have property
net-scale-factor’
It seems I cannot set property in this way. Is there another way to add it directly in the test-app after initialising pgie?