~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to snapcraft.yaml

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
name: face-detection-demo
2
 
version: 0.1.1
3
 
vendor: Pedro Coca <Pedro.Coca@canonical.com>
4
 
summary: Web interface detecting faces from webcam shots
5
 
description: Web interface detecting faces from webcam shots every few seconds
6
 
icon: facedetectionweb.png
 
1
name: face-detection
 
2
version: 0.1
 
3
summary: Demo for Face Detection statistics
 
4
description: |
 
5
  This demo shows face detection statics parameterized to take a picture through a webcam X seconds
 
6
  (timing between pictures can be defined in $SNAP_DATA/settings). Report results through a web interface
 
7
  on 8042 port (configurable as well).
7
8
 
8
 
services:
 
9
apps:
9
10
  facedetectionweb:
10
 
    start: bin/wfd
11
 
    description: Web interface detecting faces from webcam shots
12
 
    caps: [network-service]
 
11
    command: bin/facedetection.exports
 
12
    plugs: [network-bind]
 
13
    daemon: simple
13
14
 
14
15
parts:
15
 
  golang-static-http:
16
 
    plugin: go
17
 
    source: golang-static-http/
18
 
  webfd:
19
 
    plugin: nil
20
 
    stage-packages: 
21
 
        - python-dev
22
 
        - python-opencv
23
 
        - python-numpy
24
 
  logic:
25
 
    plugin: copy
26
 
    files:
27
 
      bin/logic.xml: bin/logic.xml
28
 
      bin/face_detect.py: bin/face_detect.py
29
 
  glue:
30
 
    plugin: copy
31
 
    files:
32
 
      bin/wfd: bin/wfd
33
 
      bin/index.html: bin/index.html
34
 
 
 
16
  demo:
 
17
    plugin: copy
 
18
    files:
 
19
      'bin/*': 'bin/'
 
20
      'logic.xml': 'logic.xml'
 
21
      'facedetection': 'facedetection'
 
22
    stage-packages:
 
23
     - python-dev
 
24
     - python-opencv
 
25
     - python-numpy
 
26
     - python-yaml