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