Skip to content

A Nokia example application demonstrating the use of the Nokia Imaging SDK for real-time image effects. The effects are applied to the stream received from the camera and shown in the viewfinder. This app does not support capturing photos.

License

Nokia-Developer-Community-Projects/real-time-filter-demo

 
 

Repository files navigation

Real-time Filter Demo

A Nokia example application demonstrating the use of the Nokia Imaging SDK for real-time image effects. The effects are applied to the stream received from the camera and shown in the viewfinder. This app does not support capturing photos.

This example application is hosted in GitHub: https://github.com/nokia-developer/real-time-filter-demo

For more information on implementation visit Nokia Lumia Developer's Library: http://developer.nokia.com/Resources/Library/Lumia/#!nokia-imaging-sdk/sample-projects/real-time-filter-demo.html

  1. Prerequisites

  • C# basics
  • Windows 8
  • Microsoft Visual Studio Express for Windows Phone 2012
  • Windows Phone 8 device
  1. Project structure and implementation

The example consists basically of three key classes. The main page is your typical phone application page implemented by a XAML file and a C# counterpart. The main page implements the application UI including the MediaElement which displays the camera viewfinder with an effect. The MainPage class also owns the instances of the two other key classes: CameraStreamSource and NokiaImageEditingSDKEffects. The CameraStreamSource, derived from MediaStreamSource, provides the camera data. The NokiaImageEditingSDKEffects implements all the effects of the application.

  1. Compatibility

Windows Phone 8. Tested to work on Nokia Lumia 920 and Nokia Lumia 520. Developed with Microsoft Visual Studio Express for Windows Phone 2012.

3.2 Known Issues

None.

  1. Building, installing, and running the application

4.1 Preparations

Make sure you have the following installed:

  • Windows 8
  • Windows Phone SDK 8.0
  • Nuget 2.7+

4.2 Using the WINDOWS PHONE 8 SDK

  1. Open the SLN file: File > Open Project, select the solution (.sln postfix) file
  2. Select the target 'Device' and platform 'ARM'.
  3. Press F5 to build the project and run it on device.

If the project does not compile on the first attempt it's possible that you did not have the required packages yet. With Nuget 2.7 or later the missing packages are fetched automatically when build process is invoked, so try building again. If some packages cannot be found there should be an error stating this in the Output panel in Visual Studio Express.

For more information on deploying and testing applications see: http://msdn.microsoft.com/en-us/library/gg588378%28v=vs.92%29.aspx

  1. License

See the license text file https://github.com/nokia-developer/real-time-filter-demo/blob/master/Licence.txt

  1. Version history

  • 1.1.0.0: Third public release of Real-time Filter Demo

    • Updated to use the latest Nokia Imaging SDK
    • Added custom made inverted grayscale filter
    • Using Nuget Package Restore for external libraries
    • Overall code refactoring and productization
  • 1.0.1.0: Second public release of Real-time Filter Demo

    • Fix: MediaElement did not release the camera handle
  • 1.0.0.0: First public release of Real-time Filter Demo

About

A Nokia example application demonstrating the use of the Nokia Imaging SDK for real-time image effects. The effects are applied to the stream received from the camera and shown in the viewfinder. This app does not support capturing photos.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%