old_contents: {
    "targets": [{ 
        "target_name": "opencv"
        , "sources": [ 
            "src/init.cc"
          , "src/Matrix.cc"
          , "src/OpenCV.cc"
          , "src/CascadeClassifierWrap.cc"
          , "src/Contours.cc"
          , "src/Point.cc"
          , "src/VideoCaptureWrap.cc"
          , "src/CamShift.cc"
          , "src/HighGUI.cc"
          , "src/FaceRecognizer.cc"
          ]
        , 'libraries': [
            '<!@(pkg-config --libs opencv)'
          ]
          
        # For windows
        ,'include_dirs': [
            '<!@(pkg-config --cflags opencv)'
            ]
            
        , 'cflags': [
              '<!@(pkg-config --cflags "opencv >= 2.3.1" )'
              , '-Wall'
            ]
        , 'cflags!' : [ '-fno-exceptions']
        , 'cflags_cc!': [ '-fno-rtti',  '-fno-exceptions']
        , "conditions": [
          ['OS=="mac"', {
            # cflags on OS X are stupid and have to be defined like this
            'xcode_settings': {
              'OTHER_CFLAGS': [
                "-mmacosx-version-min=10.7",
                "-std=c++11",
                "-stdlib=libc++",
                '<!@(pkg-config --cflags opencv)'
              ]
              , "GCC_ENABLE_CPP_RTTI": "YES"
              , "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
            }
          }]        
        
      ]
    }]
  }
  
  
new_contents: {
    "targets": [{ 
        "target_name": "opencv"
        , "sources": [ 
            "src/init.cc"
          , "src/Matrix.cc"
          , "src/OpenCV.cc"
          , "src/CascadeClassifierWrap.cc"
          , "src/Contours.cc"
          , "src/Point.cc"
          , "src/VideoCaptureWrap.cc"
          , "src/CamShift.cc"
          , "src/HighGUI.cc"
          , "src/FaceRecognizer.cc"
          , "src/BackgroundSubtractor.cc"
          ]
        , 'libraries': [
            '<!@(pkg-config --libs opencv)'
          ]
          
        # For windows
        ,'include_dirs': [
            '<!@(pkg-config --cflags opencv)'
            ]
            
        , 'cflags': [
              '<!@(pkg-config --cflags "opencv >= 2.3.1" )'
              , '-Wall'
            ]
        , 'cflags!' : [ '-fno-exceptions']
        , 'cflags_cc!': [ '-fno-rtti',  '-fno-exceptions']
        , "conditions": [
          ['OS=="mac"', {
            # cflags on OS X are stupid and have to be defined like this
            'xcode_settings': {
              'OTHER_CFLAGS': [
                "-mmacosx-version-min=10.7",
                "-std=c++11",
                "-stdlib=libc++",
                '<!@(pkg-config --cflags opencv)'
              ]
              , "GCC_ENABLE_CPP_RTTI": "YES"
              , "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
            }
          }]        
        
      ]
    }]
  }
  
  
subject: Revert "back out the background subtractor"