Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use all the files in leaf-disease folder and convert each of them to JSON. [JSON+FORMATTING] #70

Closed
tanishq9 opened this issue Apr 1, 2020 · 3 comments · Fixed by #76
Assignees

Comments

@tanishq9
Copy link
Member

tanishq9 commented Apr 1, 2020

The reason is that the python script will send us the label of the leaf disease. According to that, we will send the JSON as output, it is a part of file_upload post route API. Make a separate data.js file and write all diseases JSON there. Refer this screenshot for details.

output_image

Here, op is the output JSON object. You can rename it to output.

@abhushanaj
Copy link
Member

abhushanaj commented Apr 1, 2020

@tanishq9 Sir Can I take this as well. No one seems to be assigned on this yet!

@tanishq9
Copy link
Member Author

tanishq9 commented Apr 1, 2020

Sure. Its a very monotonous work, you have copy from text files and write it in JSON format, you might get bored. So, I would strongly recommend listening to some music while doing this 😆
Also, I assume, since you have worked on file_upload POST route and what it returns, you can modify that to return the required JSON based on the output(predicted) label category.

@abhushanaj
Copy link
Member

abhushanaj commented Apr 1, 2020

Sure. Its a very monotonous work, you have copy from text files and write it in JSON format, you might get bored. So, I would strongly recommend listening to some music while doing this 😆
Also, I assume, since you have worked on file_upload POST route and what it returns, you can modify that to return the required JSON based on the output(predicted) label category.

Okay! I'll do the same! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants