随笔分类 - 编程
各种编程
摘要:1. 下载 OpenCV 3.0.0 android sdk 1.zip
2. 打开 intellj,新建立一个 android 工程后选择工程属性,导入模块(Import module from external model" with Eclipse option),选择文件夹 OpenCV 3...
阅读全文
摘要:使用NSIS 和HM NIS Edit 对自己开发的程序打包成安装文件发布。
阅读全文
摘要:安装boostsudo apt-get install libboost1.50-all测试boost1.cpp#include #include int main() { std::string text("a fat cat sat on the mat"); b...
阅读全文
摘要:参考资料https://github.com/bsdnoobz/web-based-face-detecthttp://opencv-code.com/projects/web-based-interface-for-face-detection-with-opencv/http://www.cnb...
阅读全文
摘要:首先我们用火狐浏览器firebug插件模拟一下在博客园发布一篇文章时post的数据是怎么样的。打开自己的博客园登录。点击添加新随笔。写好标题和内容。打开firebug,点击文章发布。捕捉到post数据如下。把post数据填入下面的代码就可。 1 #! /usr/bin/env python 2 # coding:utf-8 3 import urllib,urllib2,cookielib 4 user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' 5 headers = { 'User-Agent&#
阅读全文