Browse Source

package.json for server

master
arnaucode 7 years ago
parent
commit
95554241d6
3 changed files with 55 additions and 11 deletions
  1. +2
    -1
      bower.json
  2. +33
    -10
      colorTracking.html
  3. +20
    -0
      package.json

+ 2
- 1
bower.json

@ -5,6 +5,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"tracking": "^1.1.3", "tracking": "^1.1.3",
"pizzicato": "^0.5.1"
"pizzicato": "^0.5.1",
"materialize": "^0.98.0"
} }
} }

+ 33
- 10
colorTracking.html

@ -4,25 +4,48 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>proves de so</title> <title>proves de so</title>
<script src="bower_components/tracking/build/tracking-min.js"></script>
<script src="bower_components/pizzicato/distr/Pizzicato.js"></script>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="bower_components/materialize/dist/css/materialize.min.css" media="screen,projection"/>
<script src="colorTracking.js"></script>
<style> <style>
video,
canvas {
margin-left: 100px;
margin-top: 35px;
.video,
.canvas {
/*margin-left: 100px;
margin-top: 35px;*/
position: absolute; position: absolute;
} }
</style> </style>
</head> </head>
<body> <body>
<video id="video" width="600" height="450" preload autoplay loop muted controls></video>
<canvas id="canvas" width="600" height="450"></canvas>
<button onclick="silence()">silenci</button>
<div class="row">
<div class="col s6">
<video id="video" class="video" width="600" height="450" preload autoplay loop muted controls></video>
<canvas id="canvas" class="canvas" width="600" height="450"></canvas>
<a class="waves-effect waves-light btn" onclick="silence()"><i class="material-icons left">volume_off</i> silenci</a>
</div>
<div class="col s6">
</div>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="bower_components/materialize/dist/js/materialize.min.js"></script>
<script src="bower_components/tracking/build/tracking-min.js"></script>
<script src="bower_components/pizzicato/distr/Pizzicato.js"></script>
<script src="colorTracking.js"></script>
</body> </body>
</html> </html>

+ 20
- 0
package.json

@ -0,0 +1,20 @@
{
"name": "imgProcessingProjects",
"private": true,
"version": "0.0.0",
"description": "imgprocessing",
"repository": "https://github.com/arnaucode/imgProcessingProjects",
"license": "MIT",
"devDependencies": {
"bower": "^1.7.7",
"http-server": "^0.9.0"
},
"scripts": {
"postinstall": "bower install",
"prestart": "npm install",
"start": "http-server -p 3123 -c-1 ./"
},
"dependencies": {
"bower": "latest"
}
}

Loading…
Cancel
Save