Comments (6)
hi i downloaded the code and i saw the video file option, i have a little problem with it, when i commented out the _USE_LIVE_VIDEO option i get some errors with the kinekt objects,
i commented out those little kineckt parts, and work fine, now i'm testing the use of reference movies to get live stream, without results until now, i'm trying with an h264 stream maybe i can test with a little openframework app to test the vidPlayer alone, if you have suggestions let me know
from opentsps.
i've implemented in opentsps ofx_ipcamera to get stream from axis cameras from the network,
if could be interesting, i can implement it in a fork so you can view if work fine for you
from opentsps.
that would be awesome, would love to look at it. can you add it as a separate app and submit a pull request?
e.g. openTSPS/standalone/IP_Camera
from opentsps.
Closing this as an issue. Will be adding a tutorial soon on the new openTSPS.com site about how to implement your open ofxTSPS::Source, which makes doing stuff like this (in TSPS 1.3+) much simpler!
from opentsps.
was this fork ever posted? i'm interested in doing the same thing, but if it's already been done i'd like to check it out. if not, what's the best place in the codebase to get started?
from opentsps.
Hello! It doesn't look like he posted that fork. What you'd need to do is extend ofxTSPS::Source and provide pixels for your source via getPixels() and getPixelsRef(). Check out he OpenNI2 source as a reference:
https://github.com/labatrockwell/openTSPS/blob/master/addons/ofxTSPS/libs/ofxTSPS/include/ofxTSPS/source/OpenNI2.h
If the class you're extending already wraps those, such as ofVideoGrabber, your class will look more like ofxTSPS::VideoFile:
https://github.com/labatrockwell/openTSPS/blob/master/addons/ofxTSPS/libs/ofxTSPS/include/ofxTSPS/source/VideoFile.h
From there, you just have to call "setSource" on your TSPS object and pass a pointer to your custom source:
// call open on your custom source
source.openSource(320,240 );
// add your custom source, assuming "peopleTracker" is ofxTSPS::PeopleTracker
peopleTracker.setSource(source);
In the TSPS standalone apps, your ofApp simple extends TSPS::Delegate, which sets up and includes peopleTracker like above.
Let me know if you have more questions! Hope the quick intro is helpful.
from opentsps.
Related Issues (20)
- Selecting video input in 1.3.7 on Macbook Pro
- Kinect 2? HOT 54
- 1.4.0 Checklist HOT 2
- No Webcam Input - OS X 10.10 - TSPS 1.3.7 HOT 2
- Work with other types of pixels
- 1.3.7 crashes on startup with OpenNI drivers HOT 15
- Error with debug URL for socket server (1.3.7) HOT 6
- Look into ofxPlugin for Source (and Filter?)
- syphon input isn't working? HOT 11
- Project files out of date? HOT 8
- It's posibble to have multicam in Windows?
- Update tsps.cc with new Processing 3 version HOT 2
- GuiManager bug related to "CAMERA_CUSTOM"
- Unable to get a list view in the GUI HOT 1
- Problem installing Libusb in Windows
- Resurrecting the project for oF 0.9.x and macOS 10.2 HOT 1
- File libusb0.dll not found HOT 1
- VS2015 Win8 compiling error with OF 0.8.0 HOT 2
- OSX release size too large
- Compile on osx10.13 in ofx0.10.1 xcode10.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentsps.