Error Message "can not find the element factory: mxpi_xxxpostprocessor" Is Reported When Vision SDK Is Used
Symptom
The error message "can not find the element factory: mxpi_xxxpostprocessor" is reported when Vision SDK is used.
Run the ./gst-inspect-1.0 mxpi_xxxpostprocessor (plugin name) command in the /mxVision-{version}/opensource/bin directory to check the plugin. It is found that the plugin can be loaded normally, but the same error information is displayed during the running.
Cause Analysis
The historical cache of GStreamer is not cleared.
Solution
- Ensure that Python 3.9 has been installed in the environment.
- Run the rm ~/.cache/gstreamer-1.0/registry.{arch}.bin command (set {arch} to x86_64 or aarch64 as required) to clear the historical GStreamer cache and then run the program.
Parent topic: Operation-related FAQs