Repository navigation
EmguCVWallViz info
To work on the EmguCVWallViz project I have used Visual Studio 2015, the Community edition. The following drivers/SDKs are needed for the project:
-
Point Grey camera drivers for the camera. The cameras are the Near-Infrared Grasshopper 3 cameras, called GS3-U3-41C6NIR-C and we use the USB 3.0 driver.
-
Point Grey SDK (can be found in the project already).
-
OpenCV SDK (can be found in the project already).
-
Connexion SDK (can be found in the project already). Ask Sebastian Boring.
The EmguCVWallViz project consists of the following parts:
Custom-implemented blob tracker using a KD-Tree to generate frame-by-frame UP/DOWN/MOVE blob events.
A very simple ConnextionServer implementation to allow broadcasting of blob events to listening Connexion clients. Connexion is Sebastian Boring's work, so ask him about this :)
Point Grey cameras are wrapped by the PointGreyCamera.cs file, for things like starting them up, setting Format7 settings, hardware/software triggering and image retrieval and so forth. Be aware the PT Grey cameras are quite temperamental!
A collection of images, based on a single image. Basically we save every version of the image as it gets transformed by filters, until the result image which is a binarized image with (hopefully) white for touch regions and black otherwise. This is where you change/add/modify image filtering.
This class wraps maintaining X number of PT Grey cameras simultaneously. It continually grabs images from each camera, and sends them off to processing when possible. It uses FilteredImage to filter the images, OpenCV to do blob detection and the blob tracker to do blob tracking. Note that memory management is very important, changes made especially to this class should be monitored for garbage collection / memory spikes, as it is very easy to mess up with OpenCV/EmguCV memory management!
A sample Java Client has been created that is not in version control here. You can find it under C:\Users\wallvizpc\workspace\WallViz Touch��������������������������������������������\Java\ . Ideally both a Java and C# Connexion client should be made, that can receive blob events, for integration with projects in both languages.