Open ChahidTALHA opened 4 years ago
Look like they have released an example MaixPY Script to do HTTP download of an image. https://github.com/sipeed/MaixPy_scripts/blob/master/network/demo_http_get_jpg.py
Maybe worth a shot if that implementation works better
ESP32 firmware version: 1.4.0 Maixduino firmware: MicroPython v0.5.0-221-g6460c58.
Hi everyone, I am using Maixduino for my demo project. Where i should first download image from a localhost url (using Xampp). The problem I am facing now is that the code takes too long to download the image (Alice.jpg, size: 42.7 KB), it takes 4 seconds to download the image (Where the expected download time should take 200ms as a maximum for a light image). and sometimes it doesn't get all the data . Is there any way to optimize my code in this case. Or should I look for an alternative solution. Code:
finish time prints 4 to 5 seconds for such image. Can I have a clarification about this