大恒图像 Galaxy 系列工业相机库
更多...
#include <rmvl/camera/galaxy_camera.h>
◆ const_ptr
◆ ptr
◆ GalaxyCamera()
rm::GalaxyCamera::GalaxyCamera |
( |
CameraConfig | init_mode, |
|
|
std::string_view | id = "" ) |
Python: |
---|
| rm.GalaxyCamera( | init_mode[, serial] | ) -> | <GalaxyCamera object> |
◆ get()
double rm::GalaxyCamera::get |
( |
int | prop_id | ) |
const |
Python: |
---|
| rm.GalaxyCamera.get( | propId | ) -> | value |
◆ isOpened()
bool rm::GalaxyCamera::isOpened |
( |
| ) |
const |
Python: |
---|
| rm.GalaxyCamera.isOpened( | | ) -> | <opened ?> |
◆ make_capture()
static std::unique_ptr< GalaxyCamera > rm::GalaxyCamera::make_capture |
( |
CameraConfig | init_mode, |
|
|
std::string_view | id = "" ) |
|
inlinestatic |
◆ operator>>()
GalaxyCamera & rm::GalaxyCamera::operator>> |
( |
cv::Mat & | image | ) |
|
|
inline |
◆ read()
bool rm::GalaxyCamera::read |
( |
cv::OutputArray | image | ) |
|
Python: |
---|
| rm.GalaxyCamera.read( | | ) -> | res, img |
◆ reconnect()
bool rm::GalaxyCamera::reconnect |
( |
| ) |
|
Python: |
---|
| rm.GalaxyCamera.reconnect( | | ) -> | <success ?> |
◆ set()
bool rm::GalaxyCamera::set |
( |
int | prop_id, |
|
|
double | value = 0.0 ) |
Python: |
---|
| rm.GalaxyCamera.set( | propId[, value] | ) -> | <success ?> |
设置相机参数/事件
- 参数
-
[in] | prop_id | 参数/事件编号 |
[in] | value | 参数/事件值 |
- 返回
- 是否设置成功
◆ version()
static std::string rm::GalaxyCamera::version |
( |
| ) |
|
|
static |
该类的文档由以下文件生成: