Ask Your Question

Revision history [back]

Multiple architecture OpenCV install script plus Java patch


Please take a look at my install script and let me know if you run into any issues. A lot of the scripts online require the old libopencv-dev packages. The other problem I've found with other scripts is building ffmpeg. It's a trial and error process to get the compile args correct across various platforms. Linux on ARM is supported without the need for Android.

Platforms Supported by Install OpenCV

  • Ubuntu 12.04.3 LTS x86_64
  • Ubuntu 12.04.3 LTS x86
  • Ubuntu 12.10 armv7l (PicUntu 0.9 RC3)


  • FFMPEG from source (x264, fdk-aac, libvpx, libopus)
  • OpenCV from source
  • Java 7 and Apache Ant
    • Patch to generate missing VideoWriter class and add some missing CV_CAP_PROP constants
    • FourCC class
    • CaptureUI Applet to view images/video since there's no imshow with the bindings
  • Java and Python examples
    • Capture UI
    • Motion detection
    • People detection