Coder Social home page Coder Social logo

dahua-c-wrapper's Introduction

Dahua SDK/API Wrapper

⚠️ Attention! This wrapper is still under construction, so use with caution! ⚠️

HELP WANTED

Important!

Before compiling this wrapper-library make sure that dhnetsdk.h and dhconfigsdk.h do not overlap! Known issue is #define macros and typedefs overlapping each other in mentioned files. There is no workaround, unfortunately :(

Build

  1. Install Dahua SDK libraries via official Dahua download page
  2. Clone the code
git clone https://github.com/danny-mhlv/dahua-c-wrapper.git dahua-wrapper
  1. Build the wrapper
cd dahua-wrapper
mkdir build && cd build
cmake .. && cmake --install .

Wrapper

The goal this wrapper-library tries to achieve - is to remove dumb and unnecessary complexity and poor documentation of original Dahua SDK/API.

Some functions of the wrapper purely serve as syntactic sugar, and some have underlying implementation. Both are trying to make the life of the programmer easier.

Examples:

For now, it is C only!

TODO

There are plans to make this wrapper (sugary part of it at least) compatible with C++ code too.

dahua-c-wrapper's People

Contributors

danny-mhlv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.