海康机器人相机库
更多...
#include <rmvl/camera/hik_camera.h>
◆ const_ptr
◆ ptr
◆ HikCamera() [1/3]
rm::HikCamera::HikCamera |
( |
CameraConfig |
init_mode, |
|
|
std::string_view |
serial = "" |
|
) |
| |
创建 HikCamera 对象
- 参数
-
[in] | init_mode | 相机初始化配置模式,需要配置 GrabMode 和 RetrieveMode |
[in] | serial | 相机唯一序列号 |
◆ HikCamera() [2/3]
rm::HikCamera::HikCamera |
( |
const HikCamera & |
| ) |
|
|
delete |
◆ HikCamera() [3/3]
◆ ~HikCamera()
rm::HikCamera::~HikCamera |
( |
| ) |
|
◆ get()
double rm::HikCamera::get |
( |
int |
propId | ) |
const |
◆ isOpened()
bool rm::HikCamera::isOpened |
( |
| ) |
const |
◆ make_capture()
static std::unique_ptr<HikCamera> rm::HikCamera::make_capture |
( |
CameraConfig |
init_mode, |
|
|
std::string_view |
serial = "" |
|
) |
| |
|
inlinestatic |
◆ operator>>()
HikCamera& rm::HikCamera::operator>> |
( |
cv::Mat & |
image | ) |
|
|
inline |
◆ read()
bool rm::HikCamera::read |
( |
cv::OutputArray |
image | ) |
|
◆ reconnect()
bool rm::HikCamera::reconnect |
( |
| ) |
|
◆ set()
bool rm::HikCamera::set |
( |
int |
propId, |
|
|
double |
value = 0.0 |
|
) |
| |
设置相机参数/事件
- 参数
-
[in] | propId | 参数/事件编号 |
[in] | value | 参数/事件值 |
- 返回
- 是否设置成功
该类的文档由以下文件生成: