billhsu / kyle Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/kyle
Automatically exported from code.google.com/p/kyle
If you call the findHaarObjects function with an ofImage it does not return the
number of results.
Easy fix: add a return to the last line where it call the findHaarObject with
the image converted to
grayscale.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2010 at 12:19
System-
MacBookPro (Intel i5)
OS X 10.6.5
XCode 3.2
openFrameworks 0.62
Trying to compile very simple example of ofxSvg.
ofxSvg svg;
svg.loadFile("mask.svg");
svg.draw(0,0);
I get 77 errors related to ofxColor. Any help would be great. Thanks.
------------------------------------------------------
In file included from
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
.h:5,
from /Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/apps/33/maskTest/src/testApp.h:6,
from /Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/apps/33/maskTest/src/main.cpp:2:
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:10: error: 'ofxColor' does not name a type
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:48: error: 'ofxColor' is not a type
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:61: error: 'ofxColor' is not a type
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In copy constructor 'ofxSvgPath::ofxSvgPath(const ofxSvgPath&)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:35: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:35: error: 'const class ofxSvgPath' has no member named 'fillColor'
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:36: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:36: error: 'const class ofxSvgPath' has no member named 'strokeColor'
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::setOpacity(float)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:42: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:43: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::setFill(int)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:49: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::setFill(std::string)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:56: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::setStroke(int)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:62: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::setStroke(std::string)':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:72: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h: In member function 'void ofxSvgPath::draw()':
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:84: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:88: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:91: error: 'fillColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:94: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:99: error: 'strokeColor' was not declared in this scope
/Developer/OpenFrameworks/of_preRelease_v0062_osxSL_FAT/addons/ofxSvg/src/ofxSvg
Path.h:102: error: 'strokeColor' was not declared in this scope
Original issue reported on code.google.com by [email protected]
on 3 Dec 2010 at 12:32
on line 32:
change int findHaarObjects(ofxCvGrayscaleImage&, int x, int y, int w, int h,
to int findHaarObjects(ofxCvGrayscaleImage& input, int x, int y, int w, int h,
Original issue reported on code.google.com by [email protected]
on 2 Dec 2010 at 3:19
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.