Comments (6)
Right... the camera image size is hardcoded, so it doesn't work with vive camera.
Do you know what the resolution of the vive camera is?
from index_camera_passthrough.
Do you know what the resolution of the vive camera is?
Technically 640x480, but with YUYV 4:2:2 it's 612x460 as in the logs.
$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 612x460
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 480x360
Interval: Discrete 0.033s (30.000 fps)
[1]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 480x360
Interval: Discrete 0.008s (120.000 fps)
[2]: 'H264' (H.264, compressed)
Size: Discrete 480x360
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 612x460
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 160x120
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.042s (24.000 fps)
Interval: Discrete 0.050s (20.000 fps)
[3]: 'NV12' (Y/UV 4:2:0)
Size: Discrete 640x480
Interval: Discrete 0.020s (50.000 fps)
Size: Discrete 480x360
Interval: Discrete 0.010s (100.000 fps)
from index_camera_passthrough.
does it have both eyes' image side-by-side? 612x460 seems to be really small.
from index_camera_passthrough.
No, it's a single camera with a single non-square video output and yes, the quality is not great.
from index_camera_passthrough.
For reference this is what a frame looks like:
from index_camera_passthrough.
oh it's not stereo. OK, that's good.
from index_camera_passthrough.
Related Issues (12)
- Requires nightly/pre-release rust HOT 2
- Build in release mode can't find vulkan layer, debug works HOT 1
- No camera parameters found HOT 1
- Events module not included HOT 1
- Missing file: splash.png HOT 1
- Program runs without errors but the overlay doesn't appear HOT 2
- error: failed to run custom build command for v4l2-sys-mit v0.2.0 HOT 2
- panic when running in release mode HOT 3
- Failure to allocate image on GTX 1080 HOT 5
- Use more appropriate vulkano heap sizes
- Missing v4l2 dev results in nondescript error
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 index_camera_passthrough.