amulet
|
codepad
|
|
amulet
|
Saved pastes by amulet:
import cv
image = cv.LoadImage('input.jpg')
cascade = cv.Load('/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml')
faces = cv.HaarDetectObjects(image, cascade, cv.CreateMemStorage())
|
view (9 lines) |
#include <iostream> // 基本輸入輸出
#include <string> // 字串 class
#include <cstdlib> // 包含 rand() 函式的定義,可製造亂數,讓每次程式執行能有不同的結果
using namespace std;
|
view (264 lines, 49 lines of output) |
" Vim global plugin for running Python scripts
" Version: 1.1
" Maintainer: Frederick Young <lordfyb@hotmail.com>
" Last change: 2001 Oct 30
"
|
view (143 lines) |