Skip to content

Instantly share code, notes, and snippets.

View wenfahu's full-sized avatar
🎯
Focusing

Bran Stewart wenfahu

🎯
Focusing
  • Intel
  • Beijing
View GitHub Profile
@wenfahu
wenfahu / README.md
Last active August 29, 2015 14:13 — forked from phatak-dev/README.md

#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9

After installing run the following command to compile

/usr/bin/g++-4.9 -std=c++11 lambda.cpp

#Running

./a.out
@wenfahu
wenfahu / I love you in X languages.rst
Last active January 20, 2024 00:14
Say "I love you" in X programming languages! And X = 24
/\_/\     /\_/\
=( owo )= =( owo )=

\ ) ( ) ( //

\(_ _ _) (_ _ _)//

  1. C
@wenfahu
wenfahu / clojure.md
Last active September 17, 2015 12:51
functional programming assignments

Week 1

(println "Hello World")
<annotation>
<filename>textl20160525_03010</filename>
<object>
<class>textline</class>
<bndbox>
<xmin>541</xmin>
<ymin>21</ymin>
<xmax>657</xmax>
<ymax>37</ymax>
</bndbox>
<annotation>
<filename>12_0001941</filename>
<object>
<class>coat</class>
<bndbox>
<xmin>122</xmin>
<ymin>121</ymin>
<xmax>282</xmax>
<ymax>312</ymax>
</bndbox>
<DOC>
<DOCNO>docid</DOCNO>
<URL>url</URL>
网页原代码,带html标签
……
</DOC>
<doc>
<docno>docid</docno>
<url>url</url>
<contenttitle>(title)</contenttitle>
<content> (新闻正文)</content>
</doc>
<DOC>
<DOCNO>docid</DOCNO>
<URL>url</URL>
网页原代码,带html标签
……
</DOC>
#################################################
# OpenCV based python program for lane detection
# Image input size : 320x240
################################################
import cv2
import numpy as np
import scipy as sp
import sys
from scipy.interpolate import UnivariateSpline
package com.example.wenfahu.simplecam;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import org.opencv.core.Mat;