This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/stephanschulz/.zshrc:.:25: no such file or directory: /opt/home | |
(base) stephanschulz@MacBook-Pro-2 shader_pixelMapper % make -j -s 2>&1 && make RunRelease | |
Compiling OF library for Release | |
Done! | |
Compiling shader_pixelMapper for Release | |
Compiling /Applications/of_v0.12-2.0_osx_release/apps/brokenMirror/shader_pixelMapper/src/OrthoEasyCam.cpp | |
Compiling /Applications/of_v0.12-2.0_osx_release/apps/brokenMirror/shader_pixelMapper/src/ofApp.cpp | |
Compiling /Applications/of_v0.12-2.0_osx_release/apps/brokenMirror/shader_pixelMapper/src/main.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ofxVisionDetection.h | |
// example | |
// | |
// Created by Roy Macdonald on 20-03-24. | |
// | |
#pragma once | |
#include "ofxVisionResults.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void makeGradientEdge_texture(int _x, int _y, float _scale, int _rotate90, ofMatrix4x4 _transformationMatrix, ofFbo & fbo){ | |
ofMatrix4x4 translate_offset; | |
translate_offset.makeTranslationMatrix(_x,_y,0); | |
ofMatrix4x4 scale_0; | |
scale_0.makeScaleMatrix(_scale,_scale,1); | |
ofMatrix4x4 temp_rotateM; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
using namespace ofxCv; | |
using namespace cv; | |
const float dyingTime = 1; | |
void Glow::setup(const cv::Rect& track) { | |
color.setHsb(ofRandom(0, 255), 255, 255); | |
cur = toOf(track).getCenter(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
parameters.setName("parameters"); | |
parameters.add(size.set("size",10,0,100)); | |
parameters.add(number.set("number",10,0,100)); | |
parameters.add(check.set("check",false)); | |
parameters.add(voidTest.set("voidTest")); | |
parameters.add(color.set("color",ofColor(127),ofColor(0,0),ofColor(255))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
parameters.setName("parameters"); | |
parameters.add(size.set("size",10,1,100)); | |
parameters.add(number.set("number",10,1,100)); | |
parameters.add(check.set("check",false)); | |
parameters.add(voidTest.set("voidTest")); | |
parameters.add(color.set("color",ofColor(127),ofColor(0,0),ofColor(255))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<style> | |
.square-box { | |
width: 33%; | |
height: 0; | |
padding-top: 33%; | |
position: absolute; | |
right: 20px; | |
top: 20px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
/////////////////////////////////////////////////////////////////////////// | |
// | |
// Copyright (c) 2018, STEREOLABS. | |
// | |
// All rights reserved. | |
// | |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
/////////////////////////////////////////////////////////////////////////// | |
// | |
// Copyright (c) 2018, STEREOLABS. | |
// | |
// All rights reserved. | |
// | |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
ofSetBackgroundColor(0); | |
// set up the GUI for tweaking params | |
gui.setup(); | |
gui.add(ui_useCam.setup ("use webcam", false)); //use live webcam? | |
gui.add(ui_useVideo.setup ("use video", false)); |
NewerOlder