hikvision 0.1.20

A rust hikvision sdk; 海康威视 RUST SDK
Documentation

📄 中文 | 📄 English

Github | Gitee | crates.io | Rust Doc

⚡ what this ?

This is the Hikvision Camera Rust SDK, which supports universal network cameras, universal USB cameras, IoT cameras, and industrial cameras (USB, network, CamL)

Support SDK

SDK Support API

✨ Features

[features]

net = []

mvs = []

default = []

📖 Example

[dependencies]

hikvision = {version="0.1", feature=["mvs","net"]}

Examples

Init Mvs SDK | Init Net SDK

💡!important:

  1. 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"
    }
  ]
}
  1. 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
  1. add your Cargo.toml
[dependencies]

hikvision = {version="0.1", feature=["mvs","net"]}

🚀 fast running

# test global mvs init sdk

cargo run --example global_mvs


# test global net init sdk

cargo run --example global_net

🦊 Applied Projects

A graphical project developed through hikvision-rs;

Capture images through Hikvision cameras, upload logs and images to the MES system

test

🔭 why need to hikvision-rs?

🙋 Reference items and materials