• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • E Offline
      Emphrath @arubislander
      last edited by 18 Jun 2022, 20:00

      @arubislander Well how do they make their own android app work then ? I don't get it.

      S 1 Reply Last reply 19 Jun 2022, 07:31 Reply Quote 0
      • S Offline
        s710 @Emphrath
        last edited by 19 Jun 2022, 07:31

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

        @arubislander Well how do they make their own android app work then ? I don't get it.

        Yeah well, maybe they're using non-public APIs. Those, of course, can also be reverse engineered from the binary.
        I am no expert in reverse engineering, but I was told that virtually anything can be reverse engineered with enough efforts. For example, someone reverse engineered the HTTP APIs used by the Bird Scooter app (which, btw, enabled me to make a scooter app).

        Unless you're using a dedicated authentication (user must login within the app), there is virtually no way of publishing something secure, you simply cannot ship credentials/hidden stuff. Of course, this is from a pure security perspective. The owner might still decide to ship apps like this and rely on no one caring about reverse engineering, which might be an acceptable risk.

        In the end, it completely depends on what Pl@ntNet wants to do. I just wanted to point out that if I was given a dedicated API key, and Pl@nNet would increase limits for this single key, I would need to ship it within the app, which would be insecure per design. Of course, I can try to occlude it as best as I can, but it won't be bullet proof. If Pl@ntNet accepts this approach, I don't see any real issues, since I guess that not so many people would be that eager to get into possession of a Pl@ntNet API-key with increased limits so that they would actually take the efforts of reverse engineering it out of my app.

        1 Reply Last reply Reply Quote 2
        • L Offline
          Lakotaubp
          last edited by 19 Jun 2022, 13:36

          I have given this a go just now and really like it and the way it has come into being from initial idea to working app all form within the Community. Great work from all involved. This is really what the UBports Community does well. One small idea if the link to the my.plant.org website could be a direct link from settings (if possible) it would make things smoother.
          If any further help with api keys or/and gaurantee of or licensing usage and such become needed let me know and I will see what can be done.

          1 Reply Last reply Reply Quote 2
          • D Offline
            dobey @s710
            last edited by 20 Jun 2022, 22:54

            @s710 You should probably just make it such that the user would have to acquire their own API key, and provide a UI for entering it in your app. Otherwise, do you plan to pay the fees for going over the number of requests, or even paying €1000/yr?

            The contract PDF you linked to is very much oriented toward scientific organizations building applications for research, and doesn't seem to be oriented toward people who want to occasionally query Pl@ntNet for what plant they find while out on a walk.

            E S 2 Replies Last reply 21 Jun 2022, 08:19 Reply Quote 0
            • E Offline
              Emphrath @dobey
              last edited by 21 Jun 2022, 08:19

              @dobey It is exactly that at the moment. The matter at hand is wether it can last

              1 Reply Last reply Reply Quote 0
              • S Offline
                s710 @dobey
                last edited by 21 Jun 2022, 20:36

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

                @s710 You should probably just make it such that the user would have to acquire their own API key, and provide a UI for entering it in your app. Otherwise, do you plan to pay the fees for going over the number of requests, or even paying €1000/yr?

                The contract PDF you linked to is very much oriented toward scientific organizations building applications for research, and doesn't seem to be oriented toward people who want to occasionally query Pl@ntNet for what plant they find while out on a walk.

                The app works like this. The user needs to provide the key.
                I was under the assumption that they know we make an app since they do not provide one for UT, and they are okay with it. So they should be aware of the fact that there are only to ways it can work: 1) per user developer key 2) dedicated shipped key with special limits.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Emphrath @s710
                  last edited by 22 Jun 2022, 08:56

                  @s710 Got some news from the team at PlantNET (which as it seems just came out of attending a conference about open source software ^^):

                  " Hi Georges,

                  Great work! I've forwarded the repo to the team!

                  Let us know if you need anything from us.

                  Best"

                  So, maybe @Lakotaubp you want to take it from there ? I guess we could also wait for their feedback.

                  L 1 Reply Last reply 22 Jun 2022, 15:13 Reply Quote 0
                  • L Offline
                    Lakotaubp @Emphrath
                    last edited by 22 Jun 2022, 15:13

                    @emphrath I tend to think at present lets see if they come back with anything as your line of contact is obviously working well. If we hit problems with usage or they get back to you with an issue you can't sort from an app point of view let me know. Probably best by PM so as not to clog this thread with stuff and thanks again to all involved great work.

                    Q 1 Reply Last reply 23 Jun 2022, 14:52 Reply Quote 1
                    • Q Offline
                      Quilty weavy @Lakotaubp
                      last edited by Quilty weavy 23 Jun 2022, 14:52

                      @lakotaubp you are right.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mateo_salta
                        last edited by 25 Jun 2022, 10:31

                        If you do need to go to a single key - it might be good to use compiled qt in the build that goes to the store, so the program is within a binary and the plain qml not stored anywhere. Let me know if you need to do that and I can help.

                        Q 1 Reply Last reply 25 Jun 2022, 13:10 Reply Quote 0
                        • Q Offline
                          Quilty weavy @mateo_salta
                          last edited by Quilty weavy 25 Jun 2022, 13:10

                          @mateo_salta you can defintiely help if you wish to help.

                          1 Reply Last reply Reply Quote 1
                          • L Offline
                            Lakotaubp
                            last edited by 1 Jul 2022, 11:23

                            I would now consider starting a new thread for music recognition. Mixing it with a plant identification app thread is getting a little confusing and more importantly the info and discussion will just get lost.

                            D 1 Reply Last reply 1 Jul 2022, 11:28 Reply Quote 1
                            • D Offline
                              domubpkm @Lakotaubp
                              last edited by 1 Jul 2022, 11:28

                              @lakotaubp I agree. If also you manage to move what has been said.

                              L 1 Reply Last reply 1 Jul 2022, 11:30 Reply Quote 0
                              • L Offline
                                Lakotaubp @domubpkm
                                last edited by 1 Jul 2022, 11:30

                                @domubpkm If you want to start the topic then i will move all te related posts.

                                D 1 Reply Last reply 1 Jul 2022, 12:22 Reply Quote 0
                                • D Offline
                                  domubpkm @Lakotaubp
                                  last edited by 1 Jul 2022, 12:22

                                  @lakotaubp done

                                  1 Reply Last reply Reply Quote 0
                                  • Q Offline
                                    Quilty weavy
                                    last edited by 7 Jul 2022, 10:56

                                    @s710 This issue is not solved yet, There is a major issue left which is making this app independent without the need to submit an ID to use the app ( Pl@ntnet API )

                                    arubislanderA 1 Reply Last reply 7 Jul 2022, 13:36 Reply Quote 0
                                    • arubislanderA Offline
                                      arubislander @Quilty weavy
                                      last edited by arubislander 7 Jul 2022, 13:37 7 Jul 2022, 13:36

                                      @quilty-weavy I don't think this is an issue the @s710 can do much about at the moment, without hearing back from the folks at Pl@ntnet. And even if they could, they are not under any obligation to do so. They donate their time and talent, so things are either done in their time, on their terms, or someone else puts in the work and makes a PR. That is how Open Source is intended to work.

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

                                      1 Reply Last reply Reply Quote 1
                                      • D Offline
                                        domubpkm
                                        last edited by 5 Oct 2022, 07:15

                                        screenshot20221005_085844488.png

                                        For info : in V 1.3.0 : on Volla (probably on all smartphones), the plant app needs to be restarted after setting the switch to ON for this usefull mechanism to work.
                                        And thanks @s710 for the implementation.

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          HugoGresse
                                          last edited by 4 Jan 2023, 11:20

                                          Hi there,

                                          Hugo from Pl@ntNet project, the initial contact answering by email.
                                          Let us know if you had any issue, I've read some of the reply there but let me know if you need to read something from us.

                                          1 Reply Last reply Reply Quote 1
                                          • * Offline
                                            *ShaneCorn* Banned
                                            last edited by 12 Feb 2025, 07:27

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post