日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值

發布時間:2025/3/20 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

color sensor支持參數值的取值范圍

代碼

# -*- coding: utf-8 -*- """ @File : 200108_測試獲取Intel_Realsense_options參數.py @Time : 2020/1/8 13:18 @Author : Dontla @Email : sxana@qq.com @Software: PyCharm """import pyrealsense2 as rsctx = rs.context() pipeline = rs.pipeline(ctx) cfg = rs.config() cfg.enable_device('838212073161') cfg.enable_stream(rs.stream.depth, 640, 360, rs.format.z16, 30) cfg.enable_stream(rs.stream.color, 640, 360, rs.format.bgr8, 30) pipeline_profile = pipeline.start(cfg)sensor = pipeline.get_active_profile().get_device().query_sensors()[1]option_range = sensor.get_option_range(rs.option.global_time_enabled) print(option_range)

color sensor支持參數

option.backlight_compensation, Enable / disable backlight compensation option.brightness, UVC image brightness option.contrast, UVC image contrast option.exposure, Controls exposure time of color camera. Setting any value will disable auto exposure option.gain, UVC image gain option.gamma, UVC image gamma setting option.hue, UVC image hue option.saturation, UVC image saturation setting option.sharpness, UVC image sharpness setting option.white_balance, Controls white balance of color image. Setting any value will disable auto white balance option.enable_auto_exposure, Enable / disable auto-exposure option.enable_auto_white_balance, Enable / disable auto-white-balance option.frames_queue_size, Max number of frames you can hold at a given time. Increasing this number will reduce frame drops but increase latency, and vice versa option.power_line_frequency, Power Line Frequency option.auto_exposure_priority, Limit exposure time when auto-exposure is ON to preserve constant fps rate option.global_time_enabled, Enable/Disable global timestamp. backlight compensation, 背光補償,啟用/禁用背光補償 brightness, 亮度, contrast, 對比, exposure, 曝光,控制彩色相機的曝光時間。 設置任何值將禁用自動曝光 gain, 增益, gamma, 伽瑪, hue, 色調, saturation, 飽和, sharpness, 銳度, white balance, 白平衡,控制彩色圖像的白平衡。 設置任何值將禁用自動白平衡 enable auto exposure, 啟用自動曝光,啟用/禁用自動曝光 enable auto white balance, 啟用自動白平衡,啟用/禁用自動白平衡 frames queue size, 幀隊列大小,在給定時間可以容納的最大幀數。 增加此數目將減少幀丟失,但會增加延遲,反之亦然 power line frequency, 電力線頻率, auto exposure priority, 自動曝光優先,開啟自動曝光時限制曝光時間以保持恒定的fps速率 global time enabled 全局時間啟用,啟用/禁用全局時間戳。

后面中括號里的貌似是默認值(攝像頭重置能夠將值重置為默認)那個/不知是啥。。。

backlight compensation, 背光補償,<pyrealsense2.option_range: 0-1/1 [0]> brightness, 亮度,<pyrealsense2.option_range: -64-64/1 [0]> contrast, 對比,<pyrealsense2.option_range: 0-100/1 [50]> exposure, 曝光,<pyrealsense2.option_range: 1-10000/1 [156]> gain, 增益,<pyrealsense2.option_range: 0-128/1 [64]> gamma, 伽瑪,<pyrealsense2.option_range: 100-500/1 [300]> hue, 色調,<pyrealsense2.option_range: -180-180/1 [0]> saturation, 飽和,<pyrealsense2.option_range: 0-100/1 [64]> sharpness, 銳度,<pyrealsense2.option_range: 0-100/1 [50]> white balance, 白平衡,<pyrealsense2.option_range: 2800-6500/10 [4600]> enable auto exposure, 啟用自動曝光,<pyrealsense2.option_range: 0-1/1 [1]> enable auto white balance, 啟用自動白平衡,<pyrealsense2.option_range: 0-1/1 [1]> frames queue size, 幀隊列大小,<pyrealsense2.option_range: 0-32/1 [16]> power line frequency, 電力線頻率,<pyrealsense2.option_range: 0-3/1 [3]> auto exposure priority, 自動曝光優先,<pyrealsense2.option_range: 0-1/1 [1]> global time enabled 全局時間啟用,<pyrealsense2.option_range: 0-1/1 [1]>

總結

以上是生活随笔為你收集整理的Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。