[APP] [GUIDE] Pocket AutoML: train a deep learning model on your phone, learn how to create an Android app based on it with the provided tutorial - Android Software Development

Hello everyone!
I made an Android app called Pocket AutoML that trains a deep learning model for image classification right on your phone and made a tutorial on how to export a model from it and make your custom Android app with an exported model like e.g. an app for identifying plants or sorting lego bricks.
Some of its features:
Pocket AutoML lets AI enthusiasts even without any prior machine learning expertise train a deep learning image classification model, export it in TensorFlow Lite format and make a custom Android app based on it following the provided tutorial.
Computer vision or deep learning professionals can also use it as a tool to create a quick proof-of-concept for transfer learning on their tasks without a single line of code.
It trains a model right on on your device in seconds (for a dataset with dozens of images).
It respects your privacy: your images are never uploaded anywhere as both training and prediction happens on your device (the apps made with exported models also have the same advantages).
It does not need an internet connection for training and predicting (internet connection is needed for TL Lite export though).
Just few images per class can be enough to train a model that accurately classifies objects (what is known as few-shot learning).
Pocket AutoML does nothing magical, it just uses transfer learning, which you can use directly, as described in the end of the tutorial above, so no vendor lock is imposed.
The above mentioned app creation tutorial on GitHub includes a working example Android app that classifies images from a phone camera and steps to customize that app with your model trained in Pocket AutoML.
Since Pocket AutoML exports models in TensorFlow Lite format, they can also be used to create apps for platforms other then Android like iOS, embedded Linux devices like Raspberry Pi or Coral and microcontrollers.
You can compare this app with other no-code or low-code deep learning solutions: Create ML from Apple, Lobe from Microsoft, Teachable Machine from Google, Google AutoML Vision, Azure Custom Vision from Microsoft, TensorFlow Lite Model Maker from Google, they are either free like Pocket AutoML or have a trial period.
I will be glad to discuss the app here and help in case of potential technical issues with the app itself or when following the tutorial above.

Related

Lets Built OpenSource Projects for PPC. 6 Projects Posted. Updated 7th Feb 2008.

