Samples
Top  Previous  Next

The ActiveDcam distribution package includes the following sample applications:

Programming language


Project name
Description

Visual Basic 6.0
DcamProfile


MultiDcam


VBProcess


DcamStat


DcamEnhance


DcamAlpha


DcamLUT


DcamBarcode

DcamByRef



DcamAVI (DVR-version)


DcamSequence (DVR-version)


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

Multiple camera viewer (up to 4 simultaneously running cameras)

Live image processing with direct pixel manipulation in the frame buffer

Real-time image statistics over an ajdustable 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 correctoin

1D and 2D barcdoe decoding

Live image in PictureBox object, pixel values at cursor coordinates, fps display, using ActiveDcam 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 delayed replaying using memory loop recording

Visual Basic 6.0, DirectShow
VBCap
Live image preview, built-in property pages. Based on ActiveDcam 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
DcamConsole





DcamWin
Console application showing how to use ActiveDcam 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
DcamCap
Live image preview, built in and custom camera controls. Based on ActiveDcam Video Capture Filter and Microsoft DirectX SDK.

VB.NET
DcamOverlay


DcamCapture

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#
DcamSharp





FilterSharp

Image and pixel viewer with custom camera controls: selection among multiple cameras, video modes and frame rates, pseudo-color display, real-time shutter and gain control, mouse event handling

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

Borland C++ Builder
DcamTrigger
Image capture with a software trigger linked to a timer event

Delphi
DcamHist
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

ActiveDcam.py
Obtaining the camera and format list, modifying the gain value, retrieving a pixel value

Adobe Flash

DcamFlash.swf
A mirrored live preview, color picker, transparent bitmaps on a live video

HTML
TryActiveDcam.html
Web page with an integrated Dcam 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 DcamOverlay and DcamSharp samples assume the presense of MSCOMM32.ocx on the system.

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