kopia lustrzana https://github.com/OpenDroneMap/ODM
Use camera white balance
rodzic
a788cd3f73
commit
50add9bed5
|
@ -10,7 +10,7 @@ def read_image(img_path):
|
|||
if img_path[-4:].lower() in [".dng", ".raw", ".nef"]:
|
||||
try:
|
||||
with rawpy.imread(img_path) as r:
|
||||
img = r.postprocess(output_bps=8, use_auto_wb=True)
|
||||
img = r.postprocess(output_bps=8, use_camera_wb=True, use_auto_wb=False)
|
||||
except:
|
||||
return None
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue