Quantcast
Channel: beginners - openFrameworks
Browsing all 4929 articles
Browse latest View live

ofxOpenCv Thresholding Manually

@Serbin wrote: Hi, I’m currently trying to manually threshold an image so that I can threshold a HSV image based on color of objects. To begin I’ve got a simple threshold like so: for (int i=0;...

View Article


Give function a color/size depending on the value

@afp wrote: Hey! I’m trying to draw circles with certain colors and sizes depending on the value of my functions. My functions come from a json file in my bin/data folder, which is working well (I am...

View Article


Compilation error with Boost

@INT-K wrote: I’m trying to add some libraries from Boost (1.66) to oF. So far, in config.make I’ve only added: PROJECT_LDFLAGS=-Wl,-rpath=./libs -L/usr/local/lib/ -lboost_system and then included the...

View Article

Help with 'width' is a protected member of 'ofImage_'

@Erevan_Airola wrote: Hello !! Im learning with the Mastering Openframeworks BOOK. doing the excersice number 5 "video Synthesizer " and i got this error ‘width’ is a protected member of ‘ofImage_’ in...

View Article

Trying to use ofxVideoRecorder: No video, just audio

@lethalrush wrote: No video is recorded when I use ofxVideoRecorder, just Audio. The VideoGrabber’s dimensions are always (0,0), no matter what I set them to (ex: 640,480). Stepping through the code,...

View Article


My sketch going slower with OF_FULLSCREEN than OF_WINDOW

@jcalderon wrote: I’m developing an sketch that create circles like waves when users press a key, it works fine with OF_WINDOW, but when I set OF_FULLSCREEN on main.cpp and I press many times the key,...

View Article

Signal linux ofSignalHandler

@kashim wrote: Hi guys, I’d like to add a check on some closing signals for my program, I did a grep in libs/openFrameworks/app/ and i found ofSignalHandler which is called in ofInit() with:...

View Article

Arduino Heart Rate Sensor Outputting

@HarryLee186 wrote: Hi, Not sure what I’m doing wrong but I’ve got the below code yet it just outputs “Heart Rate: 10” and outputs 10 in the console, too. I’m using a heart rate sensor from...

View Article


Alternative to Community Core Vision (CCV)

@omarojo wrote: Hi there everyone, Is there a modern alternative to Community core Vision for blob tracking and calibration.?? I dont know what happened in the last couple years, that this...

View Article


For statement - string

@afp wrote: I have a variable that is a string called tone_id, and I am trying to make a for statement when a value of ‘joy’ then draw this circle (the values come from a json file). Can anybody tell...

View Article

Image may be NSFW.
Clik here to view.

OF0.9.8 macOS Poco/AtomicCounter.h missing files

@omarojo wrote: I downloaded the OSX version from the website. of_v0.9.8_osx_release.zip I followed the Xcode setup instructions from the website too. But I cant run the examples....

View Article

Erasing an Image

@pranavb104 wrote: Hey , I have an image (.png) whose pixels I want to erase. And when it is erased (or when all the pixels are gone) , I want an interaction to happen (like a video, image appearing)....

View Article

Emscripten on Windows

@Jupiter_Moll wrote: Hallo, i install emscripten (exe) for windows and want to convert oF Projects based on this tutorial. But it says that there are no make files. Where I can find the make files of...

View Article


About API address in one project

@JingSHE wrote: Hi masters! I want to ask, could I use two or three api address in one programme? I am working on Pinterest api, I want to add account api and pins api in my project, how to make it...

View Article

Image may be NSFW.
Clik here to view.

Draw within a cricle

@Jelle_Hoogenberg wrote: Hi, I was wondering is there any way to draw within an circle? I want to draw multiple shapes at random positions within the green area. Is there any good way to do this?...

View Article


cam.enableOrtho() -- when to call this fn

@bob97086 wrote: The plan: create an initial mesh surface in setup() then apply user-induced modifications in the update()/draw() loop. I want to use orthographic projection and enable user...

View Article

Ifstream Caption draw text over ofVideoplayer

@Bulgama wrote: Hello , How would I go about stream from file and overlay text to draw over a movie playing in the background-- like a custom version of close captioning… I am already thinking i can...

View Article


Image may be NSFW.
Clik here to view.

ofxVideoRecorder horizontal lines

@edapx wrote: Hello, I’m currently trying to use ofxVideoRecorder to record the video of an OF application. The only thing that I get on the screen until now are a bunch of horizontal lines moving...

View Article

EXC_BAD_ACCESS in ofTessellation

@I_am_Alex wrote: Ported a processing sketch to oF (sooo easy), really happy with the results and performance. Love it! I do however run into this problem where my sketch crashes at...

View Article

How to rotate ofQuaternion by 180 degrees around Z axis?

@cuinjune wrote: Hi, I’m trying to find a way to flip the orientation of the lighting as if the window is displayed upside down. I simply tried to multiply ofQuaternion(180, ofVec3f(0,0,1)) to the...

View Article
Browsing all 4929 articles
Browse latest View live