Giter VIP home page Giter VIP logo

hcnetsdk_golang's Introduction

海康HCNetSDK-GO版本

参考连接 https://www.cnblogs.com/dust90/p/11447622.htm

免责说明

仓库文件示例仅供大家学习参考,工作使用请阅读项目说明第二条

项目说明

  • 海康SDK实现Golang调用,实现基础的常用功能
  • 实际开发场景可能会大量使用unsafe.Pointer,有一定的风险,如果确定使用,建议由经验丰富的开发人员进行Code Review工作
  • 可以根据自己需求修改includeHCNetSDK.h
  • 遇到问题/有需求请提交 Issues,一起讨论
  • demo.go为参考链接示例,不包含报警功能
  • 默认为linux平台开发,再Windows平台请根据提示修改HKDevice.go中对应的变量类型

实现功能

  1. 报警功能,只有布防方式可用,监听方式无法收到报警消息
  2. 云台控制,个人测试正常
  3. 视频预览,目前只是正常调用sdk,未进行界面视频预览

使用说明

  1. goland 编译器即可运行

  2. makefile编译

    Windows:
    mingw32-make.exe windows
    Linux:
    make linux

    清除

    Windows:
    mingw32-make.exe clean
    Linux:
    make clean

联系方式

hcnetsdk_golang's People

Contributors

modestying avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.