basic tools for ai
Project description
Info
====
`ai_tool 2018-05-25`
`Author: Zhao Mingming <471106585@qq.com>`
`Copyright: This module has been placed in the public domain.`
`version:0.0.6`
`version:0.1.0`
- `add func roc`
- `add func photo_stiching`
- `add func flv2img`
`version:0.1.1`
- `add func microsoft_demo`
`version:0.1.3`
- `add func luminance`
`version:0.1.4`
- `add func dbop ,opreate the database`
`version:0.1.5`
- `add func util, make the print has time`
`version:0.1.6`
- `add func txt2html, make the txt 2 html table`
`version:0.1.8`
- `modify file microsoft_demo, add zprint into it`
`version:0.1.9`
- `modify roc_yolo`
`version:0.2.1`
- `modify insert_image2db, can insert data into 2 database`
Functions:
- `draw_curve`: draw a curve in a image and return the image
- `image2text`: translate a image to be text style
- `save2server`: save a image on the local server
- `image2bw`: turn a gray image to be a binary weights image
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
Functions:
- `draw_curve`: draw a curve in a image and return the image
- `image2text`: translate a image to be text style
- `save2server`: save a image on the local server
- `image2bw`: turn a gray image to be a binary weights image
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
x=np.array([-0.2,0.3,0.4,0.5])
y=np.array([0.2,0.4,0.1,-0.4])
norm(x,np.array([0,500]))
img=draw_curve(x,y)
img=draw_curve(x,y,title='my title',xlabel='my x label',ylabel='my y lable')
img=cv2.imread('../examples/faces/2007_007763.jpg')
img_gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
# img2bw
img_bw= image2bw(img_gray)
print img.shape
image2text(img,(80,40))
image2text(img,(80,40))
Refresh
========
20180821
====
`ai_tool 2018-05-25`
`Author: Zhao Mingming <471106585@qq.com>`
`Copyright: This module has been placed in the public domain.`
`version:0.0.6`
`version:0.1.0`
- `add func roc`
- `add func photo_stiching`
- `add func flv2img`
`version:0.1.1`
- `add func microsoft_demo`
`version:0.1.3`
- `add func luminance`
`version:0.1.4`
- `add func dbop ,opreate the database`
`version:0.1.5`
- `add func util, make the print has time`
`version:0.1.6`
- `add func txt2html, make the txt 2 html table`
`version:0.1.8`
- `modify file microsoft_demo, add zprint into it`
`version:0.1.9`
- `modify roc_yolo`
`version:0.2.1`
- `modify insert_image2db, can insert data into 2 database`
Functions:
- `draw_curve`: draw a curve in a image and return the image
- `image2text`: translate a image to be text style
- `save2server`: save a image on the local server
- `image2bw`: turn a gray image to be a binary weights image
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
Functions:
- `draw_curve`: draw a curve in a image and return the image
- `image2text`: translate a image to be text style
- `save2server`: save a image on the local server
- `image2bw`: turn a gray image to be a binary weights image
How To Use This Module
======================
.. image:: funny.gif
:height: 100px
:width: 100px
:alt: funny cat picture
:align: center
1. example code:
.. code:: python
x=np.array([-0.2,0.3,0.4,0.5])
y=np.array([0.2,0.4,0.1,-0.4])
norm(x,np.array([0,500]))
img=draw_curve(x,y)
img=draw_curve(x,y,title='my title',xlabel='my x label',ylabel='my y lable')
img=cv2.imread('../examples/faces/2007_007763.jpg')
img_gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
# img2bw
img_bw= image2bw(img_gray)
print img.shape
image2text(img,(80,40))
image2text(img,(80,40))
Refresh
========
20180821
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ai_tools-0.2.2.tar.gz
(21.5 kB
view details)
Built Distributions
ai_tools-0.2.2-py2.7.egg
(60.7 kB
view details)
ai_tools-0.2.2-py2-none-any.whl
(28.9 kB
view details)
File details
Details for the file ai_tools-0.2.2.tar.gz
.
File metadata
- Download URL: ai_tools-0.2.2.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
121c11ca8e0c2c23f06565f5b3d7197c9baaacfc8c49bede531d3566ebd39640
|
|
MD5 |
349bf61d501721c405ced4eceb15f522
|
|
BLAKE2b-256 |
157b92cbf71dd2b6f2fd2d1be8e63235bcb2e658b5e701fc3d5dade82105597c
|
File details
Details for the file ai_tools-0.2.2-py2.7.egg
.
File metadata
- Download URL: ai_tools-0.2.2-py2.7.egg
- Upload date:
- Size: 60.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
26f588cc0a96f9bb175f94c82ea00c168018ab936e88f1b43d2453852a83b519
|
|
MD5 |
2733f294a2cd4a1c673f905a0feb5c8f
|
|
BLAKE2b-256 |
d9263dcfc809e9b2f7ba5d834bcec85291e51acda164280d85ca5fbaf87ba00d
|
File details
Details for the file ai_tools-0.2.2-py2-none-any.whl
.
File metadata
- Download URL: ai_tools-0.2.2-py2-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.4.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ff03d6f41bb20a867abee7365548d53b979e67b7eb91bc30457b58c36af472b6
|
|
MD5 |
4bd7c261e937d6373d70807fd0d626a0
|
|
BLAKE2b-256 |
5e9abdfa63d2c032b8ded83d354af93eb9a33bd0c28627bd6d2a6c864a7ff80b
|