自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

计算机视觉

计算机视觉基础及工程实战

  • 博客(19)
  • 资源 (20)
  • 收藏
  • 关注

翻译 Replace All Matches Within the Matches of Another Regex (替换匹配中的匹配)

需求:将before first before before before before变成

2014-05-30 10:33:52 633

翻译 Replace Matches with Replacements Generated in Code (用函数作为替换体来替换匹配)

需求:将1 and 2 and 3变成2 and 4 and 6 (倍数gua)

2014-05-28 10:33:21 580

翻译 Replace Matches Reusing Parts of the Match (替换重新使用部分匹配的匹配)

需求:将result=123变成123=result

2014-05-26 09:57:17 592

翻译 Replace all Matches (替换所有匹配)

需求:获取字符串1 2 3 4 5 6 7中的2,5, 6, 7方法:1. Pythonimport resubject = '1 2 3 4 5 6 7'list = []innerre = re.compile("\d+")for outermatch in re.finditer("(?s)(.*?)", subject):    list.ext

2014-05-23 09:33:22 1527

翻译 Find a Match Within Another Match (在一个匹配中寻找另一个匹配)

需求:获取字符串Do you like 2, 3,4 , 6?中的2, 4, 6方法:1. Pythona.  Global functionimport resubject = "Do you like 2, 3,4 , 6?"result = []for matchobj in re.finditer(r"\d+", subject):    if

2014-05-22 09:44:38 1088

翻译 Validate Matches in Procedural Code (用程序码验证匹配)

需求:hu字符串Do you like 12 or 34?中的12, 34方法:1. Pythona.  Global functionimport resubject = "Do you like 12 or 34?"result = re.findall(r"\d+", subject)for i in result:    print i,

2014-05-21 09:53:12 591

翻译 Iterate over All the matches

需求:获取字符串Do you like 12 or 34?中的12, 34方法:1. Pythona.  Global functionimport resubject = "Do you like 12 or 34?"result = re.findall(r"\d+", subject)b. Compiled objectimport re

2014-05-20 09:33:33 555

翻译 Retrieve a list of all matches (提取所有匹配的列表)

需求:获取字符串Do you like 12 or 34?中的12, 34方法:1. Pythona.  Global functionimport resubject = "Do you like 12 or 34?"result = re.search(r"\d+", subject)b. Compiled objectimport

2014-05-19 09:21:39 725

翻译 Determine the Position and Length of the Match (获取匹配的起始位置,终止位置,和长度)

需求:获取字符串Do you like 12 or 34?中的12的起始位置,终止位置,和长度方法:1. Pythona.  Global functionimport rematch = re.search(r"\d+", subject)if match:result = match.group()else:result = ""b.

2014-05-16 09:36:57 677

翻译 Retrieve the match text (提取获取的字符)

需求:获取字符串Do you like 12 or 34?中的方法:1. Pythona.  Global functionimport reif re.search("regex pattern\Z", subject):    print "Match Pass!"else:    print "Match Fail!"b. Compil

2014-05-15 10:20:09 831

翻译 Test Whether a Regex Matches the Subject String Entirely (测试正则匹配是否完全匹配字符串)

需求:The regex pattern can be found中的regex pattern方法:1. Pythona.  Global functionimport reif re.search("regex pattern", subject):    print "Match Pass!"else:    print "Match Fail!"

2014-05-14 09:07:07 593

翻译 Test if a Match Can Be Found Within a Subject String (测试匹配是否可以在字符串中找到)

需求:The regex pattern can be found中的reg

2014-05-13 09:11:49 638

翻译 Set Regular Expression Options (设置正则表达式选项)

需求:free-spacing, case insensitive, dot matches lines breaks, and "^ and $ mat"

2014-05-12 09:10:54 892

翻译 Create Regular Expression Objects (创建正则表达式对象)

import rereobj = re.compile("regex pattern")

2014-05-10 15:33:54 565

翻译 Import the Regular Expression Library (导入正则表达式库)

Python:import re

