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.
Hi @adamhippoharvest Do you require further assistance with this case, please? Thanks!
from librealsense.
Sure, it is good to follow up. Upon trying to replicate the screen you have above, I learned that I needed to update the drivers on the Realsense camera itself (it just came out of the box). Upon updating the realsense, I was able to access BGR8, UYVY, etc from the infrared camera, which solved my question. I am also able to access it programatically via the pyrealsense2 api.
Thank you for your help!
from librealsense.
It's excellent to hear that you achieved a solution. Thanks very much for the update. As your issue is solved, I will close this case. Thanks again!
from librealsense.
Related Issues (20)
- Bricked L515 after 2 hours of usage HOT 2
- Auto exposure when the camera is in inter cam sync mode 259 / 260 HOT 12
- Announcement: Read about applications of Intel RealSense technology on the officlal RealSense blog
- Announcement: Read about applications of Intel RealSense technology on the RealSense Blog
- Kernel Patch not working on ubuntu 5.0.0-23-generic HOT 10
- Bad face reconstruction quality with D435 camera HOT 8
- Python / RuntimeError: No device connected HOT 11
- No device connected(imshow example in wrappers) HOT 9
- failed to convert special folder: errno=42 HOT 2
- Repository of realsense and sudo apt-get update failed due to 403 forbidden HOT 3
- Invalid Value Error HOT 2
- Align the depth and rgb frames from the .bag file (D415 camera). HOT 2
- Seeking Guidance on Hand-Eye Calibration for Camera-Mounted Robot Arm (D405) HOT 3
- Regarding the issue of the inability to install realsense in Ubuntu 24.04 version HOT 3
- pyrealsense2 Python 3.12 incompatibility HOT 1
- RuntimeError: Frame did not arrive within 5000 HOT 7
- Problema no Intel.RealSense.Viewer.exe HOT 2
- How are callbacks internally implemented? HOT 7
- error in Realsence Viewer HOT 6
- pyrealsense2 not installed when built from source 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.