{% set version = "2.1.3" %}

package:
  name: bob.ip.facedetect
  version: {{ version }}

source:
  fn: bob.ip.facedetect-{{ version }}.zip
  url: https://pypi.io/packages/source/b/bob.ip.facedetect/bob.ip.facedetect-{{ version }}.zip
  md5: da6493dc879a9685c7e4225224788271

build:
  entry_points:
    - collect_training_data.py = bob.ip.facedetect.script.collect_training_data:main
    - extract_training_features.py = bob.ip.facedetect.script.extract_training_features:main
    - train_detector.py = bob.ip.facedetect.script.train_detector:main
    - validate_detector.py = bob.ip.facedetect.script.validate_detector:main
    - detect_faces.py = bob.ip.facedetect.script.detect_faces:main
    - evaluate_detections.py = bob.ip.facedetect.script.evaluate:main
    - plot_froc.py = bob.ip.facedetect.script.plot_froc:main
  number: 0
  skip: true  # [win]

requirements:
  build:
    - toolchain 2.3.2
    - python
    - setuptools
    - bob.learn.boosting
    - bob.ip.base
    - bob.ip.draw
    - bob.ip.color
    - bob.io.image
    - libblitz 0.10|0.10.*
    - boost 1.61.*
    - numpy x.x
    - pkg-config
    - gcc 4.8.5  # [linux]
    - libgcc 4.8.5  # [linux]

  run:
    - python
    - bob.learn.boosting
    - bob.ip.base
    - bob.ip.draw
    - bob.ip.color
    - bob.io.image
    - libblitz 0.10|0.10.*
    - boost 1.61.*
    - numpy x.x
    - libgcc >=4.8.5  # [linux]

test:
  commands:
    - collect_training_data.py --help
    - extract_training_features.py --help
    - train_detector.py --help
    - validate_detector.py --help
    - detect_faces.py --help
    - evaluate_detections.py --help
    - plot_froc.py --help
    - nosetests -sv bob.ip.facedetect

  imports:
    - bob
    - bob.ip
    - bob.ip.facedetect

  requires:
    - nose

about:
  home: https://www.idiap.ch/software/bob/
  license: BSD 3-Clause
  summary: Face Detection using a Cascade of Boosted LBP Features

extra:
  recipe-maintainers:
    - 183amir
