OpenCV facial recognition with BeagleBone Black

After flashing my BBB with Debian, I proceed to install OpenCV and the required Python packages. Using the sample code from here, I could get the facial and eye recognition demo running in a few minutes!

A few points to note:
  • I am running Debian Wheezy on my BBB with the image flashed to eMMC. It is a headless setup. Connect to it from my Windows PC using putty and Xming
  • BBB seems to be having problem when the webcam resolution is too high. The sample code ran OK when the witdth and height set as 320x240 or 352x288
  • For the facial recognition sample, some external XML files are required. You may get them from the OpenCV source code package. Just modify the sample code to point to the correct directory



This entry was posted on Wed, 12 Jun 2013 06:27:00 GMT and Posted in , . You can follow any any response to this entry through the Atom feed. You can leave a comments, .


Comments

Leave a response

  1. DB about 1 year later:
    How on Earth did you manage to install OpenCV on the BBB? When I tried to install it, I ran out of space on the board and CMake never finished making the file.
  2. Sounak Ranjan Das about 1 year later:
    Add a uSD card and formatt the partitions of the beaglebone black to use the uSD card as your file system. Check out this link. http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD

Leave a comment