- 浏览: 3512713 次
- 性别:
- 来自: 大连
博客专栏
-
使用Titanium Mo...
浏览量:37457
-
Cordova 3.x入门...
浏览量:604220
-
常用Java开源Libra...
浏览量:677887
-
搭建 CentOS 6 服...
浏览量:87192
-
Spring Boot 入...
浏览量:399741
-
基于Spring Secu...
浏览量:69042
-
MQTT入门
浏览量:90419
文章分类
最新评论
-
afateg:
阿里云的图是怎么画出来的?用什么工具?
各云服务平台的架构图 -
cbn_1992:
博主,采用jdbctoken也就是数据库形式之后,反复点击获取 ...
Spring Security OAuth2 Provider 之 数据库存储 -
ipodao:
写的很是清楚了,我找到一份中文协议:https://mcxia ...
MQTT入门(6)- 主题Topics -
Cavani_cc:
还行
MQTT入门(6)- 主题Topics -
fexiong:
博主,能否提供完整源码用于学习?邮箱:2199611997@q ...
TensorFlow 之 构建人物识别系统
Thumbor是基于Python的开源的On-Demand图片处理服务,可以实现图片裁剪crop、缩放resize、翻转flip、滤镜filter,甚至是人脸识别。
官网:https://github.com/thumbor/thumbor
目前版本: 6.3.2
图像处理是系统开发中的必备组件,各种开发语言都内置图像处理API,也有大量的开源图像处理库做补充。
[1] 图像变换引擎(ImageMagick、Graphicsmagick、OpenCV)
[2] 图像优化工具(JPEGMini、TinyPNG、ImageOptim、ImageAlpha、pngquant、MozJPEG)
[3] 图像处理系统(Pilbox、Thumbor)
Thumbor通过特殊构成的URL来创建缩略图,比如:
含义是:Thumbor服务器thumbor.example.com通过HTTP从images.example.com获取图像llamas.jpg,将其缩放到320x240之后返回图像数据。
Thumbor内部支持以下三种图像变换引擎:
PIL (Python Image Library)、GraphicsMagick (pgmagick)、OpenCV
Thumbor存储图片支持的方式有File、Memcached、MongoDB、Redis。根据实际的使用情况选择存储方式。默认选用文件系统的存储方式。
具体详细的使用方法可以参考官方文档: http://thumbor.readthedocs.io/en/latest/index.html
需要注意的是:Thumbor目前还不支持Python3!
(1)安装
(2)启动
以下警告提示是没有安装opencv。
(3)测试
- 原图
http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 保持横纵比,宽度固定300px
http://thumbor-server:8888/unsafe/300x0/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 保持横纵比,高度固定300px
http://thumbor-server:8888/unsafe/0x300/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 指定大小300×300
http://thumbor-server:8888/unsafe/300x300/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 裁剪指定位置
http://thumbor-server:8888/unsafe/528x111:1101x657/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 图像滤镜
http://thumbor-server:8888/unsafe/400x200/filters:grayscale()/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/200x200/filters:brightness(-20)/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/200x200/filters:brightness(40)/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/filters:round_corner(40,255,255,255):grayscale()/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(4)安全模式
以上都是测试用URL,可以看到URL里包含/unsafe/。
限定来源
访问以下URL会返回 200 OK
http://thumbor-server:8888/unsafe/300x100/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
访问以下URL会返回 400 Bad Request
http://thumbor-server:8888/unsafe/300x100/https://http.cat/405.jpg
关闭unsafe配置密钥
再次访问以下URL会返回 400 Bad Request,设置的ALLOWED_SOURCES也无效了。
http://thumbor-server:8888/unsafe/300x100/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(5)URL做成
查看thumbor-url用法
通过KEY获取URL
通过KEY文件获取URL
访问以下URL会返回 200 OK
http://thumbor-server:8888/UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
缩放
访问以下URL会返回 200 OK
http://thumbor-server:8888/byeRaXKHyMqfrsWmRZb558J_8iI=/300x200/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(6)智能裁剪
安装
设置
有无/smart/前后效果对比:
http://thumbor-server:8888/twOvaCpM5nAUv3JCdDnNP76Iqz0=/300x80/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/swDVsG0g_nYBE8zHDcjzfyH561w=/300x80/smart/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(7)图像上传
可以通过REST的方式上传图像:POST http://thumbor-server:8888/image
默认未开启上传功能,会返回‘405: Method Not Allowed’。
访问以下URL会返回 200 OK。
http://thumbor-server:8888/image/14ffd48c8baa4301b476c4b837568af8/rensanning.jpg
同理可以通过PUT、DELETE、GET来操作已有图像。当然默认是不允许的需要修改配置。
(8)其他设置
默认采用的HTTP加载图像,也就是需要提供一个图像的绝对URL,也可以采用加载本地图像,把图像放入root文件夹即可访问。
LOADER = 'thumbor.loaders.file_loader'
默认是不存储转换后的图像的,需要的话需要设置。
RESULT_STORAGE = 'thumbor.result_storages.file_storage'
参考:
https://segmentfault.com/a/1190000008656825
https://ingramchen.io/blog/2015/12/thumbor-tutorial.html
https://blog.1q77.com/2015/05/using-thumbor-part1
官网:https://github.com/thumbor/thumbor
目前版本: 6.3.2
图像处理是系统开发中的必备组件,各种开发语言都内置图像处理API,也有大量的开源图像处理库做补充。
[1] 图像变换引擎(ImageMagick、Graphicsmagick、OpenCV)
[2] 图像优化工具(JPEGMini、TinyPNG、ImageOptim、ImageAlpha、pngquant、MozJPEG)
[3] 图像处理系统(Pilbox、Thumbor)
Thumbor通过特殊构成的URL来创建缩略图,比如:
引用
http://thumbor.example.com/320x240/http://images.example.com/llamas.jpg
含义是:Thumbor服务器thumbor.example.com通过HTTP从images.example.com获取图像llamas.jpg,将其缩放到320x240之后返回图像数据。
Thumbor内部支持以下三种图像变换引擎:
PIL (Python Image Library)、GraphicsMagick (pgmagick)、OpenCV
Thumbor存储图片支持的方式有File、Memcached、MongoDB、Redis。根据实际的使用情况选择存储方式。默认选用文件系统的存储方式。
具体详细的使用方法可以参考官方文档: http://thumbor.readthedocs.io/en/latest/index.html
需要注意的是:Thumbor目前还不支持Python3!
引用
File "/usr/local/tensorflow/lib/python3.5/site-packages/thumbor/context.py", line 293
print "Joining threads...."
SyntaxError: Missing parentheses in call to 'print'
print "Joining threads...."
SyntaxError: Missing parentheses in call to 'print'
print "Hello world" # python 2.x print("Hello world") # python 3.x
(1)安装
# python -V Python 2.7.5 # pip search thumbor thumbor (6.3.2) - thumbor is an open-source photo thumbnail service by globo.com # pip install thumbor # pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com thumbor
(2)启动
# mkdir /usr/local/thumbor # thumbor-config > /usr/local/thumbor/thumbor.conf # cp /usr/local/thumbor/thumbor.conf /usr/local/thumbor/thumbor.conf.default # thumbor --port=8888 --conf=/usr/local/thumbor/thumbor.conf
以下警告提示是没有安装opencv。
引用
2017-08-15 15:34:02 thumbor:WARNING Module thumbor.filters.distributed_collage could not be imported: No module named cv2
(3)测试
- 原图
http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 保持横纵比,宽度固定300px
http://thumbor-server:8888/unsafe/300x0/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 保持横纵比,高度固定300px
http://thumbor-server:8888/unsafe/0x300/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 指定大小300×300
http://thumbor-server:8888/unsafe/300x300/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 裁剪指定位置
http://thumbor-server:8888/unsafe/528x111:1101x657/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
- 图像滤镜
http://thumbor-server:8888/unsafe/400x200/filters:grayscale()/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/200x200/filters:brightness(-20)/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/200x200/filters:brightness(40)/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/unsafe/filters:round_corner(40,255,255,255):grayscale()/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(4)安全模式
以上都是测试用URL,可以看到URL里包含/unsafe/。
限定来源
# vi /usr/local/thumbor/thumbor.conf ALLOWED_SOURCES = [ 'desk.fd.zol-img.com.cn' ]
访问以下URL会返回 200 OK
http://thumbor-server:8888/unsafe/300x100/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
访问以下URL会返回 400 Bad Request
http://thumbor-server:8888/unsafe/300x100/https://http.cat/405.jpg
关闭unsafe配置密钥
# openssl rand -base64 48 JNj9+RxUKfsgrVN+8cH5DVzNdRURiFzBo6S2lL9Q0zcweHmdkU6q1Rf60XX7LnVc # vi /usr/local/thumbor/thumbor.conf ALLOW_UNSAFE_URL = False SECURITY_KEY = 'JNj9+RxUKfsgrVN+8cH5DVzNdRURiFzBo6S2lL9Q0zcweHmdkU6q1Rf60XX7LnVc'
再次访问以下URL会返回 400 Bad Request,设置的ALLOWED_SOURCES也无效了。
http://thumbor-server:8888/unsafe/300x100/http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(5)URL做成
查看thumbor-url用法
# thumbor-url -h
通过KEY获取URL
# thumbor-url -k JNj9+RxUKfsgrVN+8cH5DVzNdRURiFzBo6S2lL9Q0zcweHmdkU6q1Rf60XX7LnVc http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg URL: /UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg /UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
通过KEY文件获取URL
# vi /etc/thumbor.key JNj9+RxUKfsgrVN+8cH5DVzNdRURiFzBo6S2lL9Q0zcweHmdkU6q1Rf60XX7LnVc # thumbor-url -l /etc/thumbor.key http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg URL: /UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg /UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
访问以下URL会返回 200 OK
http://thumbor-server:8888/UJWGMA3XL6X29zF2qgQgBKqz_QM=/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
缩放
# thumbor-url -l /etc/thumbor.key -w 300 -e 200 http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg URL: /byeRaXKHyMqfrsWmRZb558J_8iI=/300x200/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg /byeRaXKHyMqfrsWmRZb558J_8iI=/300x200/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
访问以下URL会返回 200 OK
http://thumbor-server:8888/byeRaXKHyMqfrsWmRZb558J_8iI=/300x200/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(6)智能裁剪
安装
# yum install -y opencv GraphicsMagick openssl-devel curl-devel GraphicsMagick-c++-devel boost boost-devel boost-python # pip install pgmagick opencv-python graphicsmagick-engine # pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com pgmagick opencv-python graphicsmagick-engine
设置
# vi /usr/local/thumbor/thumbor.conf DETECTORS = [ 'thumbor.detectors.face_detector', 'thumbor.detectors.feature_detector' ]
有无/smart/前后效果对比:
# thumbor-url -l /etc/thumbor.key -w 300 -e 80 http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg URL: /twOvaCpM5nAUv3JCdDnNP76Iqz0=/300x80/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg /twOvaCpM5nAUv3JCdDnNP76Iqz0=/300x80/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
# thumbor-url -l /etc/thumbor.key -w 300 -e 80 -s http://desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg URL: /swDVsG0g_nYBE8zHDcjzfyH561w=/300x80/smart/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg /swDVsG0g_nYBE8zHDcjzfyH561w=/300x80/smart/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/twOvaCpM5nAUv3JCdDnNP76Iqz0=/300x80/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
http://thumbor-server:8888/swDVsG0g_nYBE8zHDcjzfyH561w=/300x80/smart/http%3A//desk.fd.zol-img.com.cn/t_s1920x1200c5/g5/M00/01/0E/ChMkJlbKwbyIFnBKAAhTmqigyPUAALGdAHEN-kACFOy827.jpg
(7)图像上传
可以通过REST的方式上传图像:POST http://thumbor-server:8888/image
默认未开启上传功能,会返回‘405: Method Not Allowed’。
# vi /usr/local/thumbor/thumbor.conf UPLOAD_ENABLED = True # curl -i -H "Content-Type: image/jpeg" -H "Slug: rensanning.jpg" \ -XPOST http://thumbor-server:8888/image --data-binary "@/tmp/1348814002177.jpg" HTTP/1.1 201 Created Date: Wed, 16 Aug 2017 02:19:59 GMT Content-Length: 0 Content-Type: text/html; charset=UTF-8 Location: /image/14ffd48c8baa4301b476c4b837568af8/rensanning.jpg Server: TornadoServer/4.5.1
访问以下URL会返回 200 OK。
http://thumbor-server:8888/image/14ffd48c8baa4301b476c4b837568af8/rensanning.jpg
同理可以通过PUT、DELETE、GET来操作已有图像。当然默认是不允许的需要修改配置。
引用
#UPLOAD_DELETE_ALLOWED = False
#UPLOAD_PUT_ALLOWED = False
#UPLOAD_PUT_ALLOWED = False
(8)其他设置
默认采用的HTTP加载图像,也就是需要提供一个图像的绝对URL,也可以采用加载本地图像,把图像放入root文件夹即可访问。
LOADER = 'thumbor.loaders.file_loader'
引用
## The loader thumbor should use to load the original image. This must be the
## full name of a python module (python must be able to import it)
## Defaults to: 'thumbor.loaders.http_loader'
#LOADER = 'thumbor.loaders.http_loader'
## The root path where the File Loader will try to find images
## Defaults to: '/root'
#FILE_LOADER_ROOT_PATH = '/root'
## full name of a python module (python must be able to import it)
## Defaults to: 'thumbor.loaders.http_loader'
#LOADER = 'thumbor.loaders.http_loader'
## The root path where the File Loader will try to find images
## Defaults to: '/root'
#FILE_LOADER_ROOT_PATH = '/root'
默认是不存储转换后的图像的,需要的话需要设置。
RESULT_STORAGE = 'thumbor.result_storages.file_storage'
引用
## The result storage thumbor should use to store generated images. This must be
## the full name of a python module (python must be able to import it)
## Defaults to: None
#RESULT_STORAGE = None
## Path where the Result storage will store generated images
## Defaults to: '/tmp/thumbor/result_storage'
#RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = '/tmp/thumbor/result_storage'
## the full name of a python module (python must be able to import it)
## Defaults to: None
#RESULT_STORAGE = None
## Path where the Result storage will store generated images
## Defaults to: '/tmp/thumbor/result_storage'
#RESULT_STORAGE_FILE_STORAGE_ROOT_PATH = '/tmp/thumbor/result_storage'
参考:
https://segmentfault.com/a/1190000008656825
https://ingramchen.io/blog/2015/12/thumbor-tutorial.html
https://blog.1q77.com/2015/05/using-thumbor-part1
发表评论
-
logrotate入门
2018-02-07 08:36 1135日志文件对于开发运维是非常有用的,通过日志可以跟踪系统的使用以 ... -
Bash简要入门
2018-01-19 16:03 1032(一)Shell 和 Bash Bash ... -
搭建分布式文件存储服务(FastDFS)
2017-03-17 16:04 3179服务器规划如下: 引用-跟踪服务器 192.168. ... -
CentOS 安装 OpenAM
2017-01-23 15:59 3451官网:https://forgerock.org/openam ... -
CentOS 安装 Nexus
2016-12-08 15:21 1511前提:Java 1)下载 # cd /usr/local/s ... -
CentOS 安装 KVM
2016-09-07 15:55 1392KVM:Kernel-based Virtual Machin ... -
CentOS 安装 Android
2016-09-02 09:58 1780前提 # java -version # gradle -v ... -
CentOS 安装 Jenkins
2016-09-01 09:03 1972(1)安装Jenkins # java -version ... -
CentOS 安装 ELK
2016-07-19 10:02 2563ELK(Elasticsearch, Logstash, Ki ... -
CentOS 7 vs CentOS 6的不同
2015-07-20 14:36 6554升级 CentOS 6 到 CentOS 7 1)备份你的系 ... -
搭建 CentOS 6 服务器(15) - Cacti、Nagios
2015-07-20 13:17 2405(一)Cacti *** 需要先安装Apache + MySQ ... -
搭建VirtualBox + Vagrant + CoreOS + Docker环境
2015-05-08 14:26 10981构成图 引用 Container | Container | ... -
搭建 CentOS 6 服务器(13) - Keepalived、HAProxy、LVS
2015-04-15 15:47 3404(一)Keepalived (1)安装 # cd /usr/ ... -
搭建 CentOS 6 服务器(4) - TigerVNC
2015-04-15 09:34 2552安装GNOME桌面环境 # yum groupinstall ... -
搭建 CentOS 6 服务器(12) - squid、Varnish
2015-04-13 14:07 2329(一)squid 安装 # yum -y install e ... -
搭建 CentOS 6 服务器(11) - rsync、Amanda
2015-04-13 14:06 2398(一)rsync Server端 # yum install ... -
搭建 CentOS 6 服务器(10) - Samba
2015-04-13 14:04 1997(1)安装 # yum -y install samba ... -
搭建 CentOS 6 服务器(14) - CVS、SVN、Git
2015-04-08 10:29 2320(一)CVS 安装xinetd # rpm -q xinetd ... -
搭建 CentOS 6 服务器(9) - vsftpd、ProFTPD
2015-03-18 15:09 3171(一)vsftpd 安装 # yum -y install ... -
搭建 CentOS 6 服务器(8) - Apache/Nginx/Jetty、Tomcat、WildFly
2015-03-18 14:38 4961(一)Apache (1)下载安装APR-Apache Po ...
相关推荐
搭建一个基本的FPGA图像处理仿真平台。读取bmp图像信息,然后按照摄像头时序输出,最后经过RGB888转YCbCr和二值化算法提取车牌信息,然后输出图像结果。
vs+opencv环境搭建,opencv提供了图像处理的API接口,vs是集成的编译环境,两个需要配置,才能一起使用。
这是一款图像处理网站搭建模板设计,视频剪辑网站素材必备,高端大气的UI界面,提供了独特设计的多个主页演示,高质量编码可自由编辑,100%响应。
本文针对数字图像处理教学实验难度大这一问题,采用MATLAB与Java语言混合编程的方法实现数字图像处理网络实验平台。该方法利用MATLAB软件编写可以实现图像处理的m函数,该函数通过MCR编译器打包之后可以导入Java编写的...
VS2010+Opencv3.4.5开发环境搭建,以及缺失的四个dll,从www.dll-files.com 下载缺失四个64位的dll,注意要64位的。Opencv3.4.5只有64位的,电脑需要64位系统...该实例包含了图像腐蚀、图像膨胀、边缘图像等图像处理。
《精通Visual C++图像处理编程(第3版)》一书的配套源代码
图像处理通过pyqt5实现的界面可视化
Android与OpenCV2.4.4(2013最新)搭建图像处理平台
zynq7020+ov7725摄像头工程文件,实测没问题。基于vdma的图像处理系统的搭建S03_CH03_AXI_DMA_OV7725.zip,可用于hls高层次综合图像处理算法的搭建
Docker搭建独立服务器.docx
使用FileZilla_Server搭建ftps和ftp服务器使用FileZilla_Server搭建ftps和ftp服务器使用FileZilla_Server搭建ftps和ftp服务器使用FileZilla_Server搭建ftps和ftp服务器
基于matlab的GUI搭建通用视频处理工具,视频处理首先要解决的问题是对视频进行读取、获取视频信息、提取帧图像等操作,MATLAB包含了一个强大的视频及图像处理工具箱,设计通用的MATLAB视频处理GUI框架,可实现视频...
基于GUI搭建通用视频处理工具,matlab搭建界面,读取处理视频
基于MATLAB的数字图像处理系统
逻辑单元等效 33,216,在理解图像处理算法并且将算法分解成硬件结构的基础上 采用 FPGA 搭建了一个视频处理系平台,包括视频采集,解码, VGA 显示, JPEG 压缩,直方图工具,噪声处理, SDRAM 控制器
哈尔滨工业大学(威海)数字图像处理课程设计,在matlab2019平台上搭建的程序。设计了matlab_GUI界面便于用户操作,每一个按键对应一种程序,可以参考。压缩包里还有一些自己收藏的运动视频可以后续检测用。运行程序...
整合了数字图像处理的几乎所有经典算法,而集成的一个VC程序和代码,对于学习和做图像处理毕设的人应该有用,免费分享 各位朋友,很抱歉源码中缺失了一个res文件夹和一个resource.h文件,我会尽快将它补上来的,期望...
SVN独立服务器 解决掉遇到所有问题 花了很多心思总结的!
独立域模式服务搭建,服务搭建,不懂得可以进来看看 不错喔
绝对原创GUI图像处理软件视频之详细讲解1-基于GUI的图像处理软件制作方法之详细视频讲座.part6.rar 本视频绝对原创,是本人昨天晚上刚刚录制的,讲的内容跟前些日子发的关于GUI的 图像处理软件的视频详细讲座,内容...