Skip to main content

basic tools for ai

Project description


ai_tool 2018-05-25

Author: Zhao Mingming <>

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 version:0.2.3 - add function is get_class_info version:0.2.4 - add to decreate the haze of an image version:0.2.7 - add lumi_classfy to version:0.3.1 - add modify video2img version:0.3.3 - add wjdc - add video2gif version:0.3.6 - add get_histfeature_from_one_img


  • 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

funny cat picture
  1. example code:


img=draw_curve(x,y,title='my title',xlabel='my x label',ylabel='my y lable')


# img2bw
img_bw= image2bw(img_gray)

print img.shape



Project details

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.3.9.tar.gz (44.9 kB view hashes)

Uploaded source

Built Distributions

ai_tools-0.3.9-py2.7.egg (108.1 kB view hashes)

Uploaded 2 7

ai_tools-0.3.9-py2-none-any.whl (55.4 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page