NOTES:
The projects if developed will become a generic code baseline for each and every developer seeking codes.
This means projects in this thread is just to give everyone a basic working conceptual code which can be used anywhere in similar projects.
Just think people has great ideas to work on, but they dont have baseline code from where to start as most of them might be learning.
So this thread should help them out giving a working base code..
Any1 interested in building couple of OpenSource Projects for PPC? Ill post concepts.
Lets built next generations of applications together as open source which people can use to learn things as well.
The reason open source is so that everyone can contribute code for a project, and work together to built the best.
Anyone Interested???
------------------------------------------------------------------------------------------------------------------
Project 1: File Indexer for PPC [FIndexer]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
To index each and every file on PPC with custom options on indexing.
Purpose:
In todays world where 1gb,2gb,4gb cards are available, we store tons of file on our PPC like ebooks, songs, music, videos.
Many times it is not possible to search using a search utility as it may consume battery and we need to wait till file is being search.
This is the place where this FIndexer comes in to picture, where we index our file either manualy or scheduled.
And then searching a file will just take 1 second to return the results.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 2: File System for PPC [PFS (Pocket File System)]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
Idea came from Microsoft new file system WinFS.
Correct me if i am wrong, this File system is a file table itself where it keeps track of each and every files in details in Real Time.
Purpose:
In todays world where 1gb,2gb,4gb cards are available, we store tons of file on our PPC like ebooks, songs, music, videos.
Many times it is not possible to search using a search utility as it may consume battery and we need to wait till file is being search.
This is the place where this PFS comes in to picture.
Why use any indexing software also?, let this File system handle it in real time.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 3: Tic Tac Toe (x & 0) Game (BlueTooth Enabled)
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
This is a game which we always played for fun in good old days and still we play.
We might have wasted good amount of papers to play this game. Classic X & 0
Purpose:
We hardly see any bluetooth enabled games for PPC. Thats the purpose to built a very basic game with 2 players mode on bluetooth.
This may be a good code for all the developers round here who wants to start with some bluetooth code.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 4: Multipurpose Single Line Marquee Scrolling Today Screen Plugin [Like Stock Tickers]
Not Sure if it exists or already available.
Added:
01 Feb 2008
Description:
A today plugin which scrolls like a stock ticker in 1 or 2 lines, and provides useful configurable information like battery info, world time, live money rates, notifications, one liner quotes, jokes, appointments, bluetooth status, and much more, in 1 or 2 scrolling lines.
Purpose:
Many might have noticed too many of today plugin gives a scroll bar to your today screen which dont look good.
This is where this plugin comes in to picture.
This should be completely customizable right from scrolling speed to colors to information to flashing colors speed, bold and much more.
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB.
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 5: Application Specific Backup Tool (Can be a great tool)
Not Sure if it exists or already available.
Added:
04 Feb 2008
Description:
There are several backup tools which takes backup of PPC as a whole and can be restored easily, but:
How many times you feel that you had installed tones of applications and had taken a backup of those, and now when you get a new PDA, you feel like you dont want to again install all the applications installed previously due to certain reasons. By restoring the backup you end up again with all unrequired applications again.
This tool will help you to eliminate those problems by taking backup of each and every application configurations seperately with version informations. Yes now you can backup configurations of your games, your theme managers, your music player configurations and everything and have choice to restore them back again seperately as required.
Yes people who develope tools with configurations involved may have to coporate to tell us where they save the data of their application so we coders can add a plugin code to backup that particular application.
You can say that this tool has a builtin database information of most of the application to backup the configs.
Purpose:
Description above says it all
Language:
C++ is best language for this kind of project because of speed.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Project 6: Application data which synchronizes with Web Services.
Not Sure if it exists or already available.
Added:
07 Feb 2008
Description:
Again this is an application which most coders are going to like who are learning mobile codings. This application mainly shows how to communicate with mobile device application with web service to keep data in sync. Data can be either contacts, games scores, or any text based details.
Yes a today screen plugin would be nice to show some information on sync or other details.
Purpose:
To provide generic code to each coder seeking this kind of communication.
Language:
C++ is best language for this kind of project because of speed.
And either .Net or Java for Web Services.
Database:
Not sure, but either SQL or Access DB or XML
Type:
Open Source
------------------------------------------------------------------------------------------------------------------
All Projects should be easily skinnable by anyone.
People willing to part of this project, than please post your details as follows:
Name:
Skills:
Comments:
Once we have a team than we will go ahead and create documents like
RUD (Requirement Understandings Document)
SRS (Software Requirement Specifications)
What do you guys say??
Wanna work together as one, and built a new world for everyone?
Wait for everyone's view, either good or bad.
I am not sure how good above to projects are, but this thread mainly wants every coder, designer, tester to work together and built something.
List of Contributers (Coders, Designer, Tester, Others)
This place will list all the Contributers (Coders, Designer, Tester, Others)
Screen Design for each Projects goes here
Screen designed by contributers goes in this post.
NOTE:All screens designed will be copyright of the designer and should not be distributed or used without a permission.
Attached a Screen for an idea for Project 4
Notice the first Plugin in Yellow border.
Created by me.
List of Features and Request for Features and Suggestions
List of Features and Request for Features and suggestions goes in this post whomsoever wants. Then the team can make it happen.
Builts / Releases
Builts / Releases Goes in this section.
Technical Disscutions
Important Technical Disscutions will be posted and collected in this post.
Intentionally kept blank 1
Intentionally kept blank 1
Intentionally kept blank 2
Intentionally kept blank 2
Intentionally kept blank 3
Intentionally kept blank 3
Intentionally kept blank 4
Intentionally kept blank 4
Intentionally kept blank 5
Intentionally kept blank 5
zbop has done something similar to what you are looking for in number 4. You place info in reg. keys and then update that info via Mortscript (or however you want) and then it gets scrolled on a today screen line. Check out http://discussion.treocentral.com/showthread.php?t=141375 post #269 for the latest version.
more than 600 views but just 1 reply!
I wonder how does open source developers meets and work together
I decided to give this initiative a fighting chance so I am going to 'sticky' this thread for one week.
If there are no takers I will 'unsticky' it.
Unfortunately, I do not currently have time to take part in this project my self as I am learning to program for Linux and OpenMoko specifically.
greenhacks said:
more than 600 views but just 1 reply!
I wonder how does open source developers meets and work together
Click to expand...
Click to collapse
They don't, they start by making something, small, runnable, interresting, then share it, with the source.
This is more than i could expect from this forum. Thanks a lot.
This is a try to bring many great people in this forum and to develop something great for the forum.
Projects mentioned in this thread is just for start.
People can give their own new ideas so all work together and make something great for all the forum users.
i have no other intentions to start this thread other then bringing all together.
Starting this thread i thought i will also put my skills to help new guys.
Thanks again, and i hope this works out.
Here's a project idea that came up in the herald forums - use your touchscreen as a psudo-wacom tablet while tethered. Yes it would only be on/off and wouldn't sense pressure differences, but would still make for a cool project.
Heared of Android?
I guess you have heared about android,an all open-source linux based platform.And about the total of 10M bounty by Google as an award for the top 50 applications tha will be developed for the platform.So I'm guessing any developers with the skills to do such projects will have their hands full.
After all it sould be reasonably easyer to programm for an all opensource platform than for WM,a closed source platform.
Just my 2 cents.
nstamoul said:
I guess you have heared about android,an all open-source linux based platform.And about the total of 10M bounty by Google as an award for the top 50 applications tha will be developed for the platform.So I'm guessing any developers with the skills to do such projects will have their hands full.
After all it sould be reasonably easyer to programm for an all opensource platform than for WM,a closed source platform.
Just my 2 cents.
Click to expand...
Click to collapse
Count the number of applications developed in this forum by everyone for so called 'closed source platform of wm6'
I do agree with your thoughts and dont say you are wrong, but hey thats a whole different ball game.
Always remember
When a company runs out of concepts, then company organises a competition with great prices. At the end company gets thousands of new concepts. winner gets the price, company gets new product.
same thing happens in open source world as well as close sourced.
If all think in this direction then i can bet, xda will run out of members.
not trying to defend, but this is something which simply cannot be debated or this is not a right place.
tene said:
They don't, they start by making something, small, runnable, interresting, then share it, with the source.
Click to expand...
Click to collapse
Then lets make something small, runnable, interresting, and share with the whole world!
It was very dificult to find this kind of groups, thats the reason internet became so famouse, where we can find different people with great skills from different country and make things possible.

