V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ProfFan  ›  全部回复第 4 页 / 共 13 页
回复总数  245
1  2  3  4  5  6  7  8  9  10 ... 13  
2016-06-16 15:33:23 +08:00
回复了 liuxl8964 创建的主题 iPhone ios10 音乐改的无法接受
2016-06-15 13:05:46 +08:00
回复了 lygmqkl 创建的主题 MacBook Pro RMBP sleep 状态 usb 还可以对外送电?
一直把 MBP 当移动电源用的
郭的东西价值观导向有问题,说实话。眼看着高中三年带坏了不少人。
2016-06-14 20:09:30 +08:00
回复了 zhaojjxvi 创建的主题 分享发现 苏宁易购登录系统 bug 被我碰上了
我第一次用苏宁就这样,直接放弃。
@tyfulcrum LAMOST 记得是零几年开始建的吧,直接废了现在
2016-06-14 20:05:09 +08:00
回复了 jrhu05 创建的主题 问与答 现在的国内计算机相关行业是否存在泡沫?有多大?
@fireapp 这种我们学校本科生项目吧。。。说实话没啥用,信号处理环节太多,看不出特征。
上 C2100 , 4k 估计能上 32G 内存+双路 X5650
2016-06-10 15:06:31 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
2016-06-09 21:36:04 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
@regeditms 5999
2016-06-09 13:51:27 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
@20015jjw 不用等~可以双卡, Mac 不认 1080 ,可以两块卡同时插,显示器插老卡。实测 Windows 可以认第二块卡,而且显示器插在第一块卡上 3D 加速也是在第二块上的。
2016-06-09 13:49:21 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
@lrigi 双卡, 750 用来启动的
2016-06-09 13:48:44 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
@Changxu yes
2016-06-09 13:48:33 +08:00
回复了 ProfFan 创建的主题 Apple GTX 1080 Founder's Edition 到手,附 Mac 测试
@x86 i7 4790 + MSI PC MATE
2016-06-06 15:42:35 +08:00
回复了 phoenixlzx 创建的主题 随想 2016 高考加油
大学才是真正的挑战,祝各位考试顺利:)
2016-06-05 22:01:35 +08:00
回复了 d7101120120 创建的主题 Android 对于某米的少许吐槽
安卓手机到手第一件事刷 CM
2016-06-05 21:57:19 +08:00
回复了 alexapollo 创建的主题 程序员 「搬运 Reddit」TeamViewer 已沦陷,网友建议立即卸载
@aveline 除了 Mac 不能做服务器简直完美
2016-06-05 18:31:15 +08:00
回复了 ClutchBear 创建的主题 Python 猎聘网这种验证码有什么好的方法模拟吗?
POC

```
import numpy as np
import matplotlib.pyplot as plt

import skimage.color
from skimage import data
from scipy import misc
from skimage.feature import match_template

def rotate(image, angle, center = None, scale = 1.0):
(h, w) = image.shape[:2]

if center is None:
center = (w / 2, h / 2)

# Perform the rotation
M = cv2.getRotationMatrix2D(center, angle, scale)
rotated = cv2.warpAffine(image, M, (w, h))

return rotated

captcha_q = skimage.color.rgb2gray(misc.imread("captcha_q.jpg"))
captcha_a = skimage.color.rgb2gray(misc.imread("captcha_a.jpg"))

image = (captcha_a<0.37)

#coin_raw = (captcha_q<0.37)[15:,55:79]
#coin_raw = (captcha_q<0.37)[15:,12:35]
#coin_raw = (captcha_q<0.37)[15:,79:101]
coin_raw = (captcha_q<0.37)[15:,36:55]

coin_rot = rotate(np.asarray((coin_raw)*255, dtype=np.uint8),-20)
coin = cv2.resize(coin_rot,
tuple(int(1.5*x) for x in coin_rot.T.shape),
interpolation = cv2.INTER_AREA)
result = match_template(image, coin)
ij = np.unravel_index(np.argmax(result), result.shape)
x, y = ij[::-1]


fig, (ax1, ax2, ax3) = plt.subplots(1, 3,gridspec_kw = {'width_ratios':[1, 4, 3]},figsize=(12, 6))

ax1.imshow(coin)
ax1.set_axis_off()
ax1.set_title('char')

ax2.imshow(image)
ax2.set_axis_off()
ax2.set_title('image')
# highlight matched region
hcoin, wcoin = coin.shape
rect = plt.Rectangle((x, y), wcoin, hcoin, edgecolor='r', facecolor='none')
ax2.add_patch(rect)

ax3.imshow(result)
ax3.set_axis_off()
ax3.set_title('matched')
# highlight matched region
ax3.autoscale(False)
ax3.plot(x, y, 'o', markeredgecolor='r', markerfacecolor='none', markersize=10)

plt.show()
```
2016-06-05 16:30:51 +08:00
回复了 alexapollo 创建的主题 程序员 「搬运 Reddit」TeamViewer 已沦陷,网友建议立即卸载
@edwardaa 有任何网络都可以
2016-06-05 16:29:43 +08:00
回复了 ClutchBear 创建的主题 Python 猎聘网这种验证码有什么好的方法模拟吗?
2016-06-05 16:22:35 +08:00
回复了 ClutchBear 创建的主题 Python 猎聘网这种验证码有什么好的方法模拟吗?
按照这个截图,前背景差距这么大,直接背景就没用了。字间距也够大,不用 OCR ,直接上下 match 。
1  2  3  4  5  6  7  8  9  10 ... 13  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1124 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 18:05 · PVG 02:05 · LAX 11:05 · JFK 14:05
Developed with CodeLauncher
♥ Do have faith in what you're doing.