<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script> | |
<!-- mas js --> | |
<script src="https://raw.github.com/jaysalvat/jquery.facedetection/release/js/facedetection/ccv.js"></script> | |
<script src="https://raw.github.com/jaysalvat/jquery.facedetection/release/js/facedetection/face.js"></script> | |
<script src="https://raw.github.com/jaysalvat/jquery.facedetection/release/js/jquery.facedetection.js"></script> | |
<!-- make it happen --> | |
<script> | |
window.onload = function() { | |
jQuery("img").each(function() { | |
var img = this; | |
// Get faces cooridnates | |
var coordinates = jQuery(img).faceDetection(); | |
// Make boxes if faces are found | |
if(coordinates.length) { | |
coordinates.forEach(function(coord) { | |
jQuery("<div>", { | |
css: { | |
position: "absolute", | |
left: coord.positionX + 5 + "px", | |
top: coord.positionY + 5 + "px", | |
width: coord.width + "px", | |
height: coord.height + "px", | |
border: "3px solid white" | |
} | |
}).appendTo(img.parentNode); | |
}); | |
} | |
}); | |
}; | |
</script> |
Thursday, January 5, 2012
jquery face recognition
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...