Skip to content

Instantly share code, notes, and snippets.

euclidr /
Last active April 25, 2021 02:03
# -*- coding: utf-8 -*-
import cv2
def detect_vertical_edges(cv_img) -> list:
if isinstance(cv_img, str):
cv_img = cv2.imread(cv_img)
euclidr / master_template.j2
Last active May 26, 2019 05:51
jinja2 master template for web page
<!DOCTYPE html>
<html lang="zh-CN">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge">