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:
Warren
2026-04-30 15:07:49 +08:00
parent f4697396e4
commit 8f05a7c188
256 changed files with 60505 additions and 299 deletions

21
scripts/test_args.py Normal file
View 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}")