Comments (6)
Hi @adamhippoharvest Yes, the D455 model does not have an IR filter on its left and right infrared sensors, so they can see the full visible and near-IR frequency range.
On RealSense 400 Series camera models that support the feature (which includes D455) you can access the 'RGB color from left infrared sensor' image by defining a custom 'cfg' stream configuration for the left infrared stream in your script and setting it to use UYVY, RGB8 or BGR8 format instead of the Y8 infrared format. UYVY will be monochrome RGB rather than color though.
I could not find a past case of using the UYVY format for IR RGB, but the format is supported for it. The cfg code for doing so would likely be like the one below.
cfg.enable_stream(rs.stream.infrared, 848, 480, rs.format.uyvy, 30)
Below is a UYVY monochrome color image from the left IR sensor streamed in the RealSense Viewer tool on a D455 camera.
from librealsense.
That makes sense, thanks. I just want to confirm then that this is a monochrome image, and there's no way to get a three channel image, such as doing something like this:
cfg.enable_stream(rs.stream.infrared, 848, 480, rs.format.uyvy, 30)
pipeline.start(config)
frames = pipeline.wait_for_frames()
uyvy_frame = frames....[not sure what to put here]...
uyvy_image = np.asanyarray(uyvy_frame.get_data())
bgr_image = cv2.cvtColor(uyvy_image, cv2.COLOR_YUV2BGR_UYVY)
from librealsense.
You can retrieve a raw unprocessed RAW16 RGB image directly from the RGB sensor and convert it to an OpenCV format to make it displayable, as described in the Python cases at #7275 and #11451
from librealsense.
Related Issues (20)
- keep popping 16:15:26 [Info] /home/greg988/Downloads/realsense/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/video4linux/video2
- keep popping 16:15:26 [Info] /home/greg988/Downloads/realsense/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/video4linux/video2 HOT 31
- Question of Alignment image and Depth Scale unit on D405 HOT 5
- Firmware Update HOT 15
- D455F and Depth Module D450 + Vision Processor D4 Board V3 Bundle (8 Pack) HOT 10
- External power supply for Intel Realsense d415 HOT 7
- Error to update firmware HOT 7
- Can not run libuvc_installation.sh normally HOT 11
- SOFTWARE DOESN'T RECOGNIZE REALSENSE SR300 CAMERA HOT 8
- Manually align the depth image with the color image. HOT 9
- this is a big dan!!!!!! HOT 3
- RealSense BGRA Buffer Doesn't Work with ZXing HOT 5
- Frame didn't arrive within 5000 on macOS HOT 5
- Android App Freeze At Second Launch HOT 10
- Cannot link to new camera HOT 5
- The D435 camera is producing inconsistent data while performing in different light conditions. HOT 3
- Realsense-viewer does not detect L515 camera on ubuntu 20.04 HOT 7
- window 10 can't install realsense viewer HOT 2
- There were two errors when I make this project. It was Building CXX object CMakeFiles/realsense2.dir/src/ds/d400/d400-motion.cpp.o. 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 librealsense.