Skip to content
/ bergman Public

Experimental proof-of-concept video capture in MATLAB using Point Grey cameras.

Notifications You must be signed in to change notification settings

sg-s/bergman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

bergman

Experimental proof-of-concept video capture in MATLAB using Point Grey cameras.

The problem:

MATLAB's built in videoinput class, used for image capture, can only log data as .AVI file. It is also reportedly slow, and takes some time to save the data after acquisition.

The Solution:

Use callback functions from the videoinput class to write raw frames to a binary dump. This should allow one to stream the data to disk, with no limitation.

Installation

The recommended way to install this is to use my package manager:

urlwrite('http://srinivas.gs/install.m','install.m'); 
install bergman
install srinivas.gs_mtools  

or clone this repository using git.

Usage

Set up the bergman class:

b =  bergman;

(Optional) Specify where you want to log data

b.file_name = 'through_a_glass_darkly.bergman';

Start acquisition:

b.start;

bergman should now have logged all the data to disk in the file you specified.

Limitations

  1. Only works with Point Grey cameras
  2. Assumes you have all the hardware packages installed
  3. No support for unlimited data capture yet. You have to specify how many frames you want in advance.
  4. Files not closed properly. You have to manually close them.

License

bergman is free software. GPL v3

About

Experimental proof-of-concept video capture in MATLAB using Point Grey cameras.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages