Code Monkey home page Code Monkey logo

aidlearning-framework's Introduction

AidLearning

License thank for qidiso provide the 中文说明

Aid Learning builds a Linux system with graphical interface on Android mobile phone, and supports GUI, Python and AI programming. This means that when it is installed, your Android phone has a Linux system in which you can run Gui programs of python and AI. Aid Learning supports a list of Top Machine Learning Framework for Deep Learning. Now we support Caffe, Tensorflow, Mxnet, ncnn, Keras, Pytorch,Gluoncv, cv2,scipy.... powerfully build-in. (in order to support deep learning, you no longer need complex configuration and wall-flipping dependency packages).

Furthermore we provide an AI coding develop tool named Aid_code. It can provide you a visual AI programming IDE by using Python from zero on our framework! It means that when it is installed, your Android phone owned a Linux system with GUI which can write and run AI program in it as same as in PC. In addition,Latest version(>0.72) of Aid Learning can provide a new visual programming experience of touch-and-drag by using Python on our framework (supporting both Python 2 and Python 3)!

At the same time, Aid Learning provides wifi-based mapping projection technology, which can project the code of mobile phone to PC and interact with SSH remote commands. It can also be projected to TV and projector for large screen display.

In short, Aid Learning has created a Four-in-one and touch-and-drag platform for rapid development and learning of Android+Linux+AI+Python. It can not only use mobile phones for fragmented programming, but also make full use of the development advantages of the two main operating systems (Android+Linux) and the perfect AI terminal advantages of mobile phones. With this advantage, Aid Learning can build a perfect learning ecosphere of programming education.

AidLearning is a Linux system running on the Android with GUI, AI and Python support . The AidLearning project which have the Linux+Anroid+AI 3IN1 environments Developed and Maintained by several students from Cas University and Yale University.


Now you have a complete linux with GUI running on Android (Real linux running on the busybox and not virtul environment. So it is faster and almost real-time.) and can write your AI code on it visually using the Python!

Now Release: AidLearning 0.73
What's new:

  1. Fixed the bug that apt update failed (ps:The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD62925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A7B6500)
  2. AiCode has major updates:
  • The interface and menu were redesigned to fix the bug of floating menu occlusion code.
  • New code auto-prompting function, if you input the initial letters of variables, functions and keywords, the system will automatically complete , which can greatly improve efficiency.

  • New ui Design Interface (Wizard), now ui design does not require you to write ui code , you can use touch and drag Components to generate ui codes. We have built-in a large number of UI development components,the system will automatically generate ui code, you only need to focus on the core processing code.
  1. Redesign the example codes and use the new ui Design method.

  2. Because of the importing of touch and drag programming, the development code now adopts the method of separating the ui interface from the personal core processing code. The ui interface code is generated by the system, and the core processing code system also generates the port, you can focus on the part you really want to deal with.

  3. Fixed the problem of relying on a small amount of network traffic. Now even if your mobile phone is in flight mode, it can run the system.

  4. Update other bugs that affect stability

Update log: AidLearning 0.70-0.72
What's update:

  • Full support for Python 3 and python 2, as well as pip3 and pip2 install

  • Caffe/MXNET/Gluoncv/Tensorflow/ Keras/Pytorch/Opencv4 for Python3 and Python2 are perfectly supported

  • With the new CVS package, you can easily customize your interface with Python code:

    cvs. setTitle ("Face Recognize")
    cvs. setInput_dict (usr_dict)
    cvs. setSubmitName ("Register your FaceID")
    cvs. setCamX (350,480)
    cvs. setInfoX (320,60)

  • Now You can use apt (apt-get) to install new packages to improve your Linux Environment...

  • Some BUGs have been solved, such as:
    Press the home key to return home and then enter the app: Instead of returning to the GUI, the problem is returning to the terminal.
    Reducing dependence on network traffic.

  • Adding new buttons for running Python 3 and python 2 online for Aid_code IDE

  • Add the AI Example Center, put some examples on the website, the new examples can be downloaded from the website in the future, in order to prevent the distribution of installation packages too large.

  • Modified accounts that do not activate the mailbox can be logged in directly, but there are prompts to activate the interface after login...


TABLE OF CONTENTS

▣ Dependencies
▣ Installation
▣ Support AI framework
▣ GUI Customize
▣ SSH (connect to pc)
▣ Main Features
▣ Youtobe show
▣ Screenshot of AidLearning
▣ Examples Inside
▣ Aid_code IDE
▣ Contributors
▣ References



Dependencies

All you need is an Android devices (phone ,tablet or arm board) that supports the CPU of Arm64(aarch64). The Android version requires more than 6.0. If you think the parameters are not clear enough, I would like to say that most of the mainstream mobile phones support it, such as Samsung, Huawei, MI, OPPO, VIVO, etc.In addition, the requirement of storage space is a little big. It is suggested that there should be 4G free storage space.

