Skip to content

lipp/wappcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

wappcam is a project work of the "Photonics and Image Processing" group (University of Applied Science, Darmstadt)". Its aim is to create a Lua based camera (web-) server and a HTML + Javascript based client (GUI).

Install on Ubuntu (>=12.04)

The wappcam server requires:

  • Lua (5.1)
  • orbit
  • v4l (video for linux)
  • OpenCV (>=2.2)
  • luacv (patched version, which works with Lua 5.1 see below)
  • cmake

Standard package installation with apt

$ sudo apt-get install subversion luarocks libopencv-*-dev cmake
$ sudo luarocks install orbit

luacv patching and building

The luacv package required is a slightly modified version of revision 62 (the last revision working with Lua 5.1).

Checkout luacv revision 62

$ svn co https://luacv.svn.sourceforge.net/svnroot/luacv -r 62

Apply patch for encoding image in memory

$ cd luacv
$ cp luacv_encode.patch .
$ patch -p0 < luacv_encode.patch

Build luacv

$ mkdir build
$ cd build
$ cmake ../src/
$ make

Install luacv

$ sudo cp luacv.so.0.2.0 /usr/local/lib/lua/5.1/luacv.so

Running the server

Starts the wappcam webserver, listening on port 8080

orbit wappcam.lua

Connect with a browser on, e.g. http://localhost:8080

About

A web application for remote camera control. The student's output of my lecture at the Hochschule Darmstadt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published