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.
      • MoemM Offline
        Moem @s710
        last edited by

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

        @moem If using the API provided by plantnet.org, such an app would be trivial to make.

        That is good news. I hope it's possible, I would be happy to use it. Personally I can't make apps, no matter how trivial.

        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
        • arubislanderA Offline
          arubislander @s710
          last edited by

          @s710 The API is free to use for up to 500 identifications a day. Assuming the app becomes massively popular, in order to guarantee continued and consistent operation of the app, that would mean that every user would have to register for an API key at the website. Not an unreasonable requirement (I see this a lot in other areas of software usage), but an extra step nonetheless, that for some users might seem like an undesirable registration requirement.
          The alternative would be for this to be a paid app in some shape or form.

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

          E s710S 2 Replies Last reply Reply Quote 1
          • E Offline
            Emphrath @arubislander
            last edited by

            Hello all. Got a reply from plantnet:

            "Thank you for contacting us. This is interesting. I doubt we'll have the resources to make a native Ubuntu Touch app (though it seems we could just do a JS/PWA app), the team is very small.
            We have a meeting to talk about open source in two weeks, can you contact us after?
            We also have an API for only identifying plants (my.plantnet.org) which could be use by the open source community to build an app on top of it, though it will lack a lot of community related functions from Pl@ntnet."

            Pretty straightforward, right ? I'll try and get to them in two weeks then, but it seems they're not hostile to the idea !
            Btw what they call "community functions" are pretty useful - it allows rating, reviewing of your observations by peers and botanists

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

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

              @s710 The API is free to use for up to 500 identifications a day. Assuming the app becomes massively popular, in order to guarantee continued and consistent operation of the app, that would mean that every user would have to register for an API key at the website. Not an unreasonable requirement (I see this a lot in other areas of software usage), but an extra step nonetheless, that for some users might seem like an undesirable registration requirement.
              The alternative would be for this to be a paid app in some shape or form.

              Sure. There is so many platform services out there which use exactly this pattern, so this is to be expected.
              But while your point is valid, it does not help much, since the alternative - implementing custom algorithms/train custom NN for image recognition - is just plain not feasible πŸ™‚ And this is true for almost any other service like this (e.g. Yelp, Outdoor active, …), otherwise there would be no reason to pay for their product.

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

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

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

                @moem If using the API provided by plantnet.org, such an app would be trivial to make.

                That is good news. I hope it's possible, I would be happy to use it. Personally I can't make apps, no matter how trivial.

                I can do it, if you want.

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

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

                  But while your point is valid, it does not help much, since the alternative - implementing custom algorithms/train custom NN for image recognition - is just plain not feasible

                  Implementing the necessary algorithms oneself was never on the cards. I was simply pointing out that the free use was subject to restrictions. Developers know about these things, users might not. And it is not just developers that would be reading your post.

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

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

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

                    I can do it, if you want.

                    I would be willing to help with the development if you would embark on such a venture.

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

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

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

                      if you would embark on such a venture.

                      Hah! Good one. I'll just leaf you to it, and hope your endeavour will bloom and be fruitful. πŸ‚ 🌼 🍎

                      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.

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

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

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

                        But while your point is valid, it does not help much, since the alternative - implementing custom algorithms/train custom NN for image recognition - is just plain not feasible

                        Implementing the necessary algorithms oneself was never on the cards. I was simply pointing out that the free use was subject to restrictions. Developers know about these things, users might not. And it is not just developers that would be reading your post.

                        Fair enough πŸ™‚

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cliffcoggin @Moem
                          last edited by arubislander

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

                          I'll just leaf you to it, and hope your endeavour will bloom and be fruitful. πŸ‚ 🌼 🍎

                          Take that woman outside and shoot her for crimes against humour.

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

                            I thought that was hilarious. Got another answer I wanted to share since it s outta my field of competence:

                            "1. Don't you think supporting Ubuntu Touch using the website is enough : https://docs.ubports.com/en/latest/appdev/webapp/index.html

                            1. the mobile app is made using React Native, unfortunately, https://github.com/status-im/react-native-desktop-qt is no longer supported but maybe there is an alternative?"

                            What do you think ? What should I answer ?

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

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

                              I thought that was hilarious. Got another answer I wanted to share since it s outta my field of competence:

                              "1. Don't you think supporting Ubuntu Touch using the website is enough : https://docs.ubports.com/en/latest/appdev/webapp/index.html

                              1. the mobile app is made using React Native, unfortunately, https://github.com/status-im/react-native-desktop-qt is no longer supported but maybe there is an alternative?"

                              What do you think ? What should I answer ?

                              Didn't get to this until now. Give me a day or two, and I will see what kind of app I can come up with. Will be a native UT app.
                              In case it's enough, it would be maybe worthwile offering it to them and/or asking for improved API usage agreements.

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

                                @s710 Wow, awesome. I guess it won't be using ReactJS then ? Do you think I should let them know sth is being worked on native-wise and pass along your suggestion of extended API rights ?

                                s710S 2 Replies 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 Wow, awesome. I guess it won't be using ReactJS then ? Do you think I should let them know sth is being worked on native-wise and pass along your suggestion of extended API rights ?

                                  Correct. I have a working prototype, which is able to pick images from your camera or gallery, and then use their API to identify it. Currently I am working on displaying the results / designing the UI for the results.
                                  As I don't have time to work on it today, I would say by the end of tomorrow I will be able to provide screenshots of the app, which you could then send them if you want.

                                  Basically, there are no technical issues or blockers here, its just a matter of time to get the UI nice and polished now.

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

                                    Teaser:
                                    screenshot20220611_120224955.jpg

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

                                      @s710 omg that's a dream come true ^^ you're the man. Nice interior plant btw. Alright I'll let you know how and when they're willing to help.

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

                                        @emphrath Some more screenshots:

                                        screenshot1.jpeg
                                        screenshot2.jpeg
                                        screenshot3.jpeg
                                        screenshot4.jpeg

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

                                          @emphrath You can show them those screenshots if you want. The app is coming closer to being finished. The screenshots show the workflow of starting with an empty app, adding a picture for identification, receiving the result, saving the result, and then displaying the plant in the overview of already identified plants. I have omitted screenshots for selecting a picture from camera/gallery.
                                          But I guess the order of images got messed up, I'll try to edit the post to correct the order.

                                          Open points:

                                          • Language detection for localized identification result (plant "common names" in local language)
                                          • Automatic resizing of input images (API requires a certain max size)
                                          • Add settings page for API-Key configuration & setup instructions
                                          • Make the app icon

                                          I guess I will be able to finish the app during next week, and publish it to the store. I can also not publish to the store and only upload to github, in case Pl@ntNet is interested in taking over the app. The app is written in maybe 50% C++ and 50% QML. Storage layer & network functionality is implemented in C++, display stuff is in QML.

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

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • Quilty weavyQ Offline
                                              Quilty weavy @s710
                                              last edited by Quilty weavy

                                              @s710 Thanks for your effort. You can open the source code in gitlab/github to contributions for your excellent newborn application. I know a few unique species of plants and trees which I will contribute to your application for sure.

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