adamb / opencv-samples Goto Github PK
View Code? Open in Web Editor NEWTrying out some opencv code.
Trying out some opencv code.
Learning OpenCV and need a place to play. Ok, so how do you compile. Trying this: gcc `pkg-config --cflags --libs opencv` -o foo hello-world.cpp Undefined symbols: "___gxx_personality_v0", referenced from: ___gxx_personality_v0$non_lazy_ptr in ccyR0e4T.o ld: symbol(s) not found collect2: ld returned 1 exit status dao:opencv-samples adamb$ Wrong compiler. User g++ instead. g++ `pkg-config --cflags --libs opencv` -o hello-world hello-world.cpp Copied a test image in and I can now run it like this: ./hello-world test.png Seems to work with both a png and a jpg file. The jpg is too big for the screen, so it's difficult to see. 2009-01-10 Trying Facedetect gcc `pkg-config opencv --cflags --libs` facedetect.c -o facedetect ./facedetect --cascade="/opt/local/var/macports/software/opencv/1.0.0_0/opt/local/share/opencv/haarcascades/haarcascade_frontalface_alt.xml" jared.jpg Q: Why does it keep running over and over? A: Because it's using cvCaptureFromAVI() and I'm giving it a JPEG. It just keeps reading the image over and over again. I suppose this is ok.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.