Skip to main content

download and upload flv,images

Project description

Info

networklib 2018-0818

Author: Zhao Mingming <471106585@qq.com>

Copyright: This module has been placed in the public domain.

version:0.0.1 - add func get_image, download the flv and split it into image - add func upload_file, upload_file to the cover version:0.0.2 - add func curl, download file to local version:0.0.4 - add func simple_get_image version:0.0.5 - replace the flv2img by video2img

Functions:

  • ` get_image, download the flv and split it into image`

  • ` upload_file, upload_file to the cover`

How To Use This Module

funny cat picture
  1. example code:

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

20180531

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

networklib-0.0.5.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distributions

networklib-0.0.5-py2.7.egg (14.9 kB view hashes)

Uploaded Source

networklib-0.0.5-py2-none-any.whl (9.1 kB view hashes)

Uploaded Python 2

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