Skip to content

Instantly share code, notes, and snippets.

View sanmaozhao's full-sized avatar

Sanmao Zhao sanmaozhao

View GitHub Profile
@sanmaozhao
sanmaozhao / line.py
Last active January 4, 2019 01:46
曲线检测
import numpy as np
import matplotlib.pyplot as plt
import cv2
img = cv2.imread("arrow.png")
# 增加对比度
contrast = np.zeros(img.shape, img.dtype)
alpha = 10.0 # Simple contrast control
beta = 0 # Simple brightness control

Vue部分

官方教程

https://cn.vuejs.org/v2/guide/

可以先用直接引入script的方式,不需要装vue-cli和webpack打包。

这样找一个http server放静态文件就能实验效果了。