The type initializer for 'Emgu.CV.CvInvoke' threw an exception

OpenCV exception: The type initializer for 'Emgu.CV.CvInvoke' threw an exception

Reason:
Media feature pack needs to be installed in the server.  

Solution: 
Depending on the OS of the server where Robot is installed please install the windows updates as mentioned in the below software requirement link. 


Complete details provided in the below link.
https://docs.uipath.com/robot/docs/software-requirements

- Post installation please perform a reboot of the server.