fix(ocr): improve ONNX model initialization and error handling
- Add key length validation for ONNX model initialization - Move import statements to the top of the file - Wrap model initialization in a try-except block for better error handling - Refactor code to improve readability and maintainability
Showing
Please register or sign in to comment