Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pablorov

Pages: [1]
1
Hi, I try to estimate the image quality and disable those that have a quality lower than 0.6, I have tried with the following code:

Code: [Select]
chunk.estimateImageQuality(chunk.cameras)
    for camera in chunk.cameras:
        if float(camera.photo.meta["Image/Quality"]) < 0.6:
            camera.enabled = False

However, the console reports the following error:

Code: [Select]
float() argument must be a string or a number, not 'NoneType'
What would be the correct code?

Also I would like to know if there is a parameter for the estimation to be carried out ignoring the masked areas, I reviewed the phyton agisoft guide but I did not find anything.

Thanks a lot

Pages: [1]