I am building an app which lets the user to upload an image to the server and the server will return the most similar image in the database. I implemented a basic algorithm to do this, but I can not figure out how to actually let the user upload the image to the server. I am using the DjangoRestFramework.
I now have implemented a feature to upload an image to the database by having ViewSet with CreateModelMixin implemented. However I want to let the user upload an image, run my algorithm and then return and ID of most similar image. What function/viewset should I look into? I am beginner in REST