deepcpatel / GreenDoc

Plant disease detection and remedy suggestions using Deep Learning, Server Computing and Android.
26 stars 8 forks source link

hey failed to conect to server kindly rectify on that #2

Closed moseuh closed 4 years ago

moseuh commented 4 years ago

failed to coonect to server ...can you send the apk please mosesmaweu46@GMAIL.COM

deepcpatel commented 4 years ago

Hi, please add your server URL at this line in the code and your server must allow the POST requests. Also, we have provided the Android code in our repo, so you can compile it to an APK.

moseuh commented 4 years ago

Kindly send the apk please

On Mar 12, 2020 3:27 AM, "Deep C. Patel" notifications@github.com wrote:

Hi, please add your server URL at this line https://github.com/deepcpatel/GreenDoc/blob/e91799b718d9bb48d5569e511a5776282717fec0/android_app/app/src/main/java/com/jayvaghasiya/test/Main2Activity.java#L162 in the code. And your server must allow the POST requests. Also, we have provided the Android code in our Repo. Please compile it to APK, since our APK might not work on your device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-597946041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY2AYZKVPPNLAZHVUFTRHAT65ANCNFSM4LFUWMQQ .

moseuh commented 4 years ago

Have changed the server url to local Host and the app still shows the toast message you can't connect to the server

On Mar 12, 2020 3:27 AM, "Deep C. Patel" notifications@github.com wrote:

Hi, please add your server URL at this line https://github.com/deepcpatel/GreenDoc/blob/e91799b718d9bb48d5569e511a5776282717fec0/android_app/app/src/main/java/com/jayvaghasiya/test/Main2Activity.java#L162 in the code. And your server must allow the POST requests. Also, we have provided the Android code in our Repo. Please compile it to APK, since our APK might not work on your device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-597946041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY2AYZKVPPNLAZHVUFTRHAT65ANCNFSM4LFUWMQQ .

moseuh commented 4 years ago

It cmumicated to the server but it's not displaying results

On Mar 12, 2020 11:25 AM, "moses maweu" mosesmaweu46@gmail.com wrote:

Have changed the server url to local Host and the app still shows the toast message you can't connect to the server

On Mar 12, 2020 3:27 AM, "Deep C. Patel" notifications@github.com wrote:

Hi, please add your server URL at this line https://github.com/deepcpatel/GreenDoc/blob/e91799b718d9bb48d5569e511a5776282717fec0/android_app/app/src/main/java/com/jayvaghasiya/test/Main2Activity.java#L162 in the code. And your server must allow the POST requests. Also, we have provided the Android code in our Repo. Please compile it to APK, since our APK might not work on your device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-597946041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY2AYZKVPPNLAZHVUFTRHAT65ANCNFSM4LFUWMQQ .

moseuh commented 4 years ago

The server got connected but it is not displaying results.....if i uncomment the disease string it only gives the string name results ..kindly assist

On Mar 12, 2020 10:37 AM, "moses maweu" mosesmaweu46@gmail.com wrote:

Kindly send the apk please

On Mar 12, 2020 3:27 AM, "Deep C. Patel" notifications@github.com wrote:

Hi, please add your server URL at this line https://github.com/deepcpatel/GreenDoc/blob/e91799b718d9bb48d5569e511a5776282717fec0/android_app/app/src/main/java/com/jayvaghasiya/test/Main2Activity.java#L162 in the code. And your server must allow the POST requests. Also, we have provided the Android code in our Repo. Please compile it to APK, since our APK might not work on your device.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-597946041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY2AYZKVPPNLAZHVUFTRHAT65ANCNFSM4LFUWMQQ .

moseuh commented 4 years ago

ITS NOT DISPLAYING RESULTS

deepcpatel commented 4 years ago

Did you found any error message in your console?

moseuh commented 4 years ago

There was no error it's only that it couldn't identify any disease

On Mar 30, 2020 11:49 AM, "Deep C. Patel" notifications@github.com wrote:

Did you found any error message in your console?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-605867894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY6MDLIYQTF4JVGPXPLRKBMLNANCNFSM4LFUWMQQ .

deepcpatel commented 4 years ago

I got that! We have only shown Tomato related diseases as of now in our Android app. But, you can add more diseases here. Our ML model is capable of classifying all the disease given in the dataset. Its just that you have to add them to the JSON file of the Android app.

moseuh commented 4 years ago

Av tried all that and it's not even recognizing even a single disease

On Mar 31, 2020 7:53 PM, "Deep C. Patel" notifications@github.com wrote:

I got that. We have only shown Tomato related disease as of now in our Android app. But, you can add more disease here https://github.com/deepcpatel/GreenDoc/tree/master/android_app/app/src/main/assets/causesremedies.json. Our ML model is capable of classifying all the disease given in the dataset. Its just that you have to add them to the JSON file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deepcpatel/GreenDoc/issues/2#issuecomment-606747865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2EZY3ZXOVD7TEPM62X4A3RKINY3ANCNFSM4LFUWMQQ .

deepcpatel commented 4 years ago

Since we have trained our model on the PlantVillage dataset, they may not be similar to your phone images. You can retrain the model on the Phone images. We have provided the training and testing scripts in our repo.