InstallYAML: InvalidSchemeCombination

Problem:

My TrueView or microdrones payload collected dark photos on a day with low natural light (early morning, late afternoon or a cloudy day). What can I do to solve the issue?

Picture showing dark photos from a flight
Photos taken with a mdLiDAR1000UHR payload on a day that was cloudy.
Picture showing the camera settings
Camera settings.

When reviewing the quality of the photos, it is a good practice to check the settings of the camera during the flight. If the ISO is 1600 and the photos are dark, this means that the default settings of the camera are not good enough for the light condition of your flight.

In this article we provide solutions for both issues, if you already collected data and/or if you are planning a flight in low light conditions.

Probable Resolution #1:

The flight was already performed, and the images are very dark. What can I do? There are 2 options:

  1. Leave the photos as they are, most photogrammetry software can auto adjust the color of the images before generating the orthomosaic. In this case, is recommended to raise the GSD of the orthophoto, since the image smear (blurriness) may be high.
  2. Use a 3rd party software and auto adjust the colors. This will improve the photos and provide something useful to identify features with the Image Explorer and with the colorization of the point cloud. Software like IrfanView can perform this task.

Probable Resolution #2:

I am planning to fly in low light conditions. Can I change the settings of the camera?
Please visit the following article to override the camera exposure


Running the installYAML.bat file so Metashape can be driven by the True View EVO Create Ortho from Photo Package command results in an error installing the pip, “pip.internal.exceptions import InvalidSchemeCombination, UserInstallationInvalid ImportError: cannot import name ‘InvalidSchemeCombination’ from ‘pip._internal.exceptions'”

InvalidSchemeCombination Error when attempting to run InstallPyYAML
InstallPyYAML: InvalidSchemeCombination Error

Probable Resolution #1:

Ensure you are attempting to install the correct version of InstallPyYAML.bat from the appropriate MSPy folder for your version of Metashape. Use “C:\Program Files\Common Files\LP360\MSPy38” for Metashape v1.7.x or C:\Program Files\Common Files\LP360\MSPy” for Metashape v1.6.5 or 1.6.6.

Probable Resolution #2:

I am planning to fly in low light conditions. Can I change the settings of the camera?
Please visit the following article to override the camera exposure


If using the correct InstallPyYAML.bat from “C:\Program Files\Common Files\LP360\MSPy38” for Metashape v1.7.x and had upgraded at some point from an older version of Metashape, there may be an issue where the python installation for Metashape did not upgrade properly.

  1. Uninstall Metashape.
  2. Delete the “C:\Program Files\Agisoft\Metashape Pro\python” folder.
  3. Install the latest version of Metashape.
  4. In an elevated command prompt, run the InstallPyYAML.bat from “C:\Program Files\Common Files\LP360\MSPy38”.
  5. Select the Create Ortho from Photo Package tool in True View EVO to verify the installation completed correctly by seeing the dialog instead of further error messages.
Share

GeoCue Support has written 631 articles