I executed the attached code that uses the Mathpix API to generate TeX code from a PNG image file. However, the execution resulted in an empty output file. No error code was generated either.
Could you help me identify where the issue might be?
The attached file includes the code, the image file, and the output result.
After extracting the files, please execute test_Mathpix_extract_text.py, which reads page_1.png and outputs page_1.tex.
Please make sure to replace the following lines in the code with the correct values:
APP_ID = 'your_app_id'
APP_KEY = 'your_app_key'
extractTexCode.zip
Thank you in advance for your assistance.