PhoneGap and Corona - how do they work?

PhoneGap and Corona are both cross platform mobile app development environments, but how do they do what they do?
Well I'm a PhoneGap Build user and I recently DLed the PhoneGap add-ons for my Eclipse dev environment. With PhoneGap you code your app in HTML5, CSS£ and JavaScript and it turns it all into an Android app for you.
I think I've worked out that PhoneGap takes your web pages and just wraps them all up into what is essentially a stand-alone website that acts as an app.
It's a nice idea if you want apps that are purely information, like some of the medical apps for healthcare professionals, but it's not so nice for smoothness and transitions or even interface elements e.g. you can simulate a Tabbed layout but it's not as neat or a smooth as a real Eclipse coded Java-xml Android Tabbed layout.
PhoneGap can repackage your web "app" for iOS, Andoird, BlackBerry, Sybian and webOS! That's one big bonus.
Now does anyone know how Corona works? Seems it's only for iOS and Android and I'm wondering what the underlying structure is. Anyone know?
No one knows?
It's be useful for developers to have insight into this. Afaik Phone gap don't have this info in their docs, I've just worked it out.
Sent from my HTC Sensation Z710e using Tapatalk
Corona is more of a Game Engine I think
It's basically it's own API/SDK/Engine. You code works within that. It looks like it uses lua script but I'm not sure.
Phonegap and other cross platform tools
Hi pizza_alarm
There are basically 3 types of multi-platform approaches:
1) the super-simplistic. These are not really programming at all, but simple tools to auto-generate an app using rss feeds, and other fairly generic settings.
2) browser-hybrid. Most of the serious contenders would fit this category, even though some claim to be in the 3rd. They use html + css to describe page layout, and some (like phonegap) allow full access to any browser-supported scripting, like javascript. At build time, a pre-compiled "player app" is bundles with your web app
3) native compiler. These let you build your app in a intermediate coding language, which then gets recompiled for each platform. Many of these still use the techniques described in item 2.
We have recently published a free comparison between all the serious contenders (items 2 and 3 in my list). Tell us what you think:
(I don't have permission to post the URL - but if you google "triballabs cross platform" you will find it)
Sorry - I meant to add that we use phonegap. One of the bits we like most about it is that you get all the source code, so if you need to enhance the basic "player" app it is very easy to do. Obviously you need to code these native, in Java or Objective-C or whatever your platform calls for
I use Corona since 2013. I have made this game Stronghold. It's easy to use, but there is a lot of limit, no multi threading, few plugin, few quantity of documentation, the app always do imagesheet in 32bits. We have to pay for many things. Like remove the launcher image (actualy it's write corona sdk XD)

