feat: update Python processors and add utility scripts
- Update ASR, face, OCR, pose processors - Add release pre-flight check script - Add synonym generation, chunk processing scripts - Add face recognition, stamp search utilities
This commit is contained in:
21
scripts/test_args.py
Normal file
21
scripts/test_args.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/opt/homebrew/bin/python3.11
|
||||
"""
|
||||
Test script to see what arguments are being passed
|
||||
"""
|
||||
|
||||
import sys
|
||||
import json
|
||||
|
||||
print("Arguments received:")
|
||||
for i, arg in enumerate(sys.argv):
|
||||
print(f" {i}: {arg}")
|
||||
|
||||
# Write output file
|
||||
output = {"success": True, "message": "Test successful", "args": sys.argv}
|
||||
|
||||
# Output path should be the second argument
|
||||
if len(sys.argv) > 2:
|
||||
output_path = sys.argv[2]
|
||||
with open(output_path, "w") as f:
|
||||
json.dump(output, f, indent=2)
|
||||
print(f"Output written to: {output_path}")
|
||||
Reference in New Issue
Block a user