Concept Framework 2.2 documentation | Contents | Index |
Name | Version | Deprecated |
ObjectDetect | version 2 | no |
number ObjectDetect(string source, array of images | filename[, number type=OBJECT_FILE|OBJECT_CAMERA|OBJECT_BUFFER, boolean detect_only_biggest_object, string fileformat="png", number width=200, number height=200, number max_iterations=0]); |
Detects an object and returns an array. On error returns a number describing the error code. |
... var obj=LoadObject("face.xml"); while (true) { var arr=ObjectDetect(ReadFile("test.jpg"), obj, OBJECT_BUFFER); var len=length arr; for (var i=0;i<len;i++) { var e=arr[i]; if (e) WriteFile(e["data"], "out$i.png"); } } CloseObject(obj); ... |
Documented by Devronium Autodocumenter Alpha, generation time: Sun Jan 27 18:15:35 2013 GMT | (c)2013 Devronium Applications |