https://github.com/johannest/ai-experiments
Experimenting with Artificial Intelligence
https://github.com/johannest/ai-experiments
deep-learning image-recognition polymer2 progressive-web-app spring-boot tensorflow vaadin
Last synced: about 2 months ago
JSON representation
Experimenting with Artificial Intelligence
- Host: GitHub
- URL: https://github.com/johannest/ai-experiments
- Owner: johannest
- Created: 2017-05-28T18:25:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T10:05:06.000Z (almost 9 years ago)
- Last Synced: 2025-10-30T23:52:59.460Z (7 months ago)
- Topics: deep-learning, image-recognition, polymer2, progressive-web-app, spring-boot, tensorflow, vaadin
- Language: HTML
- Size: 46.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AI experiments with PWA-Polymer frontend and Java-Spring-Tensorflow backend
This application demonstrates how to integrate TensorFlow with you Progressive Web Application. The idea is to use different pre-trained deep learning models.
## Release 0.1
An initial release with PWA front-end and Java+Spring+Tensorflow backend. Using pre-trained image-net model (https://github.com/miyosuda/TensorFlowAndroidDemo/tree/master/app/src/main/assets) with 1000 different image classed.
## Requirements
- Java 1.8
- Maven
- NPM
- Bower
Before you start, be sure you have Node installed. If you are on Mac, I suggest using [Homebrew](http://brew.sh/) to install it.
When you have node installed, install bower:
```npm install -g bower```
## Running
You can start the application locally by running:
```mvn package spring-boot:run```
Open [http://localhost:5000](http://localhost:5000) in your browser
# Production
For a production optimized version, run with the `production` profile. This will run vulcanize on your HTML imports to bundle them all into one file.
```mvn clean package spring-boot:run -Pproduction```
## Resources for Polymer development
- [Polymer Homepage](https://www.polymer-project.org/) - catalog of Polymer elements and guides
- [Vaadin Elements](https://vaadin.com/elements) - open source web components for business oriented apps.
## References
- [Spring boot PWA example](https://github.com/vaadin-marcus/polymer-spring-boot) - Spring boot PWA example by Marcus Hellberg, this example is used as a basis of this ai-experiments project.