Code Monkey home page Code Monkey logo

dotnet-app-opencv's Introduction

C# App for Embedded Developers :)

An embedded developer friendly project for .NET 5.0 with C# in Linux ,capable of:

  • Calling an OpenCV-based C++ function in a C# program
  • Communication with a serial port in C#
  • Multi-threading for processing serial port incoming bytes

Useful Commands

Create the app

https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code

dotnet new console --framework net5.0

Create libsobel.so C shared library

cmake -S sobel_opencv_cpp/src -B sobel_opencv_cpp/build
cmake --build sobel_opencv_cpp/build

Install .NET dependencies

  • Add support for Bitmap images

    dotnet add package System.Drawing.Common --version 5.0.2
    sudo apt install libgdiplus
  • Add support for SerialPort communication

    dotnet add package System.IO.Ports --version 5.0.1
  • Add support for Threads

    dotnet add package System.Threading --version 4.3.0

Run the app

dotnet run

Testing serial port

In order to test the functionality of serial port data processing of this C# program you can use upload the Arduino program available in arduino_serial_port directory to an Arduino board.

dotnet-app-opencv's People

Contributors

m3y54m avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.