Asp.Net Core on Ubuntu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Requirements == | == Requirements == | ||
This tutorial is based on Ubuntu 20.04 LTS. | This tutorial is based on Ubuntu 20.04 LTS. You will need to follow the instruction [[Download_And_Installation#Linux|here]] to build Emgu CV from source code. | ||
Once you have the BuildInfo.NetCore.Console project running from above, you have the dependencies setup for your project and can continue below. | |||
== | == Running the ASP .NetCore project == | ||
The source code is located under the <pre>Emgu.CV.Example/DynamicImage.Asp.NetCore</pre> folder. | |||
=== Command Line === | |||
You can run the project by running <pre>dotnet run</pre> in the above folder. | |||
=== Using Visual Studio Code === | |||
You can also open the project with Visual Studio Code | |||
== Testing with a browser == | |||
Open a browser from Ubuntu and enter the url <pre> http://localhost:5000/api/file </pre> | |||
You should get a Jpeg file, generated by Emgu CV, that contains text describing the current time on the system. | |||
[[File: aspnet_core_ubuntu.png|300px|center|thumb|Firefox on Ubuntu showing asp.net core generated image]] | |||
Congratulations, you have your first Emgu CV Asp.Net Core apps running on Ubuntu! |
Latest revision as of 16:20, 24 June 2020
This example requires Emgu CV 4.3.0 and up
Requirements
This tutorial is based on Ubuntu 20.04 LTS. You will need to follow the instruction here to build Emgu CV from source code. Once you have the BuildInfo.NetCore.Console project running from above, you have the dependencies setup for your project and can continue below.
Running the ASP .NetCore project
The source code is located under the
Emgu.CV.Example/DynamicImage.Asp.NetCore
folder.
Command Line
You can run the project by running
dotnet run
in the above folder.
Using Visual Studio Code
You can also open the project with Visual Studio Code
Testing with a browser
Open a browser from Ubuntu and enter the url
http://localhost:5000/api/file
You should get a Jpeg file, generated by Emgu CV, that contains text describing the current time on the system.

Congratulations, you have your first Emgu CV Asp.Net Core apps running on Ubuntu!