The only problem of camera module is that it's impossible for you to know how photo likes when you take it. And the camera
module is not as delicated as we use on the phone or camera. So I create a sleep time with 6 seconds to adjust distance and
height and create a preview button to get the best one.
So I can successfully link to database on the PC after doing follow steps:
The first problem of Flask website is the url for the photo on the Raspberry Pi, therefore, even though I take different photos, the photo on the website will never be changed.
solution: I add a random number on each photo, change name of last one to "id.jpg" and delete the rest once creating new information.
The same problem occurs on the Information Page, and I also add a random number after the customer id to solve it.
The biggest problem of website is how to fill the information on the Zapwork website.At first, I also tried to auto- fill the information on the edit page of Zapwork, as I can know the inspect of their website. But It's almost impossible for me to get the API of the website so I can not link the database with the Website automatically with PHP file, or fill the information with file on the PC , or fill the website with another website. Therefore, now I can only to create a link to the edit page to create the Zapcode manually.
Before the class I know less or even nothing about Google Sites, Python, Rasberry Pi, Zapwork, Flask and HTML. Now I know
many new knowledge about them. It's interesting for me not only to try to link the embedded system with AR, both of which are
amazing, but also to the experience to solve the unexpected problems and use new skills as many as possible. I am looking
forward to solve the current problems and make more interesting things in the future.