Difference between revisions of "Emgu CV for Windows Phone"

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Prerequisite =
 
=Prerequisite =
You will need Visual Studio 2013 for development.
+
To develop for Windows Phone 8.1, you need Visual Studio 2013 (or Visual Studio 2015) running on a Windows 8.1 workstation. A phone with Windows Phone 8.1 is required to run the app on device.
 
 
=Getting Emgu CV for Windows Phone=
 
Emgu CV for Windows Phone 8.1 is only available under our commercial license.
 
  
 
=Differences between Emgu CV for Windows Phone and Desktop version=
 
=Differences between Emgu CV for Windows Phone and Desktop version=
 
*  "System.Drawing.Bitmap" is not available on this platform.
 
*  "System.Drawing.Bitmap" is not available on this platform.
 
* The Emgu.CV.GPU module is not available for this platform.
 
* The Emgu.CV.GPU module is not available for this platform.
 +
* The Emgu.CV.OCR module is not available for this platform.
 +
 +
=Getting Emgu CV for Windows Phone=
 +
Emgu CV for Windows Phone 8.1 is only available under our [[Commercial_License_Purchase#Commercial_License_3.0_for_Windows_Phone | commercial license]], which can be purchased from our online store. Upon completion of the purchase, you can follow the instructions to download the Emgu CV for Windows Phone package from our server. (e.g. libemgucv-windows-phone-universal-3.0.0.2158.zip)
  
 
=Running the Demo app=
 
=Running the Demo app=
Once the package (e.g. libemgucv-windows-phone-universal-3.0.0.2141-rc1.zip) is downloaded. The demo program can be loaded by opening the solution file under “Solution\Windows.Phone\Emgu.CV.Example.Windows.Phone.sln”.  
+
Once the package is downloaded, the demo program can be loaded by opening the solution file under “Solution\Windows.Phone\Emgu.CV.Example.Windows.Phone.sln”.
 +
 
 +
You can open the solution in Visual Studio and set "Emgu.CV.Windows.Phone.App" as the start up project.
  
Once the solution is open, please set the Emgu.CV.Windows.Phone.App as the start up project.
+
[[Image:windowsPhone81VisualStudio2013.png ]]
  
 +
'''Please note that when building the WindowsPhoneApp project in the demo solution for the first time, the Lumia Imaging SDK will automatically be downloaded (we use Lumia SDK for real-time camera capture). There will be an error for the first build that can be safely ignored, it is caused by Visual Studio trying to build the WindowsPhoneApp project before the Lumia SDK download is completed. Just wait a few seconds and build it a second time and all should be fine'''.
  
Please note that when building the WindowsPhoneApp project in the demo solution for the first time, the Lumia Imaging SDK will automatically be downloaded (we use Lumia SDK for real-time camera capture). There will be an error for the first build that can be safely ignored, it is caused by Visual Studio trying to build the WindowsPhoneApp project before the Lumia SDK download is completed. Just wait a few seconds and build it a second time and all should be fine.
+
Now you can connect your windows phone 8.1 and start running the app on your phone (Nokia Lumia 635 is used in the following screen capture).
  
Now you can connect your windows phone 8.1 and start running the app on your phone.
+
[[Image:EmguCV3Lumia635.jpg]]

Latest revision as of 15:08, 2 July 2015

Prerequisite

To develop for Windows Phone 8.1, you need Visual Studio 2013 (or Visual Studio 2015) running on a Windows 8.1 workstation. A phone with Windows Phone 8.1 is required to run the app on device.

Differences between Emgu CV for Windows Phone and Desktop version

  • "System.Drawing.Bitmap" is not available on this platform.
  • The Emgu.CV.GPU module is not available for this platform.
  • The Emgu.CV.OCR module is not available for this platform.

Getting Emgu CV for Windows Phone

Emgu CV for Windows Phone 8.1 is only available under our commercial license, which can be purchased from our online store. Upon completion of the purchase, you can follow the instructions to download the Emgu CV for Windows Phone package from our server. (e.g. libemgucv-windows-phone-universal-3.0.0.2158.zip)

Running the Demo app

Once the package is downloaded, the demo program can be loaded by opening the solution file under “Solution\Windows.Phone\Emgu.CV.Example.Windows.Phone.sln”.

You can open the solution in Visual Studio and set "Emgu.CV.Windows.Phone.App" as the start up project.

WindowsPhone81VisualStudio2013.png

Please note that when building the WindowsPhoneApp project in the demo solution for the first time, the Lumia Imaging SDK will automatically be downloaded (we use Lumia SDK for real-time camera capture). There will be an error for the first build that can be safely ignored, it is caused by Visual Studio trying to build the WindowsPhoneApp project before the Lumia SDK download is completed. Just wait a few seconds and build it a second time and all should be fine.

Now you can connect your windows phone 8.1 and start running the app on your phone (Nokia Lumia 635 is used in the following screen capture).

EmguCV3Lumia635.jpg