Github | Gitee | crates.io | Rust Doc
This is the Hikvision Camera Rust SDK, which supports universal network cameras, universal USB cameras, IoT cameras, and industrial cameras (USB, network, CamL)
MVS | |||
NET | |||
USB | |||
OTAP |
exposure_auto | |||||
gain_mode | |||||
Init SDK | |||||
Enumerate | |||||
Login | |||||
Open | |||||
Handle | |||||
Log | |||||
Clean SDK | |||||
Clean All | |||||
Destroy All | |||||
Callback Sream | |||||
Sream | |||||
Fix Network | |||||
Preview | |||||
Capture Image | |||||
Save JPEG | |||||
GUI |
[features]
net = []
mvs = []
default = []
[dependencies]
hikvision = {version="0.1", feature=["mvs","net"]}
- Env.json The Lib Path of System Env;
{origin}
of init app current path
{
"envs": [
{
"key": "HCNET_LIB",
"value": "{origin}/libs/HCNet/lib"
},
{
"key": "HCNET_COM_LIB",
"value": "{origin}/libs/HCNet/lib/HCNetSDKCom"
},
{
"key": "HCMVS_LIB",
"value": "{origin}/libs/HCMvs/Win64_x64"
}
]
}
- The Hikvision Camera Lib of hikvision-rs
# put the lib to libs/HCMvs OR libs/HCNet
cargo run --example global_mvs
cargo run --example global_net
- add your Cargo.toml
[dependencies]
hikvision = {version="0.1", feature=["mvs","net"]}
# test global mvs init sdk
cargo run --example global_mvs
# test global net init sdk
cargo run --example global_net