Skip to content
Beat Küng edited this page Jul 16, 2012 · 5 revisions

This page provides all the software needed to use the leanXcam. This page gives a summary of all packages to be used on the leanXcam or to develop software for it.

The Oscar Software Framework, the example projects, uClinux/U-Boot binaries and sources may be downloaded at our project Download page. Sources and binaries for the Blackfin toolchain are provided at the Blackfin uClinux project page.

See Versioning Schemes for dependency software versions between packages.

All software Packages may be downloaded at the Download page. The corresponding documentation can be found on the Documentation page.

Table of Contents

Oscar Template Applications

To demonstrate the use of the Oscar Software Framework, a number of applications are distributed alongside. These are maintained by SCS and always updated to changes in the framework. We recommend you to start your project by copying one of these applications as a code base for development. Depending on the character and requirements of your project, a different demo-application should be selected.

web-view-cpp

If you start a new application, it is recommended to download the web-view-cpp application, rename it and start working with this as your starting point. Web-view-cpp is a simple C++ demonstration application that shows a live image stream in the browser and supports the vision library OpenCV. A more detailed description how to build, debug, run and adapt web-view-cpp you find on the associated page Web-View-Cpp.

Uses: Oscar, Oscar Code Collection, OpenCV

web-view

Similar to web-view-cpp, but written in C and without OpenCV support.

Uses: Oscar, Oscar Code Collection

app-template

The app-template is a full-blown template for complex applications that require continuous processing of images as well as an asynchronous web interface to inspect results and change parameters.

To reduce the initial effort for writing a own leanXcam application, there exist a template in /home/oscar/examples/app-template. After initialization, a main loop is entered and the control flow is handled by a Hierarchic State Machine. Events like a new image arriving are dispatched to the state machine which then decides which handler function to invoke depending on the current state. The template also features a small CGI to demonstrate how IPC can be used to query information and data from the main application and how AJAX can be used to display dynamic web pages.

Uses: Oscar

basic-template

The basic-template is a simplified version of the app-template, without web interface and hierarchical state machine.

Uses: Oscar

Oscar Software Framework

The Oscar Software Framework is the main abstraction layer used by applications to access the special purpose hardware of the leanXcam.

Oscar Code Collection

The Oscar Code Collection is of a set of small independent libraries that help development on the leanXcam by being able to reuse existing code for tasks that someone else already implemented on the leanXcam. Mostly, but not exclusively, these are Computer Vision algorithms.

OpenCV

The famous Open Source Computer Vision library OpenCV, cross-compiled from the PC implementation from WillowGarage, allows access to all the computer vision functions of the most complete Computer Vision library on the leanXcam.

uClinux und U-Boot binaries

uClinux is the Linux distribution used as system software on the leanXcam. It contains several software packages like an HTTP and SSH server.

U-Boot is the bootloader which initializes the hardware and loads and boots the Linux kernel.

Because of their tight entanglement, the an update of the uClinux distribution also requires an update of the cross-compiler Toolchain. Consult the Download page for compatibility information.

leanXcam Software Development Kit

The leanXcam SDK is an installation of a complete development setup for the leanXcam in a Virtual Machine. It comes on a DVD with your leanXcam. This allows you to start developing without first having to manually install the tools. The SDK consists of an Ubuntu Linux installation with all important software packages already laid out for you. The freely available tool VirtualBox, needed to run the SDK, can be used on Windows, Mac and Linux.

Toolchain

The uClinux on Blackfin project provides an adaptation of the GCC Toolchain for the Blackfin processor. It is necessary to compile both system and application code for use on the camera. This is already installed and set up for you in the SDK.

Applications and libraries by the community

The leanXcam community site is also the hub for development on the leanXcam. Check out what others have been doing on our Applications page, see if there is something you like and download it. Or even better, contribute and share your latest project with the world.

Clone this wiki locally