MCPcopy Create free account
hub / github.com/SpectacularAI/sdk / is_already_rectified

Function is_already_rectified

python/cli/process/process.py:709–718  ·  view source on GitHub ↗
(input_dir)

Source from the content-addressed store, hash-verified

707 raise
708
709 def is_already_rectified(input_dir):
710 # hack for OAK-D
711 vioConfigYaml = f"{input_dir}/vio_config.yaml"
712 if os.path.exists(vioConfigYaml):
713 with open(vioConfigYaml) as file:
714 for line in file:
715 if "alreadyRectified" in line:
716 _, value = line.split(":")
717 return value.lower().strip() == "true"
718 return False
719
720 device_preset, cameras = parse_input_dir(args.input)
721

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected