大恒图像 Galaxy 系列工业相机库
更多...
#include <rmvl/camera/galaxy_camera.h>
◆ const_ptr
◆ ptr
◆ GalaxyCamera()
| rm::GalaxyCamera::GalaxyCamera |
( |
CameraConfig | cfg, |
|
|
std::string_view | id = "" ) |
| Python: |
|---|
| rm.GalaxyCamera( | cfg[, id] | ) -> | <GalaxyCamera object> |
◆ get()
| Python: |
|---|
| rm.GalaxyCamera.get( | propId | ) -> | value |
◆ isOpened()
| bool rm::GalaxyCamera::isOpened |
( |
| ) |
const |
|
noexcept |
| Python: |
|---|
| rm.GalaxyCamera.isOpened( | | ) -> | <opened ?> |
◆ load()
| void rm::GalaxyCamera::load |
( |
const para::GalaxyCameraParam & | param | ) |
|
|
noexcept |
◆ make_capture()
◆ 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 |
( |
| ) |
const |
| Python: |
|---|
| rm.GalaxyCamera.reconnect( | | ) -> | <success ?> |
◆ set()
template<typename Tp, typename Enable = std::enable_if_t<std::is_same_v<Tp, bool> || std::is_same_v<Tp, int64_t> || std::is_same_v<Tp, double>>>
| Python: |
|---|
| rm.GalaxyCamera.set( | propId[, value] | ) -> | <success ?> |
设置相机参数
- 参数
-
| [in] | prop_id | 参数编号 |
| [in] | value | 参数值 |
- 返回
- 是否设置成功
◆ trigger()
| bool rm::GalaxyCamera::trigger |
( |
CameraEvents | event_id | ) |
const |
|
noexcept |
◆ version()
| static std::string rm::GalaxyCamera::version |
( |
| ) |
|
|
static |