kopia lustrzana https://github.com/OpenDroneMap/ODM
Link to RSCalibration
rodzic
55ad45a3f3
commit
264104190b
|
@ -18,7 +18,8 @@ RS_DATABASE = {
|
|||
'gopro hero4 black': 30, # GoPro Hero 4 Black
|
||||
'gopro hero8 black': 17 # GoPro Hero 8 Black
|
||||
|
||||
# Help us add more! Open a pull request.
|
||||
# Help us add more!
|
||||
# See: https://github.com/OpenDroneMap/RSCalibration for instructions
|
||||
}
|
||||
DEFAULT_RS_READOUT = 30 # Just a guess
|
||||
|
||||
|
@ -39,6 +40,6 @@ def get_rolling_shutter_readout(make, model, override_value=0):
|
|||
else:
|
||||
# Warn once
|
||||
if not key in warn_db_missing:
|
||||
log.ODM_WARNING("Rolling shutter readout time for \"%s %s\" is not in our database, using default of %sms which might be incorrect. Use --rolling-shutter-readout to set an actual value." % (make, model, DEFAULT_RS_READOUT))
|
||||
log.ODM_WARNING("Rolling shutter readout time for \"%s %s\" is not in our database, using default of %sms which might be incorrect. Use --rolling-shutter-readout to set an actual value (see https://github.com/OpenDroneMap/RSCalibration for instructions on how to calculate this value)" % (make, model, DEFAULT_RS_READOUT))
|
||||
warn_db_missing[key] = True
|
||||
return float(DEFAULT_RS_READOUT)
|
Ładowanie…
Reference in New Issue