Wordpress intregration?

Needed information: -Currently I working on an my first app (besides Hello World) for a club that I am in on campus.
-I want to display the news feed of a closed group in a small window- but I have been lead to believe that I would need to make an app on Facebook.
-My current "solution" would be to link up the group with Wordpress and use Wordpress to displayed a "window" in the app.
-I am using Eclipse ( since netbeans lacks a gui editor)
- any other solutions need to be as basic as possible on the front end. Any possible president in the future would need to be able to work with it, and updates need to be kept easy to follow with or without much computer skills.
-help would be appreciated.
Background: -Originally I was going to display a window of the twitter feed from the app-and I found that twitter has a library to work with.
-Other app features are a calender that would be synced with one that the President works with.
-There will be a set of "themes" within the app for the members customization.
-I am new to developing and coding. I come from the world of designing and audio editing. I have been studying on my own, but have had little hands on. With the twitter I was able to find a tutorial that both walked me through and explained the concepts.

Looking for local VCS in Android Studio

I've been using SVN integrated into Eclipse at work, and I've grown to really love being able to view and track changes. I would like to use some kind of version control in Android Studio. I've used Github for Windows locally before. I liked using it for commits, but was less than pleased when I needed to roll back to a specific version. (IIRC, there was a button that deleted all my commits past the one I wanted...)
I would rather have something simple, light weight, and local, but I could use something online if it's free/cheap and keeps your code private. Does anyone have any favorite VCS to use with AS/IntelliJ? According to the IntelliJ website, it supports these VCS-
Code:
Git
GitHub
Subversion (SVN)
Mercurial
Perforce ULTIMATE
Team Foundation Server ULTIMATE
CVS
Visual SourceSafe ULTIMATE
Rational ClearCase ULTIMATE
I would not chose anything but git. It's powerful, open and widely supported.
Unless you know what a "button" of your favorite GUI really does behind the scenes, you should use the command line for delicate operations with git. Basically there are verious types of "rollback" - even ones which rewrite history.

Decent resources for learning? (Slim ROMs, esp linux based)

I rarely use my SM-T515 because it's so flipping slow. There has to be a better way!
I dont play games, I use a fraction of the applications, but I *DO* use email, calendars, web browsers, text editors, pdf viewers, and rarely, image editing. I like streaming Youtube & some social media. I use network tools, and smart home apps. I own a weather station and would love to run related software. I use the network & bluetooth.
I understand that Samsung has a locked bootloader, which seems to make development difficult. I sill have not wrapped my noggin around hardware specific OSes yet. I want to learn about why I can't just load slack, or some other distro, and then look for collaborative resources to find specific drivers, etc.
To be certain, I have much to learn.
Rather than dismissing me as a noob not worth your time & effort, I would appreciate a little assistance / direction. I'm a retired network security specialist, and who knows, perhaps, in time, I'l be the one here who is offering assistance and direction to other noobs.
Thanks for your consideration!
(Hyper) Pete
You Can look many Rom Custom Specialised on Tablet, same here :
LineageOS – LineageOS Android Distribution
LineageOS Android Distribution
lineageos.org
Paranoid Android Project
Download center | Paranoid Android
paranoidandroid.co
PixelPlusUI
ppui.site
Manual install · ProtonAOSP
This is a guide for installing ProtonAOSP manually, using the command line. The web installer is recommended if you don't have a specific need for this. Check the list of common misconceptions if you're not sure.
protonaosp.org
Good Read and look video with KeyWords "YourCustomRom SM-T515 "

Categories

Resources