Create an iOS phone application that sorts waste into three categories (landfill, recycling, compost) using a Watson Visual Recognition custom classifier
This PR contains a basic server code that runs on Cloud Foundry and binds with visual recognition service. It should able to take a Post request at /api/sort to classify the image and return the results in JSON format. The following components are work in progress.
[x] Post request that able to take an image input (Need to discuss what kind of image format we should use)
[ ] Discuss what kind of information we need to return in the JSON.
[ ] If we are going to preprocess the image, implement the preprocessing function. (Need to see how our custom classifier is trained)
Feel free to give any comment about the existing code. Please note that the sort() function is still incomplete.
This PR contains a basic server code that runs on Cloud Foundry and binds with visual recognition service. It should able to take a Post request at
/api/sort
to classify the image and return the results in JSON format. The following components are work in progress.[x] Post request that able to take an image input (Need to discuss what kind of image format we should use)
[ ] Discuss what kind of information we need to return in the JSON.
[ ] If we are going to preprocess the image, implement the preprocessing function. (Need to see how our custom classifier is trained)
Feel free to give any comment about the existing code. Please note that the
sort()
function is still incomplete.