Hi everyone,
Sorry for bother you again, I have a problem with this script to evaluate images quality, because the name and method are changed over the versions of this program, and now I didn't find any good example to help me understand how to use this command better:
This is a for cycle, I just post the final part of the script where is the problem... because I don't know how to use this Metashape command.
The principal problem is this analyzePhotos that doesn't work, in fact, I made several try but every time this function give me a None result, and if I use float he tell me that I can't use this function because the data it's a none type, and this is normal...
Someone can help me to understand? thank you in advance,
Best regards.
if dist < mindis:
mindis = dist
mincam = camera
mincam.label = camera.label # camera with min distance to Principal Point
selcam.append(mincam) # append all the important parameters in a list of lists.
plt.show()
mincam.selected = True
for IMAGE in selcam:
if float(Metashape.Chunk.analyzePhotos(chunk, IMAGE)) < 0.7:
print("IMAGE")