File size: 427 Bytes
c91cf46 | 1 2 3 4 5 6 7 8 9 10 | """Validate one camera-view directory against hand-warehouse/1.0."""
from pathlib import Path
import argparse, json, sys
q=argparse.ArgumentParser();q.add_argument('view',type=Path);a=q.parse_args()
HERE=Path(__file__).resolve().parent
sys.path.insert(0,str(HERE/'internal'))
from review_fresh_sequence_pilots import validate_view
_,_,report=validate_view(a.view)
print(json.dumps(report,ensure_ascii=False,indent=2))
|