I need help Integrating a Python API with PHP website.
The website under construction has a form in PHP to upload image and audio files to a directory on the server and then saves file information to MYSQL database. I want these files to be checked against files already saved in the directory so that no duplicates are saved to the database.
I found a python API that does well identifying images and audio, I want it integrated with the website so that I can use it to perform this image and audio file verification ON THE BACKEND. I have both the python code and the PHP code working independently on my localhost, I will like to verify their integration on my localhost then migrate the whole thing to a hosted server.
The python codes can be found at [login to view URL] (Quick deploy link) and [login to view URL] (Quick deploy link) .
Both codes are in the same folder [login to view URL]