{"id":21175832,"url":"https://github.com/m3y54m/dotnet-app-opencv","last_synced_at":"2026-04-16T10:32:23.515Z","repository":{"id":46631994,"uuid":"411703681","full_name":"m3y54m/dotnet-app-opencv","owner":"m3y54m","description":"An embedded-developer-friendly project for .NET 5.0 with C# in Linux + SerialPort + Multi-threading + OpenCV C++","archived":false,"fork":false,"pushed_at":"2021-10-03T23:27:54.000Z","size":367,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T23:17:15.244Z","etag":null,"topics":["console-application","cross-platform","csharp","dotnet","embedded-systems","linux","multithreading","opencv","serial-port"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m3y54m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-29T14:18:48.000Z","updated_at":"2021-10-03T23:27:57.000Z","dependencies_parsed_at":"2022-08-29T15:01:54.690Z","dependency_job_id":null,"html_url":"https://github.com/m3y54m/dotnet-app-opencv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m3y54m/dotnet-app-opencv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3y54m%2Fdotnet-app-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3y54m%2Fdotnet-app-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3y54m%2Fdotnet-app-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3y54m%2Fdotnet-app-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m3y54m","download_url":"https://codeload.github.com/m3y54m/dotnet-app-opencv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m3y54m%2Fdotnet-app-opencv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["console-application","cross-platform","csharp","dotnet","embedded-systems","linux","multithreading","opencv","serial-port"],"created_at":"2024-11-20T17:00:35.204Z","updated_at":"2026-04-16T10:32:23.484Z","avatar_url":"https://github.com/m3y54m.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C# App for Embedded Developers :)\n\nAn embedded developer friendly project for .NET 5.0 with C# in Linux ,capable of:\n\n- Calling an OpenCV-based C++ function in a C# program\n- Communication with a serial port in C#\n- Multi-threading for processing serial port incoming bytes\n\n## Useful Commands\n\n### Create the app\n\nhttps://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code\n\n```console\ndotnet new console --framework net5.0\n```\n\n### Create `libsobel.so` C shared library\n\n```console\ncmake -S sobel_opencv_cpp/src -B sobel_opencv_cpp/build\ncmake --build sobel_opencv_cpp/build\n```\n### Install .NET dependencies\n\n-   Add support for Bitmap images\n\n    ```console\n    dotnet add package System.Drawing.Common --version 5.0.2\n    sudo apt install libgdiplus\n    ```\n\n-   Add support for SerialPort communication\n\n    ```console\n    dotnet add package System.IO.Ports --version 5.0.1\n    ```\n\n-   Add support for Threads\n\n    ```console\n    dotnet add package System.Threading --version 4.3.0\n    ```\n### Run the app\n\n```console\ndotnet run\n```\n\n### Testing serial port\n\nIn 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.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm3y54m%2Fdotnet-app-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm3y54m%2Fdotnet-app-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm3y54m%2Fdotnet-app-opencv/lists"}