I am currently using the LCD shield with my OpenMV H7 camera for a project but have come across a weird result. I not sure how to explain it properly but will do my best and hoping for some advice.
Currently I am taking an image of an object and doing some light analysis on the pixel values in a selected region. I then display the image and the result of the analysis as a text on the LCD. Everything works perfectly when I am running the code though the OpenMV IDE. The image and result displayed on the LCD is as expected. But when I save the code onto the OpenMV H7 and run the system, the image displayed on the LCD is distorted or shifted (the object or camera position hasn’t been moved) and the result is wrong. The device is still powered via a USB from the same computer. The weird thing is when I open the main.py file in the camera on OpenMV IDE, the image and results go back to normal.
First time seeing this so I am not sure if I done something wrong or even if my devices are not working properly but hoping for some advice on what I can do to solve the issue.
Thanks in advance and as always I greatly appreciate all the help from the community.