https://github.com/josephgoksu/document-analysis-api
Open Source Document Analyzer
https://github.com/josephgoksu/document-analysis-api
angularjs daa flask flask-restful python textract
Last synced: 29 days ago
JSON representation
Open Source Document Analyzer
- Host: GitHub
- URL: https://github.com/josephgoksu/document-analysis-api
- Owner: josephgoksu
- Created: 2016-12-28T23:30:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T21:31:36.000Z (about 8 years ago)
- Last Synced: 2025-01-14T01:34:22.197Z (over 1 year ago)
- Topics: angularjs, daa, flask, flask-restful, python, textract
- Language: Python
- Homepage:
- Size: 4.62 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](#)
# To Do
- Python version upgrade 2.7 -> 3.6
- New app logic
- Fast text scan algorithm
Important Message: If you want to use this app, you have to edit some code.
### Technologies
DAA(Document Analysis App) uses a number of open source projects to work properly:
* [Flask] - A microframework based on Werkzeug, Jinja2 and good intentions http://flask.pocoo.org/
* [Flask RESTful] - Simple framework for creating REST APIs http://flask-restful.readthedocs.io/
* [Redis] - Redis is an in-memory database that persists on disk. http://redis.io/
* [Angular JS] - HTML enhanced for web apps http://angularjs.org/
### Installation
DAA requires [Python 2.7](https://www.python.org/download/releases/2.7/) to run.
**Step 1) Activate python environment**
```bash
$ source ./yourOwnEnvironmentDirectory/bin/activate
```
**Step 2) Install the project dependencies**
```bash
$ pip install -r requirements.txt
```
**Step 3) Run the project**
```bash
$ export FLASK_APP=hello.py
$ flask run
* Running on http://127.0.0.1:5000/
```
###Additional
langdetect library supports 55 languages out of the box ([ISO 639-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)):
af, ar, bg, bn, ca, cs, cy, da, de, el, en, es, et, fa, fi, fr, gu, he, hi, hr, hu, id, it, ja, kn, ko, lt, lv, mk, ml, mr, ne, nl, no, pa, pl, pt, ro, ru, sk, sl, so, sq, sv, sw, ta, te, th, tl, tr, uk, ur, vi, zh-cn, zh-tw
### Development
Want to contribute? Great!
Fork, commit, push
[Flask]: https://github.com/pallets/flask
[Flask RESTful]: http://flask-restful-cn.readthedocs.io/en/0.3.5/
[Redis]: https://github.com/antirez/redis
[Angular JS]: https://github.com/angular/angular.js/tree/master