2014-05-09 09:08:05 608

翻译 Literal Regular Expression in Source Code (代码中的字面正则表达式)

需求:将正则表达式[$"'\n\d/\\]作为变量放入代码中方法:Pyth

2014-05-08 11:18:25 978

翻译 Insert Part of the Regex Match into the Replacement Text (将正则匹配插入替换文本中)

需求:将1234567890转化为(123) 456-7890

2014-05-06 09:37:47 505

翻译 Insert the regex match into the replacement text (插入正则匹配到替换文本中)

需求:将http://www.regexcookbook.com 变成

2014-05-05 09:40:40 702

翻译 Insert Literal Text into the Replacement Text (将字面文本插入到替换文本中)

需求: 查找和替换任意正则匹配

2014-05-04 09:24:13 1016

Computer Vision PAAL .zip

Computer Vision Principles, Algorithms, Applications, Learning

2020-05-21

Practical Python and OpenCV, 3rd Edition.rar

基于python的opencv实战教程,包括图片的各种操作,图片预处理,平滑化和阈值化,边缘检测和轮廓检测等

2019-10-04

High Performance Python

Chapter 1. Introduction, Section 1.1. The High Performance Buzz-word, Chapter 2. The Theory of Computation, Section 2.1. Introduction, Section 2.2. Problems, Section 2.3. Models of Computation, Chapter 3. Algorithms, Section 3.1. Introduction, Section 3.2. Anatomy of an Algorithm, Section 3.3. Introducing Big O Notation, Section 3.4. Recurrence Relations, Section 3.5. P, NP, and Completeness, Section 3.6. Hall of Fame, Chapter 4. Rules of Optimization, Section 4.1. Rule #1: Plan Ahead, Chapter 5. Optimization for Speed, Section 5.1. Think like a Cheat, Section 5.2. Use Psyco, Section 5.3. Check Your Loops, Section 5.4. Anthony Tuininga's cx_Freeze, Section 5.5. Wait for Moore's Law to Catch Up, Section 5.6. Limit Regular Expressions

2017-12-09

apache-maven

Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具。 Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,所以常常用两三行 Maven 构建脚本就可以构建简单的项目。由于 Maven 的面向项目的方法,许多 Apache Jakarta 项目发文时使用 Maven,而且公司项目采用 Maven 的比例在持续增长。 Maven这个单词来自于意第绪语(犹太语),意为知识的积累,最初在Jakata Turbine项目中用来简化构建过程。当时有一些项目(有各自Ant build文件),仅有细微的差别,而JAR文件都由CVS来维护。于是希望有一种标准化的方式构建项目,一个清晰的方式定义项目的组成,一个容易的方式发布项目的信息,以及一种简单的方式在多个项目中共享JARs。

2017-09-06

libpcap-1.0.0

libpcap-1.0.0

2017-08-04

CUDA for Engineers An Introduction to High Performance Parallel Computing

CUDA for Engineers An Introduction to High Performance Parallel Computing

2017-06-06

load test for video publish, pull

stress test tool for video publish, pull (hlv, hls, rtmp)

2017-03-13

ffmpeg, use to publish stream, play stream

ffmpeg

2017-01-11

ovirt viewer

这个工具是在ovirt查看虚拟机的的

2016-12-07

Mongodb Windows Client

mongodb windows client

2016-11-26

lua5.3.3 win32

lua 5.3.3

2016-11-08

nginx from begin to pro

nginx from begin to pro

2016-11-07

Spark for Data Science

Spark for Data Science

2016-10-19

Data Science Essentials

Data Science Essentials

2016-10-19

Data Algorithms Recipe

Data Algorithms Recipe

2016-10-19

Data Science for Business

Data Science for business

2016-10-19

Tool to decode flv

Tool to decode http flv

2016-08-19

pexpect安装包

Python类expect的库, 方便ssh, telnet

2015-03-24

Regular Expressions Cookbook 2nd

正则表达式 第二版 正则表达式对于程序编写有非常大的好处

2013-03-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除