Skip to content

asthana86/imagefilters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagefilters

Image Filters website using OpenCV

There are two portions to this repo.

  1. The ASP.net website is located under the image-web folder and presented as a Visual Studio Solution.Using the website you can upload a picture which gets stored in an Azure Storage Blob. When you click grayscale it will look for an grayscaled version of the image you uploaded in the result Blob Container image.

  2. imagefilters.cpp is the C++ piece of code that is platform agonistic runs on Windows or Linux. It downloads the blob and uses OpenCV to convert it to a grayscale version which is then uplodaded back to a blob.

Build Instructions:

  1. ASP.net website (imagefilters folder)

    • In VS2015 build imagefilters.csproj, you will have to replace the following with your storage account: CloudStorageAccount storageAccount =
      CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("cppstorage_AzureStorageConnectionString"));
  2. The C++ piece of code on a Linux container.

Running Instructions:

  • Run the website by launching the imagefilters.csproj
  • Run the C++ piece of code in the container. ' export LD_LIBRARY_PATH=/imagecppservice/azure-storage-cpp/Microsoft.WindowsAzure.Storage/build.release/Binaries:/imagecppservice/casablanca/Release/build.release/Binaries:/imagecppservice/opencv-3.1.0/build/lib && /imagecppservice/imagefilters/a.out'

To Do:

  1. Add support for scalability, running multiple containers with this C++ piece of code. Need to account for syncronization issues.
  2. Add an Azure Function on BlobTriggerevent to automatically call ACS, spin an Azure container deploy the runtime files and start
    the C++ program.
  3. Make use of cortana-intelligence-suite

About

Image Filters website using OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published