Skip to content
patriot7 edited this page Dec 31, 2012 · 5 revisions

Welcome to the ccv wiki!

Intro

This is a modified version of libccv which can be compiled with dietlibc-0.29.

In current version, only bbfdetect is comfirmed working correctly.

This version is forked from the unstable branch of ccv.

Compile

  1. // get the code
    $ cd ~/research
    $ git clone git://github.com/patriot7/ccv.git

  2. // build the library
    $ cd ./ccv/lib
    // as the configuration has been included in the modified version, we can skip the config step
    $ make

  3. // now we only have bbfdetect works so we just need to build
    $ cd ../bin
    $ make bbfdetect

Run

  1. // run the progarm ./bbfdetect ../samples/face | ./bbfdraw.rb output.png

    // as libpng and libjpeg was not compiled in the lib, now we can only process BMP files, for example, we have included an example photo.bmp in bin/

    $./bbfdetect.bin ./photo.bmp ../samples/face | ./bbfdraw.rb ./photo.bmp output.png

    // the ruby script will circle out the faces in the output.png

Known Issues

** A result of test cases can be found in resluts**

  • commentted the complex.h in lib/ccv_numeric.c
  • have two global variables in ccv_memory.c "not _thread"
  • the path to diet program need to be manually changed in config.mk
  • casted several math functions. more details could be found in lib/ccv_math.h

#About Currently we are working on the face detection part of libccv

We are trying to partly port libccv to Composite OS to make the face detection program works (bin/bbfdetect)

#Syscalls List

open

old_mmap

fstat

read

close

munmap

lseek

gettimeofday

mremap

write

Updates

2012-12-30

  • added a work-to-be-done page on wiki

2012-12-24

  • clean the modifications

  • generated new patch files

  • replace the test picture for the face detection program(bbfdetect)

  • reformatted the wikipage

2012-11-20

  • update to the latest unstable branch from liuliu/cvv
Clone this wiki locally