Installation

To install AidLearing, Simply download an app (apk file) and install it on your mobile device. download at:
http://www.aidlearning.net/downloads/aidlux-05-10.apk (support python2.7, python3 not support)
http://www.aidlearning.net/downloads/aidlux-05-31.apk (support python2.7 and python3.5.1)
http://www.aidlearning.net/downloads/aidlux-06-01.apk (support python2.7 and python3.6.4)

http://www.aidlearning.net/downloads/aidlux-06-28.apk (support python2.7 and python3.6.4,support the touch and drag ui design,support automatic code completion)

The app (apk) is only 8M,when you install the apk ,the apk will download the depdence of the linux is 700M and 350M examples of AI codes using python. all is about 1G size to download .So it's recommended that you install it in a WiFi environment.

Important reminder: Click the set icon after entering the desktop, the dialog box for the camera permission will pop up, please click agree, if you want to use the built-in example.



Support AI Framework



GUI Customize

Now you can easily customize your GUI with touch and drag!Wizard will produce the code automatic:

class MyApp(App):
	 	def __init__(self, *args):
    		super(MyApp, self).__init__(*args)

	def main(self):
			container = gui.VBox(width=120, height=100)
			self.lbl = gui.Label('Hello world!')
			self.bt = gui.Button('Press me!')

	# setting the listener for the onclick event of the button
		self.bt.onclick.do(self.on_button_pressed)

	# appending a widget to another, the first argument is a string key
		container.append(self.lbl)
		container.append(self.bt)

	# returning the root widget
		return container

    # listener function
	def on_button_pressed(self, widget):
		self.lbl.set_text('Button pressed!')
		self.bt.set_text('Hi!')


>>> Tutorial & Guide


SSH (connect to PC)


PC can connect to mobile by using **ssh-keygen**. Generate a new key pair with ssh-keygen command in your PC. the command ssh-keygen produce the file of id_rsa and id_rsa.pub in the dir: ~/.ssh/

Just need you do: open the url:mobilephone'sip:8910/upload(for example:http://192.168.1.6:8910/upload) in the pc to upload ssh's file(id_rsa and id_rsa.pub).

Main Features:

Graphical User Interface

We fixed Graphical User Interface for the Linux on Andorid(It has been pruned by andorid!), so you can use the GUI just like on the pc. For instance, You can use opencv to open and view camera!

Fast,Real-Time

Real linux running on the busybox and not virtul environment like VirtulBox. So it is faster and almost real-time

Easy to use

We provide a plenty of examples and by using our framework, you can run it with a tap, and then get a visual log to show the informations or errors.

Coding anywhere

You can coding on your phone anywhere, anytime. Every inch of fragmentation have been fully utilized. Your creativity can be instantly realized with a flash of inspiration.

# Energy Star

According to the test on the mainstream smartphone like Samsung, Aid Learning Framework only use 1% power consumption in a whole day (Standby)



Youtobe show

[Watch the video](https://youtu.be/bkvNXgCi3_c)



ScreenShot of AidLearning

Examples Inside:

Facencnn(mobiefacenet ncnn) 15fps in mobile phone

Face Landmark (106 keypoints ncnn) 15fps in mobile phone

handpose (tensorflow ) 5fps in mobile phone

body posenet for single person(converted from google ) 10fps in mobile phone

body posenet for multi-person(converted from google ) 7fps in mobile phone

Stylized picture(GAN ) 3fps in mobile phone .....

Aid_code IDE of python

We provide an AI coding develop tool named Aid_code. It can provide you a visual AI programming IDE by using Python from zero on our framework! Using the tool, you can run your python2 or python3 codes online.so ,you can coding with Aid_code IDE on your phone anywhere, anytime.

Of course, you can use Aid_code on the web to edit your code online. For example, you can use web coding with Aid_code on PC. You just need to open the web address: IP of your mobile phone:8900/, when your PC and mobile phone are in the same LAN. You can open it on a PC, for example:

Http://192.168.1.8:8900/, if your phone's IP is 192.168.1.8, you can check your phone's IP by commanding ifconfig (run ifconfig under terminal)



Contributors

We are inviting anyone who wishes to contribute to the AidLearning project to reach to us. We primarily need contributions in translating the documentation of the project's code to major languages that includes but not limited to French, Spanish, Portuguese, Arabian and more. We want every developer and researcher around the world to benefit from this project irrespective of their native languages.

We give special thanks to qidiso for his incredible and excellent work in translating AidLearning's documentation to the Chinese language. Find below the contact details of those who have contributed immensely to the AidLearning project.

Email: [email protected]
Website: http://www.aidlearning.net


Medium-- Stories about AidLearning

References

aidlearning-framework's People

Contributors

aidlearning avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.