shaoyz's picture
Organize HOT3D and ARCTIC shared scripts
c91cf46 verified
Raw History Blame
427 Bytes
"""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))