UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to create a plant identification app for ubuntu touch?

    Scheduled Pinned Locked Moved App Development
    71 Posts 13 Posters 15.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • Quilty weavyQ Offline
        Quilty weavy @s710
        last edited by

        @s710 If what you are saying is true then try opening your half-developed application on github for contributions. These contributions might solve any of the issues you are struggling to fix. Even I will try looking into it.

        s710S 1 Reply Last reply Reply Quote 0
        • s710S Offline
          s710 @Quilty weavy
          last edited by s710

          @quilty-weavy There are no issues I am struggling with. It all depends on what the service of Pl@ntNet is offering. And this can only be influenced by Pl@ntNet, and not by external app developers (me).

          As per https://my.plantnet.org/usage, their service only allows to submit images to get a plant identification back.
          There is no feature in their public service which allows to submit own identifications back to Pl@ntNet.

          As stated on the linked website, one should use their official apps (iPhone, Android) instead to contribute and submit identifications. Of course this means that there must be a service to submit own identifications somewhere, but it is just not available to the publicity / external app developers.

          As @Emphrath is already in contact with Pl@ntNet, and they seem to be aware of us making an app for UT, and they know that no offical apps for UT exist, maybe they will be opening the service to submit identifications to me/us, so I can integrate it into the app. But thats completely out of our hands.

          Hope I explained it well enough.

          E Quilty weavyQ 2 Replies Last reply Reply Quote 1
          • E Offline
            Emphrath @s710
            last edited by

            @s710 hey there ! They said: "maybe we can increase the quota to sth later on when the app is finished" this is encouraging. They also are asking for the repo - could you provide that ?

            1 Reply Last reply Reply Quote 0
            • Quilty weavyQ Offline
              Quilty weavy @s710
              last edited by Quilty weavy

              @s710 I fully encourage you to show the source code so that I can improve anything, Like the UI or bug fixes. @Emphrath are you also ready to develop and improve this application?

              s710S 1 Reply Last reply Reply Quote -1
              • s710S Offline
                s710 @Quilty weavy
                last edited by

                @quilty-weavy Why do you want to change the UI or fix bugs? I mean I am working on the app, and of course I will fix bugs when they are found πŸ™‚

                Do you have any comments or requests for improvements? Just let me know and I will take them into account.

                I will publish the code to github tomorrow or on wednesday, not going to find time for it today.

                Quilty weavyQ E 2 Replies Last reply Reply Quote 0
                • Quilty weavyQ Offline
                  Quilty weavy @s710
                  last edited by

                  @s710 you can publish the code whenever you want. It is your decision, because it is your app.

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Emphrath @s710
                    last edited by

                    @s710 some news: there should be a clear mention somewhere that this is not an official Pl@ntnet app. And I believe you don't have to delay the publishing to the store when you're done, because:

                    "If you mention that this is NOT an official Pl@ntNet app, then we are good.
                    Publishing the app as open source should be mandatory for the quota to be increased." So as long as they've got the repo address for them to browse, I don't think that they care too much about how and when it's published.

                    1 Reply Last reply Reply Quote 1
                    • s710S Offline
                      s710
                      last edited by

                      Alright, so here is the first version:

                      https://open-store.io/app/plants.s710

                      Let me know what you think of it, and if it works for you.

                      MoemM 1 Reply Last reply Reply Quote 1
                      • MoemM Offline
                        Moem @s710
                        last edited by

                        @s710 You have your first review! I love it!

                        Is currently using an Op5t
                        Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                        1 Reply Last reply Reply Quote 0
                        • s710S Offline
                          s710
                          last edited by s710

                          Great!

                          I think I forgot to add a function which either converts images (e.g. PNGs) into jpeg, or warn the user. I think Pl@ntNet only accepts jpeg. This might lead to unspecified errors when someone tries to upload non-jpeg images.

                          Gonna add this soon.

                          MoemM 1 Reply Last reply Reply Quote 2
                          • MoemM Offline
                            Moem @s710
                            last edited by

                            I fed it images straight from the camera and it worked just fine. I did not crop or edit in any way.

                            Is currently using an Op5t
                            Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                            s710S 1 Reply Last reply Reply Quote 0
                            • s710S Offline
                              s710 @Moem
                              last edited by s710

                              @moem yeah those are jpeg. But you might have pngs in the gallery. Although maybe it would be unusual.

                              MoemM Quilty weavyQ E 3 Replies Last reply Reply Quote 0
                              • MoemM Offline
                                Moem @s710
                                last edited by

                                @s710 said in How to create a plant identification app for ubuntu touch?:

                                yeah those are jpeg.

                                That's right. Sorry, I was not responding directly to your plan to add some kind of .png support... just reporting my workflow, out of general enthousiasm! 🌡 🌿 🌻

                                Is currently using an Op5t
                                Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                1 Reply Last reply Reply Quote 1
                                • Quilty weavyQ Offline
                                  Quilty weavy @s710
                                  last edited by

                                  @s710 Sorry for appreciating your efforts very late but thank you. I will submit a few more images of plants by tomorrow.

                                  1 Reply Last reply Reply Quote 1
                                  • E Offline
                                    Emphrath @s710
                                    last edited by

                                    @s710 awesome work. Copy paste to the api key doesn't work for me but copy paste is hit and miss in UT anyway. Btw i now realize I had this warning during my conversation with them: "Making users signup to the API individually is against our term of use.
                                    You can find the agreement here: https://my.plantnet.org/documents/agreement_PlantNet_API_english_v4.pdf"
                                    So this hardly can be a long term solution. I gave them the repo address just now, and even though i didn't imply it was already published, they'll find out.

                                    s710S 1 Reply Last reply Reply Quote 0
                                    • s710S Offline
                                      s710 @Emphrath
                                      last edited by

                                      @emphrath said in How to create a plant identification app for ubuntu touch?:

                                      @s710 awesome work. Copy paste to the api key doesn't work for me but copy paste is hit and miss in UT anyway. Btw i now realize I had this warning during my conversation with them: "Making users signup to the API individually is against our term of use.
                                      You can find the agreement here: https://my.plantnet.org/documents/agreement_PlantNet_API_english_v4.pdf"
                                      So this hardly can be a long term solution. I gave them the repo address just now, and even though i didn't imply it was already published, they'll find out.

                                      Hmm okay well. Then I am wondering how this could work out at all πŸ€”

                                      E 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Emphrath @s710
                                        last edited by

                                        @s710 i'm confident they'll extend api rights for UT.

                                        s710S 1 Reply Last reply Reply Quote 0
                                        • s710S Offline
                                          s710 @Emphrath
                                          last edited by

                                          @emphrath I don't see how this could be done in a secure way. They could supply a dedicated API-Key with increased usage limits, however it would be impossible to ship the key within the app without the possibility to reverse engineer the key and use elsewhere. Of course, depends if someone is actually willing to reverse engineer, and someone actually looking for an API-Key for Pl@ntNet. Just trying to say that shipping credentials is never a good idea.

                                          E dobeyD 2 Replies Last reply Reply Quote 0
                                          • E Offline
                                            Emphrath @s710
                                            last edited by

                                            @s710 well, they could also increase quota for one specific existing api key - in that case, everything happens on their side

                                            arubislanderA 1 Reply Last reply Reply Quote 1
                                            • arubislanderA Offline
                                              arubislander @Emphrath
                                              last edited by

                                              @emphrath said in How to create a plant identification app for ubuntu touch?:

                                              @s710 well, they could also increase quota for one specific existing api key - in that case, everything happens on their side

                                              Same difference, that one API key would need to be distributed somehow.

                                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                              Happily running Ubuntu Touch
                                              Google Pixel 3a (20.04 DEV)
                                              JingPad (24.04 preview)
                                              Meizu Pro 5 (16.04 DEV)

                                              E 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post