"rect" : [ 0.0, 42.0, 1440.0, 772.0 ],
"openinpresentation" : 1,
"default_fontsize" : 12.0,
"default_fontname" : "Arial",
"gridsize" : [ 15.0, 15.0 ],
"bgcolor" : [ 0.917647, 0.937255, 0.670588, 1.0 ],
"patching_rect" : [ 174.0, 392.75, 72.0, 48.0 ],
"presentation_rect" : [ 97.5, 185.0, 160.0, 20.0 ],
"text" : "show background greyscale"
"bgcolor" : [ 0.415686, 0.239216, 0.109804, 1.0 ],
"checkedcolor" : [ 0.945098, 0.913725, 0.407843, 1.0 ],
"outlettype" : [ "int" ],
"patching_rect" : [ 205.0, 482.0, 34.0, 34.0 ],
"presentation_rect" : [ 50.75, 175.25, 39.5, 39.5 ]
"patching_rect" : [ 120.25, 482.0, 41.0, 32.0 ]
"bgcolor" : [ 0.917647, 0.937255, 0.670588, 1.0 ],
"patching_rect" : [ 555.0, 178.0, 150.0, 48.0 ],
"presentation_rect" : [ 432.25, 229.0, 360.5, 20.0 ],
"text" : "Movement tracking of all objects as blobs showing centre position"
"bgcolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ],
"patching_rect" : [ 8.0, 306.0, 150.0, 34.0 ],
"presentation_rect" : [ 75.5, 229.0, 210.0, 20.0 ],
"text" : "Face recognition movement window"
"patching_rect" : [ 245.375, 460.0, 117.0, 48.0 ],
"text" : "can change the face model by reading files"
"bgcolor" : [ 0.835294, 0.858824, 0.541176, 1.0 ],
"patching_rect" : [ 135.0, 783.0, 130.0, 20.0 ],
"presentation_rect" : [ 185.5, 527.0, 150.0, 20.0 ],
"text" : "change bounds colour"
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 205.0, 459.0, 35.0, 18.0 ],
"outlettype" : [ "", "" ],
"patching_rect" : [ 135.0, 459.0, 66.0, 18.0 ],
"patching_rect" : [ 274.0, 439.75, 58.0, 16.0 ],
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 274.0, 373.75, 35.0, 18.0 ],
"patching_rect" : [ 274.0, 414.75, 29.0, 16.0 ],
"patching_rect" : [ 274.0, 392.75, 56.0, 16.0 ],
"patching_rect" : [ 274.0, 812.0, 73.0, 18.0 ],
"outlettype" : [ "", "float" ],
"patching_rect" : [ 135.0, 812.0, 128.0, 32.0 ],
"presentation_rect" : [ 41.0, 521.0, 128.0, 32.0 ]
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 16.0, 412.0, 130.0, 18.0 ],
"text" : "cv.jit.resize @size 160 120"
"outlettype" : [ "jit_matrix" ],
"patching_rect" : [ 16.0, 498.0, 82.0, 18.0 ],
"text" : "cv.jit.faces.draw"
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 16.0, 459.0, 57.0, 18.0 ],
"patching_rect" : [ 85.0, 369.0, 157.0, 18.0 ],
"text" : "Works only on greyscale images!",
"varname" : "output-description[1]"
"bgcolor" : [ 0.0, 0.0, 1.0, 0.05098 ],
"bordercolor" : [ 0.0, 0.0, 1.0, 0.733333 ],
"patching_rect" : [ 6.0, 455.0, 78.0, 27.0 ],
"maxclass" : "jit.fpsgui",
"outlettype" : [ "", "" ],
"patching_rect" : [ 16.0, 783.0, 80.0, 36.0 ]
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 16.0, 370.0, 62.0, 18.0 ],
"maxclass" : "jit.pwindow",
"outlettype" : [ "", "" ],
"patching_rect" : [ 16.0, 530.0, 320.0, 240.0 ],
"presentation_rect" : [ 19.5, 262.5, 320.0, 240.0 ]
"bgcolor" : [ 0.776471, 0.776471, 0.776471, 0.0 ],
"bordercolor" : [ 0.5, 0.5, 0.5, 0.5 ],
"patching_rect" : [ 8.0, 362.0, 244.0, 34.0 ],
"bgcolor" : [ 0.776471, 0.776471, 0.776471, 0.0 ],
"bordercolor" : [ 0.5, 0.5, 0.5, 0.5 ],
"patching_rect" : [ 8.0, 400.5, 150.0, 44.5 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.396078 ],
"bordercolor" : [ 1.0, 0.0, 0.0, 0.647059 ],
"patching_rect" : [ 120.25, 783.0, 235.25, 70.0 ],
"bgcolor" : [ 1.0, 1.0, 1.0, 0.396078 ],
"bordercolor" : [ 1.0, 0.0, 0.0, 0.647059 ],
"patching_rect" : [ 258.0, 358.75, 91.75, 97.0 ],
"bgcolor" : [ 0.415686, 0.239216, 0.109804, 1.0 ],
"checkedcolor" : [ 0.945098, 0.913725, 0.407843, 1.0 ],
"outlettype" : [ "int" ],
"patching_rect" : [ 750.5, 237.0, 34.0, 34.0 ],
"presentation_rect" : [ 462.75, 175.25, 39.5, 39.5 ]
"patching_rect" : [ 750.5, 340.0, 41.0, 32.0 ]
"patching_rect" : [ 593.0, 346.0, 112.0, 29.0 ],
"text" : "Labeling must be done with char output."
"bgcolor" : [ 0.776471, 0.776471, 0.776471, 0.0 ],
"bordercolor" : [ 0.5, 0.5, 0.5, 0.5 ],
"patching_rect" : [ 387.0, 340.0, 337.0, 38.0 ],
"patching_rect" : [ 555.0, 252.0, 150.0, 41.0 ],
"text" : "Convert to greyscale and threshold to obtain binary image."
"patching_rect" : [ 724.0, 426.0, 126.0, 110.0 ],
"text" : "The utility abstraction cv.jit.centroids.draw superimposes centroid and mass information on the image sent to its right inlet. The area of the green circles is the same as that of the underlying blob."
"outlettype" : [ "jit_matrix" ],
"patching_rect" : [ 397.0, 427.0, 205.0, 18.0 ],
"text" : "cv.jit.blobs.centroids.draw"
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 397.0, 388.0, 101.0, 18.0 ],
"text" : "cv.jit.blobs.centroids"
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 397.0, 350.0, 188.0, 18.0 ],
"text" : "cv.jit.label @charmode 1 @threshold 20"
"bgcolor" : [ 0.0, 0.0, 1.0, 0.05098 ],
"bordercolor" : [ 0.0, 0.0, 1.0, 0.733333 ],
"patching_rect" : [ 387.0, 384.0, 117.0, 26.0 ],
"outlettype" : [ "float", "bang" ],
"patching_rect" : [ 475.0, 253.0, 48.0, 18.0 ]
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 389.0, 298.0, 243.0, 18.0 ],
"text" : "cv.jit.threshold @mode 1 @radius 20 @threshold 20"
"maxclass" : "jit.fpsgui",
"outlettype" : [ "", "" ],
"patching_rect" : [ 567.0, 715.0, 80.0, 36.0 ]
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 389.0, 253.0, 62.0, 18.0 ],
"maxclass" : "jit.pwindow",
"outlettype" : [ "", "" ],
"patching_rect" : [ 397.0, 458.0, 320.0, 240.0 ],
"presentation_rect" : [ 452.5, 269.5, 320.0, 240.0 ]
"bgcolor" : [ 1.0, 1.0, 1.0, 0.396078 ],
"bordercolor" : [ 1.0, 0.0, 0.0, 0.647059 ],
"patching_rect" : [ 379.0, 414.75, 495.0, 355.25 ],
"patching_rect" : [ 475.0, 275.0, 64.0, 16.0 ],
"bgcolor" : [ 0.776471, 0.776471, 0.776471, 0.0 ],
"bordercolor" : [ 0.5, 0.5, 0.5, 0.5 ],
"patching_rect" : [ 379.0, 244.0, 329.0, 77.0 ],
"bgcolor" : [ 0.917647, 0.937255, 0.670588, 1.0 ],
"patching_rect" : [ 724.0, 192.0, 116.5, 34.0 ],
"presentation_rect" : [ 510.0, 185.0, 221.0, 20.0 ],
"text" : "show background greyscale as binary"
"bgcolor" : [ 0.278431, 0.921569, 0.639216, 1.0 ],
"patching_rect" : [ 106.0, 223.5, 150.0, 20.0 ],
"presentation_rect" : [ 296.75, 130.0, 145.5, 20.0 ],
"text" : "change video windows"
"outlettype" : [ "", "" ],
"patching_rect" : [ 226.0, 284.0, 39.0, 32.0 ]
"bgcolor" : [ 0.403922, 0.109804, 0.701961, 1.0 ],
"checkedcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outlettype" : [ "int" ],
"patching_rect" : [ 49.0, 223.5, 20.0, 20.0 ],
"presentation_rect" : [ 347.0, 160.0, 45.0, 45.0 ]
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 389.0, 127.0, 63.0, 20.0 ],
"patching_rect" : [ 205.0, 178.0, 150.0, 34.0 ],
"text" : "Open the camera when the patch loads"
"patching_rect" : [ 7.0, 48.0, 74.0, 34.0 ],
"text" : "start the metronome"
"patching_rect" : [ 7.0, 96.0, 170.0, 62.0 ],
"text" : "queque a metronome signal every 2 msecond to grab an DirectX video image from the Webcam"
"outlettype" : [ "bang" ],
"patching_rect" : [ 205.0, 150.0, 60.0, 20.0 ],
"patching_rect" : [ 389.0, 164.0, 156.0, 62.0 ],
"text" : "converts web camera analog signal to digital by digitizing the  video image with the grab funtcion"
"bgcolor" : [ 0.917647, 0.937255, 0.670588, 1.0 ],
"patching_rect" : [ 522.0, 35.0, 150.0, 20.0 ],
"presentation_rect" : [ 424.5, 32.0, 134.0, 20.0 ],
"text" : "Get Video Camera List"
"bgcolor" : [ 0.545098, 0.85098, 0.592157, 1.0 ],
"patching_rect" : [ 722.5, 61.0, 62.0, 20.0 ],
"presentation_rect" : [ 565.5, 32.0, 76.0, 20.0 ],
"bgcolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ],
"patching_rect" : [ 750.5, 120.0, 87.0, 34.0 ],
"presentation_rect" : [ 667.0, 32.0, 124.0, 20.0 ],
"text" : "Select video/webcam"
"bgcolor" : [ 0.827451, 0.737255, 0.835294, 1.0 ],
"patching_rect" : [ 413.0, 35.0, 93.0, 20.0 ],
"presentation_rect" : [ 323.0, 33.0, 93.0, 20.0 ],
"bgcolor" : [ 0.917647, 0.937255, 0.670588, 1.0 ],
"patching_rect" : [ 313.0, 35.0, 85.0, 20.0 ],
"presentation_rect" : [ 223.0, 33.0, 85.0, 20.0 ],
"bgcolor" : [ 0.047059, 0.913725, 0.913725, 1.0 ],
"patching_rect" : [ 147.0, 35.0, 150.0, 20.0 ],
"presentation_rect" : [ 75.5, 33.0, 127.0, 20.0 ],
"text" : "Start Capturing video"
"patching_rect" : [ 803.5, 61.0, 37.0, 18.0 ],
"presentation_rect" : [ 573.0, 78.0, 37.0, 18.0 ],
"bgcolor" : [ 0.960784, 0.439216, 0.478431, 1.0 ],
"bordercolor" : [ 0.211765, 0.066667, 0.12549, 1.0 ],
"checkedcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"outlettype" : [ "int" ],
"patching_rect" : [ 277.0, 66.0, 20.0, 20.0 ],
"presentation_rect" : [ 117.5, 65.5, 43.0, 43.0 ]
"outlettype" : [ "bang" ],
"patching_rect" : [ 258.0, 110.0, 58.0, 20.0 ],
"patching_rect" : [ 742.5, 167.0, 68.0, 18.0 ],
"patching_rect" : [ 636.5, 110.0, 98.0, 20.0 ],
"text" : "prepend append"
"patching_rect" : [ 620.5, 73.0, 27.0, 20.0 ],
"outlettype" : [ "", "" ],
"patching_rect" : [ 549.0, 110.0, 81.0, 20.0 ],
"text" : "route vdevlist"
"bgcolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ],
"items" : [ "HP Webcam", ",", "CyberLink Web Camera Filter" ],
"outlettype" : [ "int", "", "" ],
"patching_rect" : [ 740.5, 93.0, 100.0, 20.0 ],
"presentation_rect" : [ 634.0, 78.0, 152.0, 20.0 ]
"patching_rect" : [ 536.0, 66.0, 67.0, 18.0 ],
"presentation_rect" : [ 445.5, 78.0, 82.0, 18.0 ],
"patching_rect" : [ 413.0, 62.0, 39.0, 18.0 ],
"presentation_rect" : [ 337.0, 78.0, 39.0, 18.0 ],
"patching_rect" : [ 335.0, 62.0, 37.0, 18.0 ],
"presentation_rect" : [ 242.0, 78.0, 37.0, 18.0 ],
"destination" : [ "obj-19", 0 ],
"source" : [ "obj-10", 0 ]
"destination" : [ "obj-91", 1 ],
"source" : [ "obj-107", 0 ]
"destination" : [ "obj-107", 0 ],
"source" : [ "obj-108", 0 ]
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-14", 0 ]
"destination" : [ "obj-16", 0 ],
"source" : [ "obj-15", 0 ]
"destination" : [ "obj-10", 0 ],
"source" : [ "obj-16", 0 ]
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-2", 1 ]
"destination" : [ "obj-7", 1 ],
"source" : [ "obj-2", 0 ]
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-20", 0 ]
"destination" : [ "obj-20", 0 ],
"midpoints" : [ 286.5, 96.0, 267.5, 96.0 ],
"source" : [ "obj-21", 0 ]
"destination" : [ "obj-10", 0 ],
"source" : [ "obj-27", 0 ]
"destination" : [ "obj-107", 1 ],
"midpoints" : [ 25.5, 441.0, 120.0, 441.0, 120.0, 477.0, 140.75, 477.0 ],
"source" : [ "obj-29", 0 ]
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-29", 0 ]
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-3", 0 ]
"destination" : [ "obj-4", 0 ],
"midpoints" : [ 214.5, 171.0, 192.0, 171.0, 192.0, 96.0, 321.0, 96.0, 321.0, 57.0, 344.5, 57.0 ],
"source" : [ "obj-33", 0 ]
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-4", 0 ]
"destination" : [ "obj-67", 0 ],
"source" : [ "obj-50", 0 ]
"destination" : [ "obj-50", 0 ],
"source" : [ "obj-51", 0 ]
"destination" : [ "obj-51", 0 ],
"source" : [ "obj-52", 0 ]
"destination" : [ "obj-50", 1 ],
"source" : [ "obj-55", 0 ]
"destination" : [ "obj-55", 0 ],
"source" : [ "obj-56", 0 ]
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-6", 0 ]
"destination" : [ "obj-70", 0 ],
"source" : [ "obj-67", 0 ]
"destination" : [ "obj-71", 0 ],
"source" : [ "obj-69", 0 ]
"destination" : [ "obj-69", 0 ],
"source" : [ "obj-7", 1 ]
"destination" : [ "obj-96", 0 ],
"source" : [ "obj-7", 0 ]
"destination" : [ "obj-52", 0 ],
"source" : [ "obj-71", 0 ]
"destination" : [ "obj-55", 1 ],
"source" : [ "obj-71", 0 ]
"destination" : [ "obj-71", 0 ],
"midpoints" : [ 484.5, 294.0, 398.5, 294.0 ],
"source" : [ "obj-72", 0 ]
"destination" : [ "obj-72", 0 ],
"source" : [ "obj-74", 0 ]
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-76", 0 ]
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-77", 0 ]
"destination" : [ "obj-82", 0 ],
"midpoints" : [ 144.5, 481.0, 179.0, 481.0, 179.0, 457.0, 214.5, 457.0 ],
"source" : [ "obj-81", 0 ]
"destination" : [ "obj-92", 0 ],
"source" : [ "obj-87", 0 ]
"destination" : [ "obj-77", 0 ],
"source" : [ "obj-88", 0 ]
"destination" : [ "obj-91", 0 ],
"midpoints" : [ 283.5, 852.0, 3.0, 852.0, 3.0, 495.0, 25.5, 495.0 ],
"source" : [ "obj-89", 0 ]
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-9", 0 ]
"destination" : [ "obj-89", 0 ],
"source" : [ "obj-90", 0 ]
"destination" : [ "obj-97", 0 ],
"source" : [ "obj-91", 0 ]
"destination" : [ "obj-81", 0 ],
"midpoints" : [ 63.5, 486.0, 102.0, 486.0, 102.0, 452.0, 144.5, 452.0 ],
"source" : [ "obj-92", 1 ]
"destination" : [ "obj-91", 0 ],
"source" : [ "obj-92", 0 ]
"destination" : [ "obj-29", 0 ],
"source" : [ "obj-96", 0 ]
"destination" : [ "obj-95", 0 ],
"source" : [ "obj-97", 0 ]
"name" : "cv.jit.blobs.centroids.draw.maxpat",
"bootpath" : "\\Program Files (x86)\\Cycling '74\\Max 6.0\\Cycling '74\\cv.jit-support\\Abstractions",
"patcherrelativepath" : "..\\..\\..\\Program Files (x86)\\Cycling '74\\Max 6.0\\Cycling '74\\cv.jit-support\\Abstractions",
"name" : "cv.jit.faces.draw.maxpat",
"bootpath" : "\\Program Files (x86)\\Cycling '74\\Max 6.0\\Cycling '74\\cv.jit-support\\Abstractions",
"patcherrelativepath" : "..\\..\\..\\Program Files (x86)\\Cycling '74\\Max 6.0\\Cycling '74\\cv.jit-support\\Abstractions",
"name" : "cv.jit.threshold.mxe",
"name" : "cv.jit.label.mxe",
"name" : "cv.jit.blobs.centroids.mxe",
"name" : "cv.jit.faces.mxe",
"name" : "cv.jit.resize.mxe",