Samples
Top  Previous  Next

The ActiveUSB distribution package includes the following sample applications:

Programming language


Project name
Description

Visual Basic 6.0
UcamProfile



MultiUcam



VBProcess


UcamStat


UcamEnhance



UcamAlpha


UcamLUT


UcamBarcode

GcamLensCorrect

UcamByRef



UcamAVI (DVR-version)


UcamSequence (DVR-version)


UcamReplay (DVR-version)


UcamStreamer (DVR-version)
Live image preview, real-time line profile, drawing text, rectangles and ellipses

Dual camera viewer with custom exposure controls and pixel value display

Live image processing with direct pixel manipulation in the frame buffer

Real-time image statistics over an adjustable luminance range

Real time frame averaging and integration, software gain control, hot pixel correction

Animation effects in the alpha-plane over the live video, full screen mode

Selection among several user-defined look-up tables, color matrix correction

1D and 2D barcdoe decoding

Real-time lens distortion correction

Live image in PictureBox object, pixel values at cursor coordinates, fps display, using ActiveUSB by reference

Video-capture and playback to/from AVI files with the sound recording

Video capture and playback to/from memory sequence

Live video with a delayed replay using memory loop recording

Live video with simultaneous web streaming to a specified ip address

Visual Basic 6.0, DirectShow
VBCap
Live image preview, built-in property pages. Based on ActiveUSB Video Capture Filter and DirectShow programming interface.

Visual C++, MFC
ActiveDemo





PlugUnplug
Live image preview, real-time line profile, histogram and image statistics over ROI, saving image into file, continuous capture into multiple frames.

Multiple camera viewer with plug/unplug event processing. Ability to disconnect and connect up to 4 cameras with streaming video.

Visual C++, Win32 API
UcamConsole





UcamWin
Console application showing how to use ActiveUSB API to retrieve the list of connected cameras and video formats, capture a series of frames and modify camera properties

Live image preview using DIB rendering, built-in and custom camera controls, saving image into file. Written in C with Win32 API (no MFC used)

Visual C++, DirectShow
UcamCap
Live image preview, built in and custom camera controls. Based on ActiveUSB Video Capture Filter and Microsoft DirectX SDK.

VB.NET
UcamOverlay



UcamCapture

Flipped video preview, pseudo-coloring, pixel window extraction, overlay animation

Time-lapse video capture to AVI files or series of images, overlayed frame counter

Visual C#
UcamSharp






FilterSharp

Image and pixel viewer with custom camera controls: selection among multiple cameras and pixel formats, pseudo-color display, real-time exposure and gain control, mouse event handling

Direct access to the frame buffer using pointers, real-time Emboss filter, non-destructive color overlay, interactive drawing

Delphi
UcamHist
Live video with real time 3-color histogram overlay

MATLAB
SingleCamera


MultiCamera


MatlabViewer

Single camera application with custom exposure control.

Two-camera application with built-in property controls.

Live image preview with real-time pixel values, line-profile and 3D-plot, mouse event handling

Python
ActiveUsb.py
Obtaining the camera and format list, modifying the gain value, retreiving pixel values

Adobe Flash

UcamFlash.swf
A mirrored live image preview, color picker, transparent bitmaps over the video

HTML
TryActiveUsb.html
Web page with an integrated viewer


Note that VB.NET and Visual C# samples utilize .NET Framework. Make sure it is installed on your system before using these samples. In addition UcamOverlay and UcamSharp samples assume the presence of MSCOMM32.ocx on the system.

All the samples include complete source code and executables which can be run with any USB3 Vision™ camera out of the box. Simply connect one or more cameras to your system, start an application of your choice and see how ActiveUSB performs in real world!