Comments (1)
Just a small followup for reference. Since opencv is a default included addon for openFrameworks I'm just using cv::demosaicing
to do my conversions as it is hardware optimized, etc. For pixels with no vertical flip I use
if (_pixelFormat == OF_PIXELS_GRAY)
{
code = vFlip ? cv::COLOR_BayerRG2GRAY : cv::COLOR_BayerGB2GRAY;
}
else
{
The difference is just RG
vs GB
(the default debayering function in this library is hard-coded to GB
). After choosing the right conversion type, I pass my pixels like this:
cv::demosaicing(ofxCv::toCv(_rawCameraPixels),
ofxCv::toCv(_pixels),
code);
from ps3eyedriver.
Related Issues (20)
- Feature request: Detect if camera is disconnected or stopped HOT 7
- How do I compile/use this? HOT 4
- Strange artifacts when using 75fps video HOT 3
- App Hanging when camera disconnected HOT 5
- Add support for other "Eyes"?
- 10bit dynamic range HOT 8
- debayer algorithms cause bad-access-exceptions under some circumstances HOT 3
- How to set auto-exposure mode ?
- Segmentation Error HOT 3
- Recording from multiple cameras HOT 2
- error after trying to install on mac using homebrew. HOT 2
- Very Nice work!!! I am Impressed.
- JPEG Compression
- Sounds Dumb but what do I do to get this installed
- How to implement this into video calling apps HOT 2
- Windows on ARM, Support?
- How many cameras can the driver support
- Is there support for macOS? HOT 1
- Compressed In-Camera JPEG Stream HOT 4
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 ps3eyedriver.