dan-masek

Vehicle Counter - Debug Log rev 1

Mar 28th, 2016
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 294.69 KB | None | 0 0
  1. 2016-03-29 04:34:17.108 DEBUG [main] Creating background subtractor...
  2. 2016-03-29 04:34:17.108 DEBUG [main] Initializing video capture device #images/frame_%04d.png...
  3. 2016-03-29 04:34:17.140 DEBUG [main] Video capture frame size=(w=0, h=0)
  4. 2016-03-29 04:34:17.140 DEBUG [main] Starting capture loop...
  5. 2016-03-29 04:34:17.140 DEBUG [main] Capturing frame #0...
  6. 2016-03-29 04:34:17.140 DEBUG [main] Got frame #0: shape=(120, 160, 3)
  7. 2016-03-29 04:34:17.140 DEBUG [main] Creating vehicle counter...
  8. 2016-03-29 04:34:17.140 DEBUG [main] Processing frame #0...
  9. 2016-03-29 04:34:17.140 DEBUG [root] Saving foreground mask for frame #0 as 'images/mask_0000.png'
  10. 2016-03-29 04:34:17.140 DEBUG [detect_vehicles] Found 0 vehicle contours.
  11. 2016-03-29 04:34:17.140 DEBUG [process_frame] No valid vehicle contours found.
  12. 2016-03-29 04:34:17.140 DEBUG [root] Saving processed frame #0 as 'images/processed_0000.png'
  13. 2016-03-29 04:34:17.154 DEBUG [main] Frame #0 processed.
  14. 2016-03-29 04:34:17.171 DEBUG [main] Capturing frame #1...
  15. 2016-03-29 04:34:17.171 DEBUG [main] Got frame #1: shape=(120, 160, 3)
  16. 2016-03-29 04:34:17.171 DEBUG [main] Processing frame #1...
  17. 2016-03-29 04:34:17.171 DEBUG [root] Saving foreground mask for frame #1 as 'images/mask_0001.png'
  18. 2016-03-29 04:34:17.171 DEBUG [detect_vehicles] Found 2 vehicle contours.
  19. 2016-03-29 04:34:17.171 DEBUG [detect_vehicles] Contour #0: pos=(x=156, y=1) size=(w=3, h=3) valid=False
  20. 2016-03-29 04:34:17.171 DEBUG [detect_vehicles] Contour #1: pos=(x=108, y=1) size=(w=8, h=5) valid=False
  21. 2016-03-29 04:34:17.171 DEBUG [process_frame] No valid vehicle contours found.
  22. 2016-03-29 04:34:17.171 DEBUG [root] Saving processed frame #1 as 'images/processed_0001.png'
  23. 2016-03-29 04:34:17.171 DEBUG [main] Frame #1 processed.
  24. 2016-03-29 04:34:17.186 DEBUG [main] Capturing frame #2...
  25. 2016-03-29 04:34:17.186 DEBUG [main] Got frame #2: shape=(120, 160, 3)
  26. 2016-03-29 04:34:17.186 DEBUG [main] Processing frame #2...
  27. 2016-03-29 04:34:17.186 DEBUG [root] Saving foreground mask for frame #2 as 'images/mask_0002.png'
  28. 2016-03-29 04:34:17.186 DEBUG [detect_vehicles] Found 2 vehicle contours.
  29. 2016-03-29 04:34:17.186 DEBUG [detect_vehicles] Contour #0: pos=(x=155, y=1) size=(w=4, h=3) valid=False
  30. 2016-03-29 04:34:17.186 DEBUG [detect_vehicles] Contour #1: pos=(x=107, y=1) size=(w=10, h=6) valid=False
  31. 2016-03-29 04:34:17.186 DEBUG [process_frame] No valid vehicle contours found.
  32. 2016-03-29 04:34:17.186 DEBUG [root] Saving processed frame #2 as 'images/processed_0002.png'
  33. 2016-03-29 04:34:17.186 DEBUG [main] Frame #2 processed.
  34. 2016-03-29 04:34:17.201 DEBUG [main] Capturing frame #3...
  35. 2016-03-29 04:34:17.201 DEBUG [main] Got frame #3: shape=(120, 160, 3)
  36. 2016-03-29 04:34:17.201 DEBUG [main] Processing frame #3...
  37. 2016-03-29 04:34:17.201 DEBUG [root] Saving foreground mask for frame #3 as 'images/mask_0003.png'
  38. 2016-03-29 04:34:17.201 DEBUG [detect_vehicles] Found 3 vehicle contours.
  39. 2016-03-29 04:34:17.201 DEBUG [detect_vehicles] Contour #0: pos=(x=108, y=7) size=(w=8, h=2) valid=False
  40. 2016-03-29 04:34:17.201 DEBUG [detect_vehicles] Contour #1: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  41. 2016-03-29 04:34:17.201 DEBUG [detect_vehicles] Contour #2: pos=(x=107, y=1) size=(w=10, h=4) valid=False
  42. 2016-03-29 04:34:17.201 DEBUG [process_frame] No valid vehicle contours found.
  43. 2016-03-29 04:34:17.201 DEBUG [root] Saving processed frame #3 as 'images/processed_0003.png'
  44. 2016-03-29 04:34:17.201 DEBUG [main] Frame #3 processed.
  45. 2016-03-29 04:34:17.217 DEBUG [main] Capturing frame #4...
  46. 2016-03-29 04:34:17.217 DEBUG [main] Got frame #4: shape=(120, 160, 3)
  47. 2016-03-29 04:34:17.217 DEBUG [main] Processing frame #4...
  48. 2016-03-29 04:34:17.217 DEBUG [root] Saving foreground mask for frame #4 as 'images/mask_0004.png'
  49. 2016-03-29 04:34:17.217 DEBUG [detect_vehicles] Found 3 vehicle contours.
  50. 2016-03-29 04:34:17.217 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=8) size=(w=10, h=2) valid=False
  51. 2016-03-29 04:34:17.217 DEBUG [detect_vehicles] Contour #1: pos=(x=108, y=2) size=(w=9, h=4) valid=False
  52. 2016-03-29 04:34:17.217 DEBUG [detect_vehicles] Contour #2: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  53. 2016-03-29 04:34:17.217 DEBUG [process_frame] No valid vehicle contours found.
  54. 2016-03-29 04:34:17.217 DEBUG [root] Saving processed frame #4 as 'images/processed_0004.png'
  55. 2016-03-29 04:34:17.217 DEBUG [main] Frame #4 processed.
  56. 2016-03-29 04:34:17.233 DEBUG [main] Capturing frame #5...
  57. 2016-03-29 04:34:17.233 DEBUG [main] Got frame #5: shape=(120, 160, 3)
  58. 2016-03-29 04:34:17.233 DEBUG [main] Processing frame #5...
  59. 2016-03-29 04:34:17.233 DEBUG [root] Saving foreground mask for frame #5 as 'images/mask_0005.png'
  60. 2016-03-29 04:34:17.233 DEBUG [detect_vehicles] Found 4 vehicle contours.
  61. 2016-03-29 04:34:17.233 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=10) size=(w=10, h=2) valid=False
  62. 2016-03-29 04:34:17.233 DEBUG [detect_vehicles] Contour #1: pos=(x=107, y=2) size=(w=10, h=6) valid=False
  63. 2016-03-29 04:34:17.233 DEBUG [detect_vehicles] Contour #2: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  64. 2016-03-29 04:34:17.233 DEBUG [detect_vehicles] Contour #3: pos=(x=111, y=1) size=(w=2, h=1) valid=False
  65. 2016-03-29 04:34:17.233 DEBUG [process_frame] No valid vehicle contours found.
  66. 2016-03-29 04:34:17.233 DEBUG [root] Saving processed frame #5 as 'images/processed_0005.png'
  67. 2016-03-29 04:34:17.233 DEBUG [main] Frame #5 processed.
  68. 2016-03-29 04:34:17.249 DEBUG [main] Capturing frame #6...
  69. 2016-03-29 04:34:17.249 DEBUG [main] Got frame #6: shape=(120, 160, 3)
  70. 2016-03-29 04:34:17.249 DEBUG [main] Processing frame #6...
  71. 2016-03-29 04:34:17.249 DEBUG [root] Saving foreground mask for frame #6 as 'images/mask_0006.png'
  72. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Found 5 vehicle contours.
  73. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=12) size=(w=10, h=2) valid=False
  74. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Contour #1: pos=(x=107, y=6) size=(w=10, h=3) valid=False
  75. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Contour #2: pos=(x=108, y=2) size=(w=8, h=3) valid=False
  76. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Contour #3: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  77. 2016-03-29 04:34:17.249 DEBUG [detect_vehicles] Contour #4: pos=(x=108, y=1) size=(w=2, h=1) valid=False
  78. 2016-03-29 04:34:17.249 DEBUG [process_frame] No valid vehicle contours found.
  79. 2016-03-29 04:34:17.249 DEBUG [root] Saving processed frame #6 as 'images/processed_0006.png'
  80. 2016-03-29 04:34:17.249 DEBUG [main] Frame #6 processed.
  81. 2016-03-29 04:34:17.265 DEBUG [main] Capturing frame #7...
  82. 2016-03-29 04:34:17.265 DEBUG [main] Got frame #7: shape=(120, 160, 3)
  83. 2016-03-29 04:34:17.265 DEBUG [main] Processing frame #7...
  84. 2016-03-29 04:34:17.265 DEBUG [root] Saving foreground mask for frame #7 as 'images/mask_0007.png'
  85. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Found 5 vehicle contours.
  86. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=13) size=(w=11, h=3) valid=False
  87. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Contour #1: pos=(x=107, y=8) size=(w=10, h=3) valid=False
  88. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Contour #2: pos=(x=106, y=7) size=(w=1, h=1) valid=False
  89. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=3) size=(w=8, h=2) valid=False
  90. 2016-03-29 04:34:17.265 DEBUG [detect_vehicles] Contour #4: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  91. 2016-03-29 04:34:17.265 DEBUG [process_frame] No valid vehicle contours found.
  92. 2016-03-29 04:34:17.265 DEBUG [root] Saving processed frame #7 as 'images/processed_0007.png'
  93. 2016-03-29 04:34:17.265 DEBUG [main] Frame #7 processed.
  94. 2016-03-29 04:34:17.279 DEBUG [main] Capturing frame #8...
  95. 2016-03-29 04:34:17.279 DEBUG [main] Got frame #8: shape=(120, 160, 3)
  96. 2016-03-29 04:34:17.279 DEBUG [main] Processing frame #8...
  97. 2016-03-29 04:34:17.279 DEBUG [root] Saving foreground mask for frame #8 as 'images/mask_0008.png'
  98. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Found 6 vehicle contours.
  99. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=15) size=(w=12, h=3) valid=False
  100. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #1: pos=(x=107, y=10) size=(w=10, h=3) valid=False
  101. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #2: pos=(x=108, y=6) size=(w=3, h=1) valid=False
  102. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=5) size=(w=3, h=2) valid=False
  103. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #4: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  104. 2016-03-29 04:34:17.279 DEBUG [detect_vehicles] Contour #5: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  105. 2016-03-29 04:34:17.279 DEBUG [process_frame] No valid vehicle contours found.
  106. 2016-03-29 04:34:17.279 DEBUG [root] Saving processed frame #8 as 'images/processed_0008.png'
  107. 2016-03-29 04:34:17.279 DEBUG [main] Frame #8 processed.
  108. 2016-03-29 04:34:17.296 DEBUG [main] Capturing frame #9...
  109. 2016-03-29 04:34:17.296 DEBUG [main] Got frame #9: shape=(120, 160, 3)
  110. 2016-03-29 04:34:17.296 DEBUG [main] Processing frame #9...
  111. 2016-03-29 04:34:17.296 DEBUG [root] Saving foreground mask for frame #9 as 'images/mask_0009.png'
  112. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Found 5 vehicle contours.
  113. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=17) size=(w=12, h=4) valid=False
  114. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Contour #1: pos=(x=106, y=12) size=(w=12, h=4) valid=False
  115. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Contour #2: pos=(x=108, y=7) size=(w=8, h=2) valid=False
  116. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=3) size=(w=8, h=2) valid=False
  117. 2016-03-29 04:34:17.296 DEBUG [detect_vehicles] Contour #4: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  118. 2016-03-29 04:34:17.296 DEBUG [process_frame] No valid vehicle contours found.
  119. 2016-03-29 04:34:17.296 DEBUG [root] Saving processed frame #9 as 'images/processed_0009.png'
  120. 2016-03-29 04:34:17.296 DEBUG [main] Frame #9 processed.
  121. 2016-03-29 04:34:17.311 DEBUG [main] Capturing frame #10...
  122. 2016-03-29 04:34:17.311 DEBUG [main] Got frame #10: shape=(120, 160, 3)
  123. 2016-03-29 04:34:17.311 DEBUG [main] Processing frame #10...
  124. 2016-03-29 04:34:17.311 DEBUG [root] Saving foreground mask for frame #10 as 'images/mask_0010.png'
  125. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Found 5 vehicle contours.
  126. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=20) size=(w=12, h=4) valid=False
  127. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Contour #1: pos=(x=106, y=14) size=(w=12, h=4) valid=False
  128. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Contour #2: pos=(x=108, y=9) size=(w=8, h=2) valid=False
  129. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=3) size=(w=8, h=2) valid=False
  130. 2016-03-29 04:34:17.311 DEBUG [detect_vehicles] Contour #4: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  131. 2016-03-29 04:34:17.311 DEBUG [process_frame] No valid vehicle contours found.
  132. 2016-03-29 04:34:17.311 DEBUG [root] Saving processed frame #10 as 'images/processed_0010.png'
  133. 2016-03-29 04:34:17.311 DEBUG [main] Frame #10 processed.
  134. 2016-03-29 04:34:17.326 DEBUG [main] Capturing frame #11...
  135. 2016-03-29 04:34:17.326 DEBUG [main] Got frame #11: shape=(120, 160, 3)
  136. 2016-03-29 04:34:17.326 DEBUG [main] Processing frame #11...
  137. 2016-03-29 04:34:17.326 DEBUG [root] Saving foreground mask for frame #11 as 'images/mask_0011.png'
  138. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Found 8 vehicle contours.
  139. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=22) size=(w=13, h=5) valid=False
  140. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #1: pos=(x=115, y=22) size=(w=1, h=1) valid=False
  141. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #2: pos=(x=106, y=22) size=(w=1, h=1) valid=False
  142. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #3: pos=(x=106, y=17) size=(w=12, h=4) valid=False
  143. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #4: pos=(x=118, y=15) size=(w=1, h=1) valid=False
  144. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #5: pos=(x=108, y=11) size=(w=8, h=2) valid=False
  145. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #6: pos=(x=108, y=3) size=(w=8, h=2) valid=False
  146. 2016-03-29 04:34:17.326 DEBUG [detect_vehicles] Contour #7: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  147. 2016-03-29 04:34:17.326 DEBUG [process_frame] No valid vehicle contours found.
  148. 2016-03-29 04:34:17.326 DEBUG [root] Saving processed frame #11 as 'images/processed_0011.png'
  149. 2016-03-29 04:34:17.326 DEBUG [main] Frame #11 processed.
  150. 2016-03-29 04:34:17.342 DEBUG [main] Capturing frame #12...
  151. 2016-03-29 04:34:17.342 DEBUG [main] Got frame #12: shape=(120, 160, 3)
  152. 2016-03-29 04:34:17.342 DEBUG [main] Processing frame #12...
  153. 2016-03-29 04:34:17.342 DEBUG [root] Saving foreground mask for frame #12 as 'images/mask_0012.png'
  154. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Found 7 vehicle contours.
  155. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #0: pos=(x=105, y=25) size=(w=14, h=5) valid=False
  156. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #1: pos=(x=105, y=19) size=(w=14, h=5) valid=False
  157. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=17) size=(w=1, h=1) valid=False
  158. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=13) size=(w=8, h=3) valid=False
  159. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #4: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  160. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #5: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  161. 2016-03-29 04:34:17.342 DEBUG [detect_vehicles] Contour #6: pos=(x=112, y=1) size=(w=6, h=1) valid=False
  162. 2016-03-29 04:34:17.342 DEBUG [process_frame] No valid vehicle contours found.
  163. 2016-03-29 04:34:17.342 DEBUG [root] Saving processed frame #12 as 'images/processed_0012.png'
  164. 2016-03-29 04:34:17.342 DEBUG [main] Frame #12 processed.
  165. 2016-03-29 04:34:17.358 DEBUG [main] Capturing frame #13...
  166. 2016-03-29 04:34:17.358 DEBUG [main] Got frame #13: shape=(120, 160, 3)
  167. 2016-03-29 04:34:17.358 DEBUG [main] Processing frame #13...
  168. 2016-03-29 04:34:17.358 DEBUG [root] Saving foreground mask for frame #13 as 'images/mask_0013.png'
  169. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Found 5 vehicle contours.
  170. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Contour #0: pos=(x=105, y=21) size=(w=15, h=13) valid=False
  171. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Contour #1: pos=(x=114, y=20) size=(w=1, h=1) valid=False
  172. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Contour #2: pos=(x=107, y=15) size=(w=10, h=3) valid=False
  173. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=2) size=(w=11, h=2) valid=False
  174. 2016-03-29 04:34:17.358 DEBUG [detect_vehicles] Contour #4: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  175. 2016-03-29 04:34:17.358 DEBUG [process_frame] No valid vehicle contours found.
  176. 2016-03-29 04:34:17.358 DEBUG [root] Saving processed frame #13 as 'images/processed_0013.png'
  177. 2016-03-29 04:34:17.358 DEBUG [main] Frame #13 processed.
  178. 2016-03-29 04:34:17.374 DEBUG [main] Capturing frame #14...
  179. 2016-03-29 04:34:17.374 DEBUG [main] Got frame #14: shape=(120, 160, 3)
  180. 2016-03-29 04:34:17.374 DEBUG [main] Processing frame #14...
  181. 2016-03-29 04:34:17.374 DEBUG [root] Saving foreground mask for frame #14 as 'images/mask_0014.png'
  182. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Found 8 vehicle contours.
  183. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #0: pos=(x=104, y=24) size=(w=16, h=14) valid=False
  184. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #1: pos=(x=104, y=24) size=(w=1, h=1) valid=False
  185. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=23) size=(w=1, h=1) valid=False
  186. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #3: pos=(x=107, y=18) size=(w=10, h=4) valid=False
  187. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #4: pos=(x=108, y=3) size=(w=4, h=1) valid=False
  188. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #5: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  189. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #6: pos=(x=115, y=1) size=(w=4, h=3) valid=False
  190. 2016-03-29 04:34:17.374 DEBUG [detect_vehicles] Contour #7: pos=(x=112, y=1) size=(w=2, h=1) valid=False
  191. 2016-03-29 04:34:17.374 DEBUG [process_frame] No valid vehicle contours found.
  192. 2016-03-29 04:34:17.374 DEBUG [root] Saving processed frame #14 as 'images/processed_0014.png'
  193. 2016-03-29 04:34:17.374 DEBUG [main] Frame #14 processed.
  194. 2016-03-29 04:34:17.390 DEBUG [main] Capturing frame #15...
  195. 2016-03-29 04:34:17.390 DEBUG [main] Got frame #15: shape=(120, 160, 3)
  196. 2016-03-29 04:34:17.390 DEBUG [main] Processing frame #15...
  197. 2016-03-29 04:34:17.390 DEBUG [root] Saving foreground mask for frame #15 as 'images/mask_0015.png'
  198. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Found 9 vehicle contours.
  199. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #0: pos=(x=104, y=38) size=(w=16, h=5) valid=False
  200. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #1: pos=(x=118, y=37) size=(w=2, h=1) valid=False
  201. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #2: pos=(x=104, y=37) size=(w=1, h=1) valid=False
  202. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #3: pos=(x=104, y=27) size=(w=17, h=9) valid=False
  203. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=26) size=(w=1, h=2) valid=False
  204. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #5: pos=(x=119, y=24) size=(w=1, h=2) valid=False
  205. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #6: pos=(x=107, y=21) size=(w=10, h=4) valid=False
  206. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #7: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  207. 2016-03-29 04:34:17.390 DEBUG [detect_vehicles] Contour #8: pos=(x=108, y=1) size=(w=12, h=5) valid=False
  208. 2016-03-29 04:34:17.390 DEBUG [process_frame] No valid vehicle contours found.
  209. 2016-03-29 04:34:17.390 DEBUG [root] Saving processed frame #15 as 'images/processed_0015.png'
  210. 2016-03-29 04:34:17.390 DEBUG [main] Frame #15 processed.
  211. 2016-03-29 04:34:17.404 DEBUG [main] Capturing frame #16...
  212. 2016-03-29 04:34:17.404 DEBUG [main] Got frame #16: shape=(120, 160, 3)
  213. 2016-03-29 04:34:17.404 DEBUG [main] Processing frame #16...
  214. 2016-03-29 04:34:17.404 DEBUG [root] Saving foreground mask for frame #16 as 'images/mask_0016.png'
  215. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Found 12 vehicle contours.
  216. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #0: pos=(x=119, y=42) size=(w=2, h=1) valid=False
  217. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #1: pos=(x=103, y=42) size=(w=18, h=7) valid=False
  218. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #2: pos=(x=103, y=42) size=(w=1, h=1) valid=False
  219. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #3: pos=(x=103, y=33) size=(w=18, h=8) valid=False
  220. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #4: pos=(x=103, y=32) size=(w=1, h=1) valid=False
  221. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #5: pos=(x=120, y=31) size=(w=1, h=2) valid=False
  222. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=30) size=(w=1, h=1) valid=False
  223. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #7: pos=(x=105, y=29) size=(w=1, h=1) valid=False
  224. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #8: pos=(x=119, y=28) size=(w=1, h=1) valid=False
  225. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #9: pos=(x=106, y=24) size=(w=12, h=5) valid=False
  226. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #10: pos=(x=108, y=2) size=(w=12, h=5) valid=False
  227. 2016-03-29 04:34:17.404 DEBUG [detect_vehicles] Contour #11: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  228. 2016-03-29 04:34:17.404 DEBUG [process_frame] No valid vehicle contours found.
  229. 2016-03-29 04:34:17.404 DEBUG [root] Saving processed frame #16 as 'images/processed_0016.png'
  230. 2016-03-29 04:34:17.404 DEBUG [main] Frame #16 processed.
  231. 2016-03-29 04:34:17.421 DEBUG [main] Capturing frame #17...
  232. 2016-03-29 04:34:17.421 DEBUG [main] Got frame #17: shape=(120, 160, 3)
  233. 2016-03-29 04:34:17.421 DEBUG [main] Processing frame #17...
  234. 2016-03-29 04:34:17.421 DEBUG [root] Saving foreground mask for frame #17 as 'images/mask_0017.png'
  235. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Found 11 vehicle contours.
  236. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #0: pos=(x=103, y=47) size=(w=19, h=8) valid=False
  237. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #1: pos=(x=103, y=38) size=(w=19, h=9) valid=False
  238. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #2: pos=(x=102, y=37) size=(w=1, h=1) valid=False
  239. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #3: pos=(x=121, y=36) size=(w=1, h=2) valid=False
  240. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #4: pos=(x=104, y=35) size=(w=1, h=2) valid=False
  241. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #5: pos=(x=103, y=33) size=(w=1, h=1) valid=False
  242. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #6: pos=(x=120, y=32) size=(w=1, h=2) valid=False
  243. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #7: pos=(x=106, y=28) size=(w=12, h=5) valid=False
  244. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=7) size=(w=8, h=2) valid=False
  245. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #9: pos=(x=108, y=3) size=(w=12, h=3) valid=False
  246. 2016-03-29 04:34:17.421 DEBUG [detect_vehicles] Contour #10: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  247. 2016-03-29 04:34:17.421 DEBUG [process_frame] No valid vehicle contours found.
  248. 2016-03-29 04:34:17.421 DEBUG [root] Saving processed frame #17 as 'images/processed_0017.png'
  249. 2016-03-29 04:34:17.421 DEBUG [main] Frame #17 processed.
  250. 2016-03-29 04:34:17.436 DEBUG [main] Capturing frame #18...
  251. 2016-03-29 04:34:17.436 DEBUG [main] Got frame #18: shape=(120, 160, 3)
  252. 2016-03-29 04:34:17.436 DEBUG [main] Processing frame #18...
  253. 2016-03-29 04:34:17.436 DEBUG [root] Saving foreground mask for frame #18 as 'images/mask_0018.png'
  254. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Found 9 vehicle contours.
  255. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=43) size=(w=2, h=1) valid=False
  256. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #1: pos=(x=101, y=42) size=(w=1, h=1) valid=False
  257. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #2: pos=(x=120, y=38) size=(w=3, h=5) valid=False
  258. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #3: pos=(x=102, y=33) size=(w=21, h=30) valid=True
  259. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=8) size=(w=9, h=2) valid=False
  260. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #5: pos=(x=108, y=3) size=(w=12, h=5) valid=False
  261. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #6: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  262. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #7: pos=(x=116, y=1) size=(w=2, h=2) valid=False
  263. 2016-03-29 04:34:17.436 DEBUG [detect_vehicles] Contour #8: pos=(x=99, y=1) size=(w=7, h=1) valid=False
  264. 2016-03-29 04:34:17.436 DEBUG [process_frame] Found 1 valid vehicle contours.
  265. 2016-03-29 04:34:17.436 DEBUG [process_frame] Valid vehicle contour #0: centroid=(102, 33, 21, 30), bounding_box=(112, 48)
  266. 2016-03-29 04:34:17.436 DEBUG [process_frame] Updating vehicle count...
  267. 2016-03-29 04:34:17.436 DEBUG [vehicle_counter] Updating count using 1 matches...
  268. 2016-03-29 04:34:17.436 DEBUG [root] Saving processed frame #18 as 'images/processed_0018.png'
  269. 2016-03-29 04:34:17.436 DEBUG [main] Frame #18 processed.
  270. 2016-03-29 04:34:17.451 DEBUG [main] Capturing frame #19...
  271. 2016-03-29 04:34:17.451 DEBUG [main] Got frame #19: shape=(120, 160, 3)
  272. 2016-03-29 04:34:17.451 DEBUG [main] Processing frame #19...
  273. 2016-03-29 04:34:17.451 DEBUG [root] Saving foreground mask for frame #19 as 'images/mask_0019.png'
  274. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Found 13 vehicle contours.
  275. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #0: pos=(x=101, y=66) size=(w=21, h=6) valid=False
  276. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #1: pos=(x=99, y=63) size=(w=1, h=2) valid=False
  277. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=50) size=(w=2, h=1) valid=False
  278. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #3: pos=(x=106, y=48) size=(w=2, h=2) valid=False
  279. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #4: pos=(x=101, y=47) size=(w=1, h=1) valid=False
  280. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #5: pos=(x=102, y=42) size=(w=2, h=6) valid=False
  281. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #6: pos=(x=101, y=41) size=(w=23, h=25) valid=True
  282. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #7: pos=(x=104, y=37) size=(w=16, h=7) valid=False
  283. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=10) size=(w=9, h=2) valid=False
  284. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #9: pos=(x=112, y=6) size=(w=8, h=3) valid=False
  285. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #10: pos=(x=108, y=2) size=(w=11, h=2) valid=False
  286. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #11: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  287. 2016-03-29 04:34:17.451 DEBUG [detect_vehicles] Contour #12: pos=(x=98, y=1) size=(w=8, h=3) valid=False
  288. 2016-03-29 04:34:17.451 DEBUG [process_frame] Found 1 valid vehicle contours.
  289. 2016-03-29 04:34:17.451 DEBUG [process_frame] Valid vehicle contour #0: centroid=(101, 41, 23, 25), bounding_box=(112, 53)
  290. 2016-03-29 04:34:17.451 DEBUG [process_frame] Updating vehicle count...
  291. 2016-03-29 04:34:17.451 DEBUG [vehicle_counter] Updating count using 1 matches...
  292. 2016-03-29 04:34:17.451 DEBUG [root] Saving processed frame #19 as 'images/processed_0019.png'
  293. 2016-03-29 04:34:17.451 DEBUG [main] Frame #19 processed.
  294. 2016-03-29 04:34:17.467 DEBUG [main] Capturing frame #20...
  295. 2016-03-29 04:34:17.467 DEBUG [main] Got frame #20: shape=(120, 160, 3)
  296. 2016-03-29 04:34:17.467 DEBUG [main] Processing frame #20...
  297. 2016-03-29 04:34:17.467 DEBUG [root] Saving foreground mask for frame #20 as 'images/mask_0020.png'
  298. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Found 15 vehicle contours.
  299. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #0: pos=(x=106, y=58) size=(w=3, h=1) valid=False
  300. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #1: pos=(x=103, y=58) size=(w=1, h=1) valid=False
  301. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=57) size=(w=3, h=2) valid=False
  302. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #3: pos=(x=98, y=56) size=(w=1, h=1) valid=False
  303. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #4: pos=(x=116, y=55) size=(w=1, h=1) valid=False
  304. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #5: pos=(x=106, y=54) size=(w=2, h=3) valid=False
  305. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #6: pos=(x=101, y=50) size=(w=3, h=6) valid=False
  306. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #7: pos=(x=99, y=48) size=(w=26, h=35) valid=True
  307. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #8: pos=(x=121, y=46) size=(w=1, h=1) valid=False
  308. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #9: pos=(x=102, y=43) size=(w=19, h=8) valid=False
  309. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #10: pos=(x=112, y=12) size=(w=9, h=2) valid=False
  310. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #11: pos=(x=112, y=8) size=(w=9, h=3) valid=False
  311. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #12: pos=(x=108, y=3) size=(w=11, h=2) valid=False
  312. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #13: pos=(x=97, y=2) size=(w=9, h=3) valid=False
  313. 2016-03-29 04:34:17.467 DEBUG [detect_vehicles] Contour #14: pos=(x=154, y=1) size=(w=5, h=3) valid=False
  314. 2016-03-29 04:34:17.467 DEBUG [process_frame] Found 1 valid vehicle contours.
  315. 2016-03-29 04:34:17.467 DEBUG [process_frame] Valid vehicle contour #0: centroid=(99, 48, 26, 35), bounding_box=(112, 65)
  316. 2016-03-29 04:34:17.467 DEBUG [process_frame] Updating vehicle count...
  317. 2016-03-29 04:34:17.467 DEBUG [vehicle_counter] Updating count using 1 matches...
  318. 2016-03-29 04:34:17.467 DEBUG [root] Saving processed frame #20 as 'images/processed_0020.png'
  319. 2016-03-29 04:34:17.467 DEBUG [main] Frame #20 processed.
  320. 2016-03-29 04:34:17.483 DEBUG [main] Capturing frame #21...
  321. 2016-03-29 04:34:17.483 DEBUG [main] Got frame #21: shape=(120, 160, 3)
  322. 2016-03-29 04:34:17.483 DEBUG [main] Processing frame #21...
  323. 2016-03-29 04:34:17.483 DEBUG [root] Saving foreground mask for frame #21 as 'images/mask_0021.png'
  324. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Found 16 vehicle contours.
  325. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #0: pos=(x=96, y=77) size=(w=1, h=5) valid=False
  326. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #1: pos=(x=126, y=70) size=(w=1, h=1) valid=False
  327. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #2: pos=(x=103, y=68) size=(w=1, h=1) valid=False
  328. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #3: pos=(x=107, y=66) size=(w=1, h=1) valid=False
  329. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #4: pos=(x=116, y=64) size=(w=1, h=1) valid=False
  330. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #5: pos=(x=106, y=63) size=(w=1, h=1) valid=False
  331. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #6: pos=(x=119, y=61) size=(w=1, h=1) valid=False
  332. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #7: pos=(x=108, y=61) size=(w=2, h=1) valid=False
  333. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #8: pos=(x=96, y=49) size=(w=31, h=49) valid=True
  334. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #9: pos=(x=112, y=14) size=(w=10, h=2) valid=False
  335. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #10: pos=(x=112, y=9) size=(w=9, h=4) valid=False
  336. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #11: pos=(x=108, y=3) size=(w=11, h=3) valid=False
  337. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #12: pos=(x=97, y=3) size=(w=9, h=4) valid=False
  338. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #13: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  339. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #14: pos=(x=109, y=1) size=(w=1, h=1) valid=False
  340. 2016-03-29 04:34:17.483 DEBUG [detect_vehicles] Contour #15: pos=(x=98, y=1) size=(w=7, h=1) valid=False
  341. 2016-03-29 04:34:17.483 DEBUG [process_frame] Found 1 valid vehicle contours.
  342. 2016-03-29 04:34:17.483 DEBUG [process_frame] Valid vehicle contour #0: centroid=(96, 49, 31, 49), bounding_box=(111, 73)
  343. 2016-03-29 04:34:17.483 DEBUG [process_frame] Updating vehicle count...
  344. 2016-03-29 04:34:17.483 DEBUG [vehicle_counter] Updating count using 1 matches...
  345. 2016-03-29 04:34:17.483 DEBUG [root] Saving processed frame #21 as 'images/processed_0021.png'
  346. 2016-03-29 04:34:17.483 DEBUG [main] Frame #21 processed.
  347. 2016-03-29 04:34:17.499 DEBUG [main] Capturing frame #22...
  348. 2016-03-29 04:34:17.499 DEBUG [main] Got frame #22: shape=(120, 160, 3)
  349. 2016-03-29 04:34:17.499 DEBUG [main] Processing frame #22...
  350. 2016-03-29 04:34:17.499 DEBUG [root] Saving foreground mask for frame #22 as 'images/mask_0022.png'
  351. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Found 11 vehicle contours.
  352. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #0: pos=(x=94, y=100) size=(w=2, h=4) valid=False
  353. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #1: pos=(x=94, y=94) size=(w=1, h=4) valid=False
  354. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #2: pos=(x=94, y=88) size=(w=1, h=3) valid=False
  355. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #3: pos=(x=95, y=57) size=(w=33, h=58) valid=True
  356. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=16) size=(w=10, h=3) valid=False
  357. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=11) size=(w=10, h=4) valid=False
  358. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=6) size=(w=6, h=2) valid=False
  359. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #7: pos=(x=96, y=5) size=(w=10, h=3) valid=False
  360. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #8: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  361. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #9: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  362. 2016-03-29 04:34:17.499 DEBUG [detect_vehicles] Contour #10: pos=(x=96, y=1) size=(w=8, h=3) valid=False
  363. 2016-03-29 04:34:17.499 DEBUG [process_frame] Found 1 valid vehicle contours.
  364. 2016-03-29 04:34:17.499 DEBUG [process_frame] Valid vehicle contour #0: centroid=(95, 57, 33, 58), bounding_box=(111, 86)
  365. 2016-03-29 04:34:17.499 DEBUG [process_frame] Updating vehicle count...
  366. 2016-03-29 04:34:17.499 DEBUG [vehicle_counter] Updating count using 1 matches...
  367. 2016-03-29 04:34:17.499 DEBUG [root] Saving processed frame #22 as 'images/processed_0022.png'
  368. 2016-03-29 04:34:17.499 DEBUG [main] Frame #22 processed.
  369. 2016-03-29 04:34:17.515 DEBUG [main] Capturing frame #23...
  370. 2016-03-29 04:34:17.515 DEBUG [main] Got frame #23: shape=(120, 160, 3)
  371. 2016-03-29 04:34:17.515 DEBUG [main] Processing frame #23...
  372. 2016-03-29 04:34:17.515 DEBUG [root] Saving foreground mask for frame #23 as 'images/mask_0023.png'
  373. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Found 11 vehicle contours.
  374. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #0: pos=(x=91, y=116) size=(w=1, h=3) valid=False
  375. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #1: pos=(x=91, y=109) size=(w=1, h=1) valid=False
  376. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #2: pos=(x=93, y=89) size=(w=1, h=1) valid=False
  377. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #3: pos=(x=92, y=67) size=(w=38, h=52) valid=True
  378. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=18) size=(w=11, h=3) valid=False
  379. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=13) size=(w=10, h=5) valid=False
  380. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=8) size=(w=6, h=2) valid=False
  381. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #7: pos=(x=95, y=6) size=(w=10, h=4) valid=False
  382. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #8: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  383. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #9: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  384. 2016-03-29 04:34:17.515 DEBUG [detect_vehicles] Contour #10: pos=(x=96, y=1) size=(w=9, h=4) valid=False
  385. 2016-03-29 04:34:17.515 DEBUG [process_frame] Found 1 valid vehicle contours.
  386. 2016-03-29 04:34:17.515 DEBUG [process_frame] Valid vehicle contour #0: centroid=(92, 67, 38, 52), bounding_box=(111, 93)
  387. 2016-03-29 04:34:17.515 DEBUG [process_frame] Updating vehicle count...
  388. 2016-03-29 04:34:17.515 DEBUG [vehicle_counter] Updating count using 1 matches...
  389. 2016-03-29 04:34:17.515 DEBUG [root] Saving processed frame #23 as 'images/processed_0023.png'
  390. 2016-03-29 04:34:17.515 DEBUG [main] Frame #23 processed.
  391. 2016-03-29 04:34:17.529 DEBUG [main] Capturing frame #24...
  392. 2016-03-29 04:34:17.529 DEBUG [main] Got frame #24: shape=(120, 160, 3)
  393. 2016-03-29 04:34:17.529 DEBUG [main] Processing frame #24...
  394. 2016-03-29 04:34:17.529 DEBUG [root] Saving foreground mask for frame #24 as 'images/mask_0024.png'
  395. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Found 20 vehicle contours.
  396. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=118) size=(w=3, h=1) valid=False
  397. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #1: pos=(x=103, y=114) size=(w=2, h=1) valid=False
  398. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #2: pos=(x=131, y=109) size=(w=1, h=1) valid=False
  399. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #3: pos=(x=104, y=108) size=(w=3, h=5) valid=False
  400. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #4: pos=(x=90, y=107) size=(w=1, h=1) valid=False
  401. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #5: pos=(x=120, y=106) size=(w=4, h=5) valid=False
  402. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #6: pos=(x=113, y=103) size=(w=2, h=1) valid=False
  403. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #7: pos=(x=110, y=103) size=(w=2, h=1) valid=False
  404. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #8: pos=(x=89, y=78) size=(w=44, h=41) valid=True
  405. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #9: pos=(x=112, y=21) size=(w=12, h=3) valid=False
  406. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #10: pos=(x=112, y=16) size=(w=11, h=3) valid=False
  407. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #11: pos=(x=123, y=14) size=(w=1, h=1) valid=False
  408. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #12: pos=(x=118, y=13) size=(w=1, h=1) valid=False
  409. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=10) size=(w=7, h=2) valid=False
  410. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #14: pos=(x=94, y=8) size=(w=11, h=4) valid=False
  411. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #15: pos=(x=105, y=6) size=(w=1, h=1) valid=False
  412. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #16: pos=(x=95, y=6) size=(w=8, h=1) valid=False
  413. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #17: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  414. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #18: pos=(x=95, y=3) size=(w=9, h=2) valid=False
  415. 2016-03-29 04:34:17.529 DEBUG [detect_vehicles] Contour #19: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  416. 2016-03-29 04:34:17.529 DEBUG [process_frame] Found 1 valid vehicle contours.
  417. 2016-03-29 04:34:17.529 DEBUG [process_frame] Valid vehicle contour #0: centroid=(89, 78, 44, 41), bounding_box=(111, 98)
  418. 2016-03-29 04:34:17.529 DEBUG [process_frame] Updating vehicle count...
  419. 2016-03-29 04:34:17.529 DEBUG [vehicle_counter] Updating count using 1 matches...
  420. 2016-03-29 04:34:17.529 DEBUG [root] Saving processed frame #24 as 'images/processed_0024.png'
  421. 2016-03-29 04:34:17.529 DEBUG [main] Frame #24 processed.
  422. 2016-03-29 04:34:17.546 DEBUG [main] Capturing frame #25...
  423. 2016-03-29 04:34:17.546 DEBUG [main] Got frame #25: shape=(120, 160, 3)
  424. 2016-03-29 04:34:17.546 DEBUG [main] Processing frame #25...
  425. 2016-03-29 04:34:17.546 DEBUG [root] Saving foreground mask for frame #25 as 'images/mask_0025.png'
  426. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Found 10 vehicle contours.
  427. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #0: pos=(x=126, y=116) size=(w=1, h=3) valid=False
  428. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #1: pos=(x=90, y=93) size=(w=41, h=26) valid=True
  429. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=24) size=(w=12, h=3) valid=False
  430. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=18) size=(w=11, h=4) valid=False
  431. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=12) size=(w=7, h=2) valid=False
  432. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #5: pos=(x=94, y=10) size=(w=11, h=4) valid=False
  433. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #6: pos=(x=94, y=4) size=(w=10, h=5) valid=False
  434. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #7: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  435. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #8: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  436. 2016-03-29 04:34:17.546 DEBUG [detect_vehicles] Contour #9: pos=(x=95, y=1) size=(w=2, h=1) valid=False
  437. 2016-03-29 04:34:17.546 DEBUG [process_frame] Found 1 valid vehicle contours.
  438. 2016-03-29 04:34:17.546 DEBUG [process_frame] Valid vehicle contour #0: centroid=(90, 93, 41, 26), bounding_box=(110, 106)
  439. 2016-03-29 04:34:17.546 DEBUG [process_frame] Updating vehicle count...
  440. 2016-03-29 04:34:17.546 DEBUG [vehicle_counter] Updating count using 1 matches...
  441. 2016-03-29 04:34:17.546 DEBUG [root] Saving processed frame #25 as 'images/processed_0025.png'
  442. 2016-03-29 04:34:17.546 DEBUG [main] Frame #25 processed.
  443. 2016-03-29 04:34:17.561 DEBUG [main] Capturing frame #26...
  444. 2016-03-29 04:34:17.561 DEBUG [main] Got frame #26: shape=(120, 160, 3)
  445. 2016-03-29 04:34:17.561 DEBUG [main] Processing frame #26...
  446. 2016-03-29 04:34:17.561 DEBUG [root] Saving foreground mask for frame #26 as 'images/mask_0026.png'
  447. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Found 14 vehicle contours.
  448. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #0: pos=(x=92, y=112) size=(w=36, h=7) valid=False
  449. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=27) size=(w=13, h=3) valid=False
  450. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=26) size=(w=1, h=1) valid=False
  451. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=21) size=(w=12, h=4) valid=False
  452. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #4: pos=(x=124, y=19) size=(w=1, h=1) valid=False
  453. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #5: pos=(x=119, y=18) size=(w=1, h=1) valid=False
  454. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=14) size=(w=8, h=3) valid=False
  455. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #7: pos=(x=93, y=12) size=(w=11, h=4) valid=False
  456. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #8: pos=(x=104, y=9) size=(w=1, h=2) valid=False
  457. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #9: pos=(x=93, y=5) size=(w=12, h=6) valid=False
  458. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #10: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  459. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #11: pos=(x=104, y=3) size=(w=1, h=1) valid=False
  460. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #12: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  461. 2016-03-29 04:34:17.561 DEBUG [detect_vehicles] Contour #13: pos=(x=95, y=1) size=(w=8, h=2) valid=False
  462. 2016-03-29 04:34:17.561 DEBUG [process_frame] No valid vehicle contours found.
  463. 2016-03-29 04:34:17.561 DEBUG [root] Saving processed frame #26 as 'images/processed_0026.png'
  464. 2016-03-29 04:34:17.561 DEBUG [main] Frame #26 processed.
  465. 2016-03-29 04:34:17.576 DEBUG [main] Capturing frame #27...
  466. 2016-03-29 04:34:17.576 DEBUG [main] Got frame #27: shape=(120, 160, 3)
  467. 2016-03-29 04:34:17.576 DEBUG [main] Processing frame #27...
  468. 2016-03-29 04:34:17.576 DEBUG [root] Saving foreground mask for frame #27 as 'images/mask_0027.png'
  469. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Found 11 vehicle contours.
  470. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #0: pos=(x=111, y=31) size=(w=15, h=3) valid=False
  471. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=24) size=(w=13, h=5) valid=False
  472. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #2: pos=(x=125, y=22) size=(w=1, h=1) valid=False
  473. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=17) size=(w=8, h=3) valid=False
  474. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #4: pos=(x=92, y=14) size=(w=12, h=4) valid=False
  475. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #5: pos=(x=92, y=8) size=(w=11, h=5) valid=False
  476. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #6: pos=(x=99, y=6) size=(w=1, h=1) valid=False
  477. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #7: pos=(x=108, y=3) size=(w=8, h=1) valid=False
  478. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #8: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  479. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #9: pos=(x=111, y=1) size=(w=7, h=1) valid=False
  480. 2016-03-29 04:34:17.576 DEBUG [detect_vehicles] Contour #10: pos=(x=93, y=1) size=(w=10, h=4) valid=False
  481. 2016-03-29 04:34:17.576 DEBUG [process_frame] No valid vehicle contours found.
  482. 2016-03-29 04:34:17.576 DEBUG [root] Saving processed frame #27 as 'images/processed_0027.png'
  483. 2016-03-29 04:34:17.576 DEBUG [main] Frame #27 processed.
  484. 2016-03-29 04:34:17.592 DEBUG [main] Capturing frame #28...
  485. 2016-03-29 04:34:17.592 DEBUG [main] Got frame #28: shape=(120, 160, 3)
  486. 2016-03-29 04:34:17.592 DEBUG [main] Processing frame #28...
  487. 2016-03-29 04:34:17.592 DEBUG [root] Saving foreground mask for frame #28 as 'images/mask_0028.png'
  488. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Found 13 vehicle contours.
  489. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=35) size=(w=14, h=3) valid=False
  490. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #1: pos=(x=118, y=34) size=(w=2, h=1) valid=False
  491. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #2: pos=(x=124, y=33) size=(w=2, h=1) valid=False
  492. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=27) size=(w=14, h=6) valid=False
  493. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #4: pos=(x=111, y=26) size=(w=1, h=1) valid=False
  494. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #5: pos=(x=114, y=19) size=(w=9, h=5) valid=False
  495. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #6: pos=(x=91, y=17) size=(w=12, h=4) valid=False
  496. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #7: pos=(x=91, y=10) size=(w=13, h=6) valid=False
  497. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #8: pos=(x=98, y=8) size=(w=2, h=1) valid=False
  498. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #9: pos=(x=103, y=7) size=(w=1, h=1) valid=False
  499. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #10: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  500. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #11: pos=(x=93, y=2) size=(w=9, h=5) valid=False
  501. 2016-03-29 04:34:17.592 DEBUG [detect_vehicles] Contour #12: pos=(x=108, y=1) size=(w=11, h=3) valid=False
  502. 2016-03-29 04:34:17.592 DEBUG [process_frame] No valid vehicle contours found.
  503. 2016-03-29 04:34:17.592 DEBUG [root] Saving processed frame #28 as 'images/processed_0028.png'
  504. 2016-03-29 04:34:17.592 DEBUG [main] Frame #28 processed.
  505. 2016-03-29 04:34:17.608 DEBUG [main] Capturing frame #29...
  506. 2016-03-29 04:34:17.608 DEBUG [main] Got frame #29: shape=(120, 160, 3)
  507. 2016-03-29 04:34:17.608 DEBUG [main] Processing frame #29...
  508. 2016-03-29 04:34:17.608 DEBUG [root] Saving foreground mask for frame #29 as 'images/mask_0029.png'
  509. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Found 16 vehicle contours.
  510. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=38) size=(w=16, h=5) valid=False
  511. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=31) size=(w=14, h=6) valid=False
  512. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #2: pos=(x=111, y=30) size=(w=1, h=1) valid=False
  513. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=29) size=(w=1, h=1) valid=False
  514. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=22) size=(w=10, h=5) valid=False
  515. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #5: pos=(x=89, y=19) size=(w=13, h=5) valid=False
  516. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #6: pos=(x=103, y=15) size=(w=1, h=1) valid=False
  517. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #7: pos=(x=89, y=12) size=(w=13, h=6) valid=False
  518. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #8: pos=(x=103, y=11) size=(w=1, h=1) valid=False
  519. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #9: pos=(x=89, y=11) size=(w=1, h=1) valid=False
  520. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #10: pos=(x=98, y=10) size=(w=1, h=1) valid=False
  521. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #11: pos=(x=91, y=4) size=(w=11, h=5) valid=False
  522. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #12: pos=(x=108, y=3) size=(w=3, h=1) valid=False
  523. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #13: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  524. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #14: pos=(x=115, y=2) size=(w=4, h=3) valid=False
  525. 2016-03-29 04:34:17.608 DEBUG [detect_vehicles] Contour #15: pos=(x=112, y=2) size=(w=3, h=1) valid=False
  526. 2016-03-29 04:34:17.608 DEBUG [process_frame] No valid vehicle contours found.
  527. 2016-03-29 04:34:17.608 DEBUG [root] Saving processed frame #29 as 'images/processed_0029.png'
  528. 2016-03-29 04:34:17.608 DEBUG [main] Frame #29 processed.
  529. 2016-03-29 04:34:17.624 DEBUG [main] Capturing frame #30...
  530. 2016-03-29 04:34:17.624 DEBUG [main] Got frame #30: shape=(120, 160, 3)
  531. 2016-03-29 04:34:17.624 DEBUG [main] Processing frame #30...
  532. 2016-03-29 04:34:17.624 DEBUG [root] Saving foreground mask for frame #30 as 'images/mask_0030.png'
  533. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Found 18 vehicle contours.
  534. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #0: pos=(x=111, y=45) size=(w=17, h=4) valid=False
  535. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #1: pos=(x=119, y=44) size=(w=2, h=1) valid=False
  536. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #2: pos=(x=123, y=43) size=(w=5, h=1) valid=False
  537. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=43) size=(w=2, h=1) valid=False
  538. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=36) size=(w=16, h=6) valid=False
  539. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #5: pos=(x=127, y=34) size=(w=1, h=1) valid=False
  540. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=34) size=(w=2, h=1) valid=False
  541. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #7: pos=(x=111, y=34) size=(w=1, h=1) valid=False
  542. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #8: pos=(x=114, y=26) size=(w=11, h=6) valid=False
  543. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #9: pos=(x=102, y=17) size=(w=1, h=3) valid=False
  544. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #10: pos=(x=88, y=15) size=(w=14, h=12) valid=False
  545. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #11: pos=(x=102, y=13) size=(w=1, h=1) valid=False
  546. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #12: pos=(x=97, y=12) size=(w=1, h=2) valid=False
  547. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #13: pos=(x=90, y=6) size=(w=13, h=6) valid=False
  548. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #14: pos=(x=108, y=3) size=(w=12, h=3) valid=False
  549. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #15: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  550. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #16: pos=(x=117, y=1) size=(w=1, h=1) valid=False
  551. 2016-03-29 04:34:17.624 DEBUG [detect_vehicles] Contour #17: pos=(x=112, y=1) size=(w=1, h=1) valid=False
  552. 2016-03-29 04:34:17.624 DEBUG [process_frame] No valid vehicle contours found.
  553. 2016-03-29 04:34:17.624 DEBUG [root] Saving processed frame #30 as 'images/processed_0030.png'
  554. 2016-03-29 04:34:17.624 DEBUG [main] Frame #30 processed.
  555. 2016-03-29 04:34:17.640 DEBUG [main] Capturing frame #31...
  556. 2016-03-29 04:34:17.640 DEBUG [main] Got frame #31: shape=(120, 160, 3)
  557. 2016-03-29 04:34:17.640 DEBUG [main] Processing frame #31...
  558. 2016-03-29 04:34:17.640 DEBUG [root] Saving foreground mask for frame #31 as 'images/mask_0031.png'
  559. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Found 19 vehicle contours.
  560. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #0: pos=(x=126, y=49) size=(w=3, h=1) valid=False
  561. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #1: pos=(x=111, y=49) size=(w=18, h=7) valid=False
  562. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=41) size=(w=17, h=7) valid=False
  563. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #3: pos=(x=128, y=39) size=(w=2, h=1) valid=False
  564. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #4: pos=(x=122, y=39) size=(w=2, h=1) valid=False
  565. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #5: pos=(x=110, y=39) size=(w=2, h=1) valid=False
  566. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #6: pos=(x=114, y=38) size=(w=3, h=2) valid=False
  567. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #7: pos=(x=127, y=36) size=(w=1, h=2) valid=False
  568. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #8: pos=(x=113, y=30) size=(w=13, h=5) valid=False
  569. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #9: pos=(x=86, y=26) size=(w=15, h=5) valid=False
  570. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #10: pos=(x=101, y=23) size=(w=1, h=1) valid=False
  571. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #11: pos=(x=86, y=23) size=(w=13, h=3) valid=False
  572. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #12: pos=(x=86, y=17) size=(w=1, h=1) valid=False
  573. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #13: pos=(x=86, y=16) size=(w=16, h=6) valid=False
  574. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #14: pos=(x=96, y=15) size=(w=1, h=2) valid=False
  575. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #15: pos=(x=101, y=14) size=(w=1, h=1) valid=False
  576. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #16: pos=(x=88, y=8) size=(w=13, h=6) valid=False
  577. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #17: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  578. 2016-03-29 04:34:17.640 DEBUG [detect_vehicles] Contour #18: pos=(x=108, y=2) size=(w=12, h=6) valid=False
  579. 2016-03-29 04:34:17.640 DEBUG [process_frame] No valid vehicle contours found.
  580. 2016-03-29 04:34:17.640 DEBUG [root] Saving processed frame #31 as 'images/processed_0031.png'
  581. 2016-03-29 04:34:17.640 DEBUG [main] Frame #31 processed.
  582. 2016-03-29 04:34:17.654 DEBUG [main] Capturing frame #32...
  583. 2016-03-29 04:34:17.654 DEBUG [main] Got frame #32: shape=(120, 160, 3)
  584. 2016-03-29 04:34:17.654 DEBUG [main] Processing frame #32...
  585. 2016-03-29 04:34:17.654 DEBUG [root] Saving foreground mask for frame #32 as 'images/mask_0032.png'
  586. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Found 18 vehicle contours.
  587. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #0: pos=(x=111, y=56) size=(w=20, h=7) valid=False
  588. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=47) size=(w=18, h=8) valid=False
  589. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #2: pos=(x=130, y=45) size=(w=1, h=1) valid=False
  590. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #3: pos=(x=124, y=45) size=(w=2, h=1) valid=False
  591. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=45) size=(w=1, h=1) valid=False
  592. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #5: pos=(x=110, y=45) size=(w=2, h=1) valid=False
  593. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #6: pos=(x=115, y=43) size=(w=2, h=3) valid=False
  594. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #7: pos=(x=128, y=42) size=(w=1, h=1) valid=False
  595. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #8: pos=(x=113, y=34) size=(w=14, h=8) valid=False
  596. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #9: pos=(x=100, y=27) size=(w=1, h=2) valid=False
  597. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #10: pos=(x=101, y=23) size=(w=1, h=2) valid=False
  598. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #11: pos=(x=84, y=20) size=(w=1, h=1) valid=False
  599. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #12: pos=(x=87, y=18) size=(w=1, h=1) valid=False
  600. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #13: pos=(x=100, y=17) size=(w=2, h=3) valid=False
  601. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #14: pos=(x=84, y=10) size=(w=16, h=26) valid=False
  602. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #15: pos=(x=111, y=6) size=(w=9, h=3) valid=False
  603. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #16: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  604. 2016-03-29 04:34:17.654 DEBUG [detect_vehicles] Contour #17: pos=(x=108, y=2) size=(w=9, h=3) valid=False
  605. 2016-03-29 04:34:17.654 DEBUG [process_frame] No valid vehicle contours found.
  606. 2016-03-29 04:34:17.654 DEBUG [root] Saving processed frame #32 as 'images/processed_0032.png'
  607. 2016-03-29 04:34:17.654 DEBUG [main] Frame #32 processed.
  608. 2016-03-29 04:34:17.671 DEBUG [main] Capturing frame #33...
  609. 2016-03-29 04:34:17.671 DEBUG [main] Got frame #33: shape=(120, 160, 3)
  610. 2016-03-29 04:34:17.671 DEBUG [main] Processing frame #33...
  611. 2016-03-29 04:34:17.671 DEBUG [root] Saving foreground mask for frame #33 as 'images/mask_0033.png'
  612. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Found 29 vehicle contours.
  613. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #0: pos=(x=111, y=53) size=(w=21, h=19) valid=False
  614. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #1: pos=(x=125, y=52) size=(w=1, h=1) valid=False
  615. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=52) size=(w=1, h=1) valid=False
  616. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #3: pos=(x=131, y=51) size=(w=2, h=2) valid=False
  617. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #4: pos=(x=110, y=51) size=(w=2, h=2) valid=False
  618. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #5: pos=(x=130, y=50) size=(w=1, h=1) valid=False
  619. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #6: pos=(x=126, y=50) size=(w=1, h=1) valid=False
  620. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #7: pos=(x=123, y=50) size=(w=1, h=1) valid=False
  621. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #8: pos=(x=116, y=49) size=(w=2, h=5) valid=False
  622. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #9: pos=(x=128, y=48) size=(w=1, h=1) valid=False
  623. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #10: pos=(x=121, y=48) size=(w=1, h=1) valid=False
  624. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #11: pos=(x=112, y=39) size=(w=16, h=8) valid=False
  625. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #12: pos=(x=82, y=35) size=(w=17, h=6) valid=False
  626. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #13: pos=(x=99, y=31) size=(w=1, h=2) valid=False
  627. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #14: pos=(x=96, y=31) size=(w=1, h=1) valid=False
  628. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #15: pos=(x=82, y=31) size=(w=16, h=3) valid=False
  629. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #16: pos=(x=100, y=26) size=(w=1, h=4) valid=False
  630. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #17: pos=(x=100, y=23) size=(w=1, h=1) valid=False
  631. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #18: pos=(x=96, y=23) size=(w=1, h=1) valid=False
  632. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #19: pos=(x=82, y=23) size=(w=17, h=7) valid=False
  633. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #20: pos=(x=94, y=22) size=(w=1, h=2) valid=False
  634. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #21: pos=(x=97, y=21) size=(w=1, h=1) valid=False
  635. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #22: pos=(x=99, y=16) size=(w=2, h=6) valid=False
  636. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #23: pos=(x=85, y=13) size=(w=14, h=10) valid=False
  637. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #24: pos=(x=111, y=7) size=(w=10, h=4) valid=False
  638. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #25: pos=(x=118, y=5) size=(w=1, h=1) valid=False
  639. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #26: pos=(x=111, y=3) size=(w=6, h=3) valid=False
  640. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #27: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  641. 2016-03-29 04:34:17.671 DEBUG [detect_vehicles] Contour #28: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  642. 2016-03-29 04:34:17.671 DEBUG [process_frame] No valid vehicle contours found.
  643. 2016-03-29 04:34:17.671 DEBUG [root] Saving processed frame #33 as 'images/processed_0033.png'
  644. 2016-03-29 04:34:17.671 DEBUG [main] Frame #33 processed.
  645. 2016-03-29 04:34:17.686 DEBUG [main] Capturing frame #34...
  646. 2016-03-29 04:34:17.686 DEBUG [main] Got frame #34: shape=(120, 160, 3)
  647. 2016-03-29 04:34:17.686 DEBUG [main] Processing frame #34...
  648. 2016-03-29 04:34:17.686 DEBUG [root] Saving foreground mask for frame #34 as 'images/mask_0034.png'
  649. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Found 29 vehicle contours.
  650. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #0: pos=(x=111, y=75) size=(w=23, h=8) valid=False
  651. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=62) size=(w=22, h=13) valid=False
  652. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #2: pos=(x=121, y=62) size=(w=1, h=1) valid=False
  653. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #3: pos=(x=124, y=61) size=(w=2, h=1) valid=False
  654. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #4: pos=(x=127, y=60) size=(w=1, h=2) valid=False
  655. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #5: pos=(x=132, y=58) size=(w=3, h=3) valid=False
  656. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #6: pos=(x=127, y=58) size=(w=1, h=1) valid=False
  657. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=58) size=(w=1, h=1) valid=False
  658. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #8: pos=(x=110, y=58) size=(w=2, h=3) valid=False
  659. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #9: pos=(x=124, y=57) size=(w=1, h=2) valid=False
  660. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #10: pos=(x=126, y=56) size=(w=1, h=1) valid=False
  661. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #11: pos=(x=121, y=56) size=(w=2, h=1) valid=False
  662. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #12: pos=(x=113, y=56) size=(w=7, h=7) valid=False
  663. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #13: pos=(x=130, y=55) size=(w=2, h=2) valid=False
  664. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #14: pos=(x=113, y=49) size=(w=1, h=6) valid=False
  665. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #15: pos=(x=112, y=45) size=(w=17, h=9) valid=False
  666. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #16: pos=(x=90, y=39) size=(w=2, h=1) valid=False
  667. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #17: pos=(x=79, y=36) size=(w=20, h=11) valid=False
  668. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #18: pos=(x=99, y=30) size=(w=1, h=4) valid=False
  669. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #19: pos=(x=89, y=27) size=(w=1, h=1) valid=False
  670. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #20: pos=(x=80, y=27) size=(w=20, h=8) valid=False
  671. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #21: pos=(x=92, y=25) size=(w=2, h=3) valid=False
  672. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #22: pos=(x=83, y=25) size=(w=1, h=2) valid=False
  673. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #23: pos=(x=83, y=16) size=(w=17, h=10) valid=False
  674. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #24: pos=(x=111, y=9) size=(w=10, h=4) valid=False
  675. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #25: pos=(x=119, y=6) size=(w=1, h=1) valid=False
  676. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #26: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  677. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #27: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  678. 2016-03-29 04:34:17.686 DEBUG [detect_vehicles] Contour #28: pos=(x=111, y=2) size=(w=5, h=3) valid=False
  679. 2016-03-29 04:34:17.686 DEBUG [process_frame] No valid vehicle contours found.
  680. 2016-03-29 04:34:17.686 DEBUG [root] Saving processed frame #34 as 'images/processed_0034.png'
  681. 2016-03-29 04:34:17.686 DEBUG [main] Frame #34 processed.
  682. 2016-03-29 04:34:17.701 DEBUG [main] Capturing frame #35...
  683. 2016-03-29 04:34:17.701 DEBUG [main] Got frame #35: shape=(120, 160, 3)
  684. 2016-03-29 04:34:17.701 DEBUG [main] Processing frame #35...
  685. 2016-03-29 04:34:17.701 DEBUG [root] Saving foreground mask for frame #35 as 'images/mask_0035.png'
  686. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Found 28 vehicle contours.
  687. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #0: pos=(x=110, y=74) size=(w=27, h=23) valid=True
  688. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #1: pos=(x=109, y=69) size=(w=3, h=2) valid=False
  689. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #2: pos=(x=134, y=68) size=(w=4, h=4) valid=False
  690. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #3: pos=(x=128, y=67) size=(w=2, h=2) valid=False
  691. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=67) size=(w=1, h=1) valid=False
  692. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #5: pos=(x=130, y=66) size=(w=1, h=1) valid=False
  693. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #6: pos=(x=127, y=65) size=(w=2, h=1) valid=False
  694. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #7: pos=(x=125, y=65) size=(w=1, h=1) valid=False
  695. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #8: pos=(x=122, y=65) size=(w=2, h=2) valid=False
  696. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #9: pos=(x=133, y=64) size=(w=1, h=3) valid=False
  697. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #10: pos=(x=111, y=63) size=(w=1, h=6) valid=False
  698. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #11: pos=(x=113, y=61) size=(w=1, h=3) valid=False
  699. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #12: pos=(x=132, y=59) size=(w=1, h=2) valid=False
  700. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=52) size=(w=20, h=21) valid=False
  701. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #14: pos=(x=76, y=42) size=(w=21, h=13) valid=False
  702. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #15: pos=(x=97, y=40) size=(w=1, h=3) valid=False
  703. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #16: pos=(x=98, y=34) size=(w=1, h=5) valid=False
  704. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #17: pos=(x=77, y=32) size=(w=20, h=9) valid=False
  705. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #18: pos=(x=91, y=30) size=(w=1, h=3) valid=False
  706. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #19: pos=(x=80, y=19) size=(w=19, h=15) valid=False
  707. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #20: pos=(x=111, y=11) size=(w=10, h=4) valid=False
  708. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #21: pos=(x=119, y=8) size=(w=1, h=1) valid=False
  709. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #22: pos=(x=114, y=8) size=(w=3, h=1) valid=False
  710. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #23: pos=(x=115, y=6) size=(w=2, h=1) valid=False
  711. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #24: pos=(x=114, y=3) size=(w=3, h=1) valid=False
  712. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #25: pos=(x=111, y=3) size=(w=2, h=1) valid=False
  713. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #26: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  714. 2016-03-29 04:34:17.701 DEBUG [detect_vehicles] Contour #27: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  715. 2016-03-29 04:34:17.701 DEBUG [process_frame] Found 1 valid vehicle contours.
  716. 2016-03-29 04:34:17.701 DEBUG [process_frame] Valid vehicle contour #0: centroid=(110, 74, 27, 23), bounding_box=(123, 85)
  717. 2016-03-29 04:34:17.701 DEBUG [process_frame] Updating vehicle count...
  718. 2016-03-29 04:34:17.701 DEBUG [vehicle_counter] Updating count using 1 matches...
  719. 2016-03-29 04:34:17.701 DEBUG [root] Saving processed frame #35 as 'images/processed_0035.png'
  720. 2016-03-29 04:34:17.701 DEBUG [main] Frame #35 processed.
  721. 2016-03-29 04:34:17.717 DEBUG [main] Capturing frame #36...
  722. 2016-03-29 04:34:17.717 DEBUG [main] Got frame #36: shape=(120, 160, 3)
  723. 2016-03-29 04:34:17.717 DEBUG [main] Processing frame #36...
  724. 2016-03-29 04:34:17.717 DEBUG [root] Saving foreground mask for frame #36 as 'images/mask_0036.png'
  725. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Found 29 vehicle contours.
  726. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #0: pos=(x=109, y=103) size=(w=1, h=1) valid=False
  727. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #1: pos=(x=138, y=83) size=(w=2, h=1) valid=False
  728. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #2: pos=(x=127, y=81) size=(w=1, h=1) valid=False
  729. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #3: pos=(x=130, y=79) size=(w=1, h=1) valid=False
  730. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #4: pos=(x=136, y=78) size=(w=1, h=4) valid=False
  731. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #5: pos=(x=132, y=77) size=(w=1, h=2) valid=False
  732. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #6: pos=(x=129, y=77) size=(w=1, h=1) valid=False
  733. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #7: pos=(x=115, y=77) size=(w=1, h=3) valid=False
  734. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #8: pos=(x=135, y=76) size=(w=1, h=1) valid=False
  735. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #9: pos=(x=110, y=76) size=(w=30, h=38) valid=True
  736. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #10: pos=(x=113, y=72) size=(w=1, h=4) valid=False
  737. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #11: pos=(x=109, y=70) size=(w=4, h=14) valid=False
  738. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #12: pos=(x=134, y=69) size=(w=2, h=6) valid=False
  739. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=61) size=(w=22, h=15) valid=False
  740. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #14: pos=(x=73, y=49) size=(w=22, h=14) valid=False
  741. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #15: pos=(x=96, y=46) size=(w=1, h=1) valid=False
  742. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #16: pos=(x=89, y=38) size=(w=1, h=1) valid=False
  743. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #17: pos=(x=74, y=38) size=(w=1, h=1) valid=False
  744. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #18: pos=(x=89, y=35) size=(w=2, h=2) valid=False
  745. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #19: pos=(x=73, y=27) size=(w=25, h=24) valid=True
  746. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #20: pos=(x=77, y=23) size=(w=19, h=12) valid=False
  747. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #21: pos=(x=111, y=13) size=(w=11, h=4) valid=False
  748. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #22: pos=(x=113, y=10) size=(w=6, h=1) valid=False
  749. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #23: pos=(x=115, y=7) size=(w=2, h=2) valid=False
  750. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #24: pos=(x=118, y=5) size=(w=1, h=1) valid=False
  751. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #25: pos=(x=113, y=3) size=(w=3, h=2) valid=False
  752. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #26: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  753. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #27: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  754. 2016-03-29 04:34:17.717 DEBUG [detect_vehicles] Contour #28: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  755. 2016-03-29 04:34:17.717 DEBUG [process_frame] Found 2 valid vehicle contours.
  756. 2016-03-29 04:34:17.717 DEBUG [process_frame] Valid vehicle contour #0: centroid=(110, 76, 30, 38), bounding_box=(125, 95)
  757. 2016-03-29 04:34:17.717 DEBUG [process_frame] Valid vehicle contour #1: centroid=(73, 27, 25, 24), bounding_box=(85, 39)
  758. 2016-03-29 04:34:17.717 DEBUG [process_frame] Updating vehicle count...
  759. 2016-03-29 04:34:17.717 DEBUG [vehicle_counter] Updating count using 2 matches...
  760. 2016-03-29 04:34:17.717 DEBUG [root] Saving processed frame #36 as 'images/processed_0036.png'
  761. 2016-03-29 04:34:17.717 DEBUG [main] Frame #36 processed.
  762. 2016-03-29 04:34:17.733 DEBUG [main] Capturing frame #37...
  763. 2016-03-29 04:34:17.733 DEBUG [main] Got frame #37: shape=(120, 160, 3)
  764. 2016-03-29 04:34:17.733 DEBUG [main] Processing frame #37...
  765. 2016-03-29 04:34:17.733 DEBUG [root] Saving foreground mask for frame #37 as 'images/mask_0037.png'
  766. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Found 29 vehicle contours.
  767. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #0: pos=(x=107, y=97) size=(w=9, h=6) valid=False
  768. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #1: pos=(x=134, y=96) size=(w=1, h=1) valid=False
  769. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #2: pos=(x=139, y=93) size=(w=5, h=8) valid=False
  770. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #3: pos=(x=115, y=93) size=(w=1, h=1) valid=False
  771. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #4: pos=(x=109, y=93) size=(w=1, h=3) valid=False
  772. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #5: pos=(x=134, y=92) size=(w=1, h=1) valid=False
  773. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #6: pos=(x=131, y=92) size=(w=1, h=1) valid=False
  774. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #7: pos=(x=129, y=92) size=(w=1, h=1) valid=False
  775. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #8: pos=(x=111, y=91) size=(w=32, h=28) valid=True
  776. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #9: pos=(x=116, y=91) size=(w=2, h=1) valid=False
  777. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #10: pos=(x=111, y=86) size=(w=3, h=7) valid=False
  778. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #11: pos=(x=137, y=83) size=(w=2, h=9) valid=False
  779. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=81) size=(w=1, h=3) valid=False
  780. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=71) size=(w=25, h=20) valid=False
  781. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #14: pos=(x=91, y=57) size=(w=1, h=1) valid=False
  782. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #15: pos=(x=94, y=46) size=(w=2, h=7) valid=False
  783. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #16: pos=(x=82, y=46) size=(w=1, h=1) valid=False
  784. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #17: pos=(x=70, y=44) size=(w=1, h=2) valid=False
  785. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #18: pos=(x=87, y=42) size=(w=1, h=4) valid=False
  786. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #19: pos=(x=68, y=27) size=(w=29, h=46) valid=True
  787. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #20: pos=(x=111, y=15) size=(w=11, h=4) valid=False
  788. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #21: pos=(x=120, y=12) size=(w=1, h=1) valid=False
  789. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #22: pos=(x=113, y=12) size=(w=5, h=1) valid=False
  790. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #23: pos=(x=115, y=9) size=(w=2, h=1) valid=False
  791. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #24: pos=(x=114, y=6) size=(w=3, h=1) valid=False
  792. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #25: pos=(x=115, y=3) size=(w=1, h=1) valid=False
  793. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #26: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  794. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #27: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  795. 2016-03-29 04:34:17.733 DEBUG [detect_vehicles] Contour #28: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  796. 2016-03-29 04:34:17.733 DEBUG [process_frame] Found 2 valid vehicle contours.
  797. 2016-03-29 04:34:17.733 DEBUG [process_frame] Valid vehicle contour #0: centroid=(111, 91, 32, 28), bounding_box=(127, 105)
  798. 2016-03-29 04:34:17.733 DEBUG [process_frame] Valid vehicle contour #1: centroid=(68, 27, 29, 46), bounding_box=(82, 50)
  799. 2016-03-29 04:34:17.733 DEBUG [process_frame] Updating vehicle count...
  800. 2016-03-29 04:34:17.733 DEBUG [vehicle_counter] Updating count using 2 matches...
  801. 2016-03-29 04:34:17.733 DEBUG [root] Saving processed frame #37 as 'images/processed_0037.png'
  802. 2016-03-29 04:34:17.733 DEBUG [main] Frame #37 processed.
  803. 2016-03-29 04:34:17.749 DEBUG [main] Capturing frame #38...
  804. 2016-03-29 04:34:17.749 DEBUG [main] Got frame #38: shape=(120, 160, 3)
  805. 2016-03-29 04:34:17.749 DEBUG [main] Processing frame #38...
  806. 2016-03-29 04:34:17.749 DEBUG [root] Saving foreground mask for frame #38 as 'images/mask_0038.png'
  807. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Found 25 vehicle contours.
  808. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #0: pos=(x=141, y=118) size=(w=1, h=1) valid=False
  809. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #1: pos=(x=137, y=117) size=(w=1, h=1) valid=False
  810. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #2: pos=(x=106, y=117) size=(w=6, h=2) valid=False
  811. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=115) size=(w=1, h=1) valid=False
  812. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #4: pos=(x=143, y=113) size=(w=1, h=5) valid=False
  813. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #5: pos=(x=119, y=111) size=(w=15, h=8) valid=False
  814. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #6: pos=(x=116, y=111) size=(w=1, h=1) valid=False
  815. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #7: pos=(x=108, y=110) size=(w=1, h=4) valid=False
  816. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #8: pos=(x=142, y=108) size=(w=1, h=2) valid=False
  817. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #9: pos=(x=141, y=103) size=(w=1, h=3) valid=False
  818. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #10: pos=(x=140, y=99) size=(w=1, h=3) valid=False
  819. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #11: pos=(x=138, y=97) size=(w=1, h=1) valid=False
  820. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #12: pos=(x=138, y=95) size=(w=1, h=1) valid=False
  821. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #13: pos=(x=110, y=90) size=(w=31, h=27) valid=True
  822. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #14: pos=(x=112, y=84) size=(w=26, h=7) valid=False
  823. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #15: pos=(x=65, y=52) size=(w=2, h=2) valid=False
  824. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #16: pos=(x=63, y=33) size=(w=32, h=53) valid=True
  825. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #17: pos=(x=111, y=17) size=(w=12, h=5) valid=False
  826. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #18: pos=(x=119, y=12) size=(w=1, h=1) valid=False
  827. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #19: pos=(x=116, y=11) size=(w=1, h=1) valid=False
  828. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #20: pos=(x=113, y=8) size=(w=4, h=1) valid=False
  829. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #21: pos=(x=115, y=3) size=(w=1, h=1) valid=False
  830. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #22: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  831. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #23: pos=(x=109, y=3) size=(w=1, h=1) valid=False
  832. 2016-03-29 04:34:17.749 DEBUG [detect_vehicles] Contour #24: pos=(x=156, y=2) size=(w=3, h=2) valid=False
  833. 2016-03-29 04:34:17.749 DEBUG [process_frame] Found 2 valid vehicle contours.
  834. 2016-03-29 04:34:17.749 DEBUG [process_frame] Valid vehicle contour #0: centroid=(110, 90, 31, 27), bounding_box=(125, 103)
  835. 2016-03-29 04:34:17.749 DEBUG [process_frame] Valid vehicle contour #1: centroid=(63, 33, 32, 53), bounding_box=(79, 59)
  836. 2016-03-29 04:34:17.749 DEBUG [process_frame] Updating vehicle count...
  837. 2016-03-29 04:34:17.749 DEBUG [vehicle_counter] Updating count using 2 matches...
  838. 2016-03-29 04:34:17.749 DEBUG [root] Saving processed frame #38 as 'images/processed_0038.png'
  839. 2016-03-29 04:34:17.749 DEBUG [main] Frame #38 processed.
  840. 2016-03-29 04:34:17.765 DEBUG [main] Capturing frame #39...
  841. 2016-03-29 04:34:17.765 DEBUG [main] Got frame #39: shape=(120, 160, 3)
  842. 2016-03-29 04:34:17.765 DEBUG [main] Processing frame #39...
  843. 2016-03-29 04:34:17.765 DEBUG [root] Saving foreground mask for frame #39 as 'images/mask_0039.png'
  844. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Found 19 vehicle contours.
  845. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #0: pos=(x=108, y=118) size=(w=1, h=1) valid=False
  846. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #1: pos=(x=142, y=115) size=(w=1, h=4) valid=False
  847. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #2: pos=(x=141, y=113) size=(w=1, h=1) valid=False
  848. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #3: pos=(x=111, y=111) size=(w=4, h=8) valid=False
  849. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=108) size=(w=27, h=11) valid=False
  850. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #5: pos=(x=118, y=108) size=(w=2, h=1) valid=False
  851. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #6: pos=(x=132, y=107) size=(w=2, h=1) valid=False
  852. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #7: pos=(x=112, y=100) size=(w=29, h=9) valid=False
  853. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #8: pos=(x=88, y=94) size=(w=1, h=1) valid=False
  854. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #9: pos=(x=59, y=62) size=(w=2, h=2) valid=False
  855. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #10: pos=(x=56, y=39) size=(w=38, h=65) valid=True
  856. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #11: pos=(x=110, y=20) size=(w=14, h=5) valid=False
  857. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #12: pos=(x=110, y=18) size=(w=1, h=1) valid=False
  858. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #13: pos=(x=122, y=14) size=(w=2, h=2) valid=False
  859. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #14: pos=(x=111, y=14) size=(w=1, h=2) valid=False
  860. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #15: pos=(x=116, y=13) size=(w=1, h=1) valid=False
  861. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #16: pos=(x=114, y=12) size=(w=1, h=1) valid=False
  862. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #17: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  863. 2016-03-29 04:34:17.765 DEBUG [detect_vehicles] Contour #18: pos=(x=157, y=2) size=(w=2, h=1) valid=False
  864. 2016-03-29 04:34:17.765 DEBUG [process_frame] Found 1 valid vehicle contours.
  865. 2016-03-29 04:34:17.765 DEBUG [process_frame] Valid vehicle contour #0: centroid=(56, 39, 38, 65), bounding_box=(75, 71)
  866. 2016-03-29 04:34:17.765 DEBUG [process_frame] Updating vehicle count...
  867. 2016-03-29 04:34:17.765 DEBUG [vehicle_counter] Updating count using 1 matches...
  868. 2016-03-29 04:34:17.765 DEBUG [root] Saving processed frame #39 as 'images/processed_0039.png'
  869. 2016-03-29 04:34:17.765 DEBUG [main] Frame #39 processed.
  870. 2016-03-29 04:34:17.779 DEBUG [main] Capturing frame #40...
  871. 2016-03-29 04:34:17.779 DEBUG [main] Got frame #40: shape=(120, 160, 3)
  872. 2016-03-29 04:34:17.779 DEBUG [main] Processing frame #40...
  873. 2016-03-29 04:34:17.779 DEBUG [root] Saving foreground mask for frame #40 as 'images/mask_0040.png'
  874. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Found 13 vehicle contours.
  875. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #0: pos=(x=46, y=103) size=(w=1, h=1) valid=False
  876. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #1: pos=(x=52, y=74) size=(w=2, h=3) valid=False
  877. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #2: pos=(x=87, y=68) size=(w=1, h=1) valid=False
  878. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #3: pos=(x=41, y=48) size=(w=1, h=1) valid=False
  879. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #4: pos=(x=46, y=47) size=(w=48, h=72) valid=True
  880. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #5: pos=(x=1, y=29) size=(w=1, h=1) valid=False
  881. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #6: pos=(x=109, y=20) size=(w=16, h=9) valid=False
  882. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #7: pos=(x=123, y=17) size=(w=2, h=2) valid=False
  883. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #8: pos=(x=110, y=17) size=(w=5, h=2) valid=False
  884. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #9: pos=(x=112, y=14) size=(w=1, h=1) valid=False
  885. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #10: pos=(x=17, y=5) size=(w=1, h=1) valid=False
  886. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #11: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  887. 2016-03-29 04:34:17.779 DEBUG [detect_vehicles] Contour #12: pos=(x=14, y=1) size=(w=1, h=1) valid=False
  888. 2016-03-29 04:34:17.779 DEBUG [process_frame] Found 1 valid vehicle contours.
  889. 2016-03-29 04:34:17.779 DEBUG [process_frame] Valid vehicle contour #0: centroid=(46, 47, 48, 72), bounding_box=(70, 83)
  890. 2016-03-29 04:34:17.779 DEBUG [process_frame] Updating vehicle count...
  891. 2016-03-29 04:34:17.779 DEBUG [vehicle_counter] Updating count using 1 matches...
  892. 2016-03-29 04:34:17.779 DEBUG [root] Saving processed frame #40 as 'images/processed_0040.png'
  893. 2016-03-29 04:34:17.779 DEBUG [main] Frame #40 processed.
  894. 2016-03-29 04:34:17.796 DEBUG [main] Capturing frame #41...
  895. 2016-03-29 04:34:17.796 DEBUG [main] Got frame #41: shape=(120, 160, 3)
  896. 2016-03-29 04:34:17.796 DEBUG [main] Processing frame #41...
  897. 2016-03-29 04:34:17.796 DEBUG [root] Saving foreground mask for frame #41 as 'images/mask_0041.png'
  898. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Found 19 vehicle contours.
  899. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #0: pos=(x=34, y=118) size=(w=1, h=1) valid=False
  900. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #1: pos=(x=76, y=117) size=(w=1, h=2) valid=False
  901. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #2: pos=(x=78, y=106) size=(w=1, h=1) valid=False
  902. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #3: pos=(x=43, y=95) size=(w=1, h=2) valid=False
  903. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #4: pos=(x=82, y=83) size=(w=1, h=1) valid=False
  904. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #5: pos=(x=90, y=78) size=(w=1, h=1) valid=False
  905. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #6: pos=(x=35, y=57) size=(w=57, h=62) valid=True
  906. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #7: pos=(x=71, y=55) size=(w=9, h=1) valid=False
  907. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #8: pos=(x=68, y=55) size=(w=1, h=1) valid=False
  908. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #9: pos=(x=41, y=48) size=(w=1, h=1) valid=False
  909. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #10: pos=(x=1, y=29) size=(w=1, h=1) valid=False
  910. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #11: pos=(x=127, y=26) size=(w=1, h=1) valid=False
  911. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #12: pos=(x=121, y=21) size=(w=1, h=1) valid=False
  912. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #13: pos=(x=123, y=20) size=(w=3, h=2) valid=False
  913. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #14: pos=(x=109, y=20) size=(w=17, h=13) valid=False
  914. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #15: pos=(x=111, y=16) size=(w=2, h=3) valid=False
  915. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #16: pos=(x=17, y=5) size=(w=1, h=1) valid=False
  916. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #17: pos=(x=111, y=3) size=(w=1, h=1) valid=False
  917. 2016-03-29 04:34:17.796 DEBUG [detect_vehicles] Contour #18: pos=(x=14, y=1) size=(w=1, h=1) valid=False
  918. 2016-03-29 04:34:17.796 DEBUG [process_frame] Found 1 valid vehicle contours.
  919. 2016-03-29 04:34:17.796 DEBUG [process_frame] Valid vehicle contour #0: centroid=(35, 57, 57, 62), bounding_box=(63, 88)
  920. 2016-03-29 04:34:17.796 DEBUG [process_frame] Updating vehicle count...
  921. 2016-03-29 04:34:17.796 DEBUG [vehicle_counter] Updating count using 1 matches...
  922. 2016-03-29 04:34:17.796 DEBUG [root] Saving processed frame #41 as 'images/processed_0041.png'
  923. 2016-03-29 04:34:17.796 DEBUG [main] Frame #41 processed.
  924. 2016-03-29 04:34:17.811 DEBUG [main] Capturing frame #42...
  925. 2016-03-29 04:34:17.811 DEBUG [main] Got frame #42: shape=(120, 160, 3)
  926. 2016-03-29 04:34:17.811 DEBUG [main] Processing frame #42...
  927. 2016-03-29 04:34:17.811 DEBUG [root] Saving foreground mask for frame #42 as 'images/mask_0042.png'
  928. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Found 123 vehicle contours.
  929. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #0: pos=(x=30, y=112) size=(w=3, h=5) valid=False
  930. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #1: pos=(x=90, y=108) size=(w=1, h=1) valid=False
  931. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #2: pos=(x=152, y=104) size=(w=1, h=1) valid=False
  932. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #3: pos=(x=77, y=104) size=(w=1, h=1) valid=False
  933. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #4: pos=(x=77, y=102) size=(w=1, h=1) valid=False
  934. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #5: pos=(x=35, y=99) size=(w=1, h=1) valid=False
  935. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #6: pos=(x=32, y=95) size=(w=45, h=24) valid=True
  936. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #7: pos=(x=1, y=90) size=(w=2, h=2) valid=False
  937. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #8: pos=(x=74, y=89) size=(w=16, h=30) valid=False
  938. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #9: pos=(x=4, y=88) size=(w=1, h=1) valid=False
  939. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #10: pos=(x=144, y=87) size=(w=1, h=1) valid=False
  940. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #11: pos=(x=85, y=87) size=(w=2, h=1) valid=False
  941. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #12: pos=(x=88, y=86) size=(w=1, h=1) valid=False
  942. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #13: pos=(x=150, y=84) size=(w=1, h=1) valid=False
  943. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #14: pos=(x=85, y=84) size=(w=2, h=1) valid=False
  944. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #15: pos=(x=2, y=84) size=(w=1, h=1) valid=False
  945. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #16: pos=(x=11, y=79) size=(w=1, h=1) valid=False
  946. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #17: pos=(x=2, y=79) size=(w=1, h=1) valid=False
  947. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #18: pos=(x=85, y=77) size=(w=2, h=2) valid=False
  948. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #19: pos=(x=84, y=74) size=(w=1, h=1) valid=False
  949. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #20: pos=(x=141, y=72) size=(w=1, h=1) valid=False
  950. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #21: pos=(x=9, y=72) size=(w=1, h=1) valid=False
  951. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #22: pos=(x=139, y=71) size=(w=1, h=1) valid=False
  952. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #23: pos=(x=87, y=71) size=(w=1, h=1) valid=False
  953. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #24: pos=(x=1, y=71) size=(w=2, h=2) valid=False
  954. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #25: pos=(x=4, y=70) size=(w=1, h=1) valid=False
  955. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #26: pos=(x=20, y=69) size=(w=1, h=1) valid=False
  956. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #27: pos=(x=85, y=68) size=(w=1, h=1) valid=False
  957. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #28: pos=(x=41, y=68) size=(w=43, h=33) valid=True
  958. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #29: pos=(x=56, y=68) size=(w=1, h=1) valid=False
  959. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #30: pos=(x=87, y=65) size=(w=1, h=1) valid=False
  960. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #31: pos=(x=20, y=65) size=(w=2, h=1) valid=False
  961. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #32: pos=(x=84, y=64) size=(w=1, h=1) valid=False
  962. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #33: pos=(x=14, y=64) size=(w=1, h=1) valid=False
  963. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #34: pos=(x=101, y=63) size=(w=1, h=1) valid=False
  964. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #35: pos=(x=26, y=63) size=(w=1, h=1) valid=False
  965. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #36: pos=(x=1, y=63) size=(w=11, h=7) valid=False
  966. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #37: pos=(x=133, y=62) size=(w=1, h=2) valid=False
  967. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #38: pos=(x=131, y=60) size=(w=1, h=1) valid=False
  968. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #39: pos=(x=21, y=60) size=(w=1, h=1) valid=False
  969. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #40: pos=(x=103, y=59) size=(w=1, h=1) valid=False
  970. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #41: pos=(x=13, y=57) size=(w=6, h=6) valid=False
  971. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #42: pos=(x=14, y=57) size=(w=2, h=2) valid=False
  972. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #43: pos=(x=135, y=55) size=(w=1, h=1) valid=False
  973. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #44: pos=(x=133, y=55) size=(w=1, h=1) valid=False
  974. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #45: pos=(x=137, y=54) size=(w=1, h=1) valid=False
  975. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #46: pos=(x=43, y=54) size=(w=1, h=1) valid=False
  976. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #47: pos=(x=20, y=54) size=(w=3, h=3) valid=False
  977. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #48: pos=(x=19, y=54) size=(w=1, h=1) valid=False
  978. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #49: pos=(x=39, y=53) size=(w=1, h=1) valid=False
  979. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #50: pos=(x=28, y=53) size=(w=1, h=1) valid=False
  980. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #51: pos=(x=34, y=52) size=(w=3, h=3) valid=False
  981. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #52: pos=(x=32, y=51) size=(w=1, h=1) valid=False
  982. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #53: pos=(x=36, y=49) size=(w=1, h=1) valid=False
  983. 2016-03-29 04:34:17.811 DEBUG [detect_vehicles] Contour #54: pos=(x=32, y=49) size=(w=1, h=1) valid=False
  984. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #55: pos=(x=28, y=49) size=(w=1, h=1) valid=False
  985. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #56: pos=(x=142, y=48) size=(w=1, h=1) valid=False
  986. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #57: pos=(x=132, y=48) size=(w=1, h=1) valid=False
  987. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #58: pos=(x=128, y=48) size=(w=1, h=1) valid=False
  988. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #59: pos=(x=41, y=48) size=(w=1, h=1) valid=False
  989. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #60: pos=(x=26, y=48) size=(w=1, h=1) valid=False
  990. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #61: pos=(x=134, y=47) size=(w=1, h=1) valid=False
  991. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #62: pos=(x=31, y=47) size=(w=1, h=1) valid=False
  992. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #63: pos=(x=129, y=46) size=(w=1, h=1) valid=False
  993. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #64: pos=(x=132, y=45) size=(w=1, h=1) valid=False
  994. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #65: pos=(x=15, y=45) size=(w=1, h=2) valid=False
  995. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #66: pos=(x=7, y=44) size=(w=1, h=1) valid=False
  996. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #67: pos=(x=115, y=41) size=(w=1, h=1) valid=False
  997. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #68: pos=(x=152, y=40) size=(w=1, h=1) valid=False
  998. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #69: pos=(x=120, y=40) size=(w=1, h=1) valid=False
  999. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #70: pos=(x=13, y=40) size=(w=1, h=1) valid=False
  1000. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #71: pos=(x=46, y=38) size=(w=1, h=1) valid=False
  1001. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #72: pos=(x=129, y=36) size=(w=1, h=1) valid=False
  1002. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #73: pos=(x=1, y=34) size=(w=1, h=1) valid=False
  1003. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #74: pos=(x=8, y=32) size=(w=1, h=1) valid=False
  1004. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #75: pos=(x=135, y=31) size=(w=1, h=1) valid=False
  1005. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #76: pos=(x=19, y=30) size=(w=1, h=1) valid=False
  1006. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #77: pos=(x=133, y=29) size=(w=2, h=1) valid=False
  1007. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #78: pos=(x=52, y=29) size=(w=1, h=1) valid=False
  1008. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #79: pos=(x=1, y=29) size=(w=1, h=1) valid=False
  1009. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #80: pos=(x=9, y=28) size=(w=1, h=1) valid=False
  1010. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #81: pos=(x=24, y=26) size=(w=1, h=1) valid=False
  1011. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #82: pos=(x=16, y=26) size=(w=1, h=1) valid=False
  1012. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #83: pos=(x=131, y=24) size=(w=3, h=3) valid=False
  1013. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #84: pos=(x=114, y=23) size=(w=1, h=1) valid=False
  1014. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #85: pos=(x=104, y=23) size=(w=1, h=1) valid=False
  1015. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #86: pos=(x=21, y=23) size=(w=1, h=1) valid=False
  1016. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #87: pos=(x=63, y=22) size=(w=1, h=1) valid=False
  1017. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #88: pos=(x=145, y=21) size=(w=1, h=1) valid=False
  1018. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #89: pos=(x=120, y=20) size=(w=1, h=1) valid=False
  1019. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #90: pos=(x=127, y=19) size=(w=1, h=1) valid=False
  1020. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #91: pos=(x=122, y=19) size=(w=5, h=6) valid=False
  1021. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #92: pos=(x=125, y=18) size=(w=1, h=1) valid=False
  1022. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #93: pos=(x=106, y=18) size=(w=23, h=21) valid=True
  1023. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #94: pos=(x=127, y=16) size=(w=1, h=1) valid=False
  1024. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #95: pos=(x=112, y=15) size=(w=1, h=1) valid=False
  1025. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #96: pos=(x=93, y=13) size=(w=1, h=1) valid=False
  1026. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #97: pos=(x=144, y=12) size=(w=3, h=4) valid=False
  1027. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #98: pos=(x=80, y=12) size=(w=1, h=1) valid=False
  1028. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #99: pos=(x=146, y=11) size=(w=1, h=1) valid=False
  1029. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #100: pos=(x=122, y=11) size=(w=1, h=1) valid=False
  1030. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #101: pos=(x=85, y=11) size=(w=1, h=1) valid=False
  1031. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #102: pos=(x=87, y=10) size=(w=1, h=1) valid=False
  1032. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #103: pos=(x=147, y=9) size=(w=1, h=1) valid=False
  1033. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #104: pos=(x=124, y=8) size=(w=2, h=4) valid=False
  1034. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #105: pos=(x=88, y=7) size=(w=1, h=1) valid=False
  1035. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #106: pos=(x=126, y=6) size=(w=2, h=4) valid=False
  1036. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #107: pos=(x=92, y=6) size=(w=2, h=2) valid=False
  1037. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #108: pos=(x=31, y=6) size=(w=1, h=1) valid=False
  1038. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #109: pos=(x=25, y=6) size=(w=3, h=1) valid=False
  1039. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #110: pos=(x=35, y=5) size=(w=1, h=1) valid=False
  1040. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #111: pos=(x=23, y=5) size=(w=1, h=1) valid=False
  1041. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #112: pos=(x=20, y=5) size=(w=2, h=1) valid=False
  1042. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #113: pos=(x=17, y=5) size=(w=2, h=1) valid=False
  1043. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #114: pos=(x=123, y=4) size=(w=1, h=2) valid=False
  1044. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #115: pos=(x=90, y=4) size=(w=1, h=1) valid=False
  1045. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #116: pos=(x=39, y=4) size=(w=1, h=1) valid=False
  1046. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #117: pos=(x=23, y=3) size=(w=1, h=1) valid=False
  1047. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #118: pos=(x=122, y=2) size=(w=1, h=1) valid=False
  1048. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #119: pos=(x=78, y=2) size=(w=2, h=1) valid=False
  1049. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #120: pos=(x=109, y=1) size=(w=1, h=1) valid=False
  1050. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #121: pos=(x=91, y=1) size=(w=1, h=1) valid=False
  1051. 2016-03-29 04:34:17.826 DEBUG [detect_vehicles] Contour #122: pos=(x=14, y=1) size=(w=1, h=1) valid=False
  1052. 2016-03-29 04:34:17.826 DEBUG [process_frame] Found 3 valid vehicle contours.
  1053. 2016-03-29 04:34:17.826 DEBUG [process_frame] Valid vehicle contour #0: centroid=(32, 95, 45, 24), bounding_box=(54, 107)
  1054. 2016-03-29 04:34:17.826 DEBUG [process_frame] Valid vehicle contour #1: centroid=(41, 68, 43, 33), bounding_box=(62, 84)
  1055. 2016-03-29 04:34:17.826 DEBUG [process_frame] Valid vehicle contour #2: centroid=(106, 18, 23, 21), bounding_box=(117, 28)
  1056. 2016-03-29 04:34:17.826 DEBUG [process_frame] Updating vehicle count...
  1057. 2016-03-29 04:34:17.842 DEBUG [vehicle_counter] Updating count using 3 matches...
  1058. 2016-03-29 04:34:17.842 DEBUG [root] Saving processed frame #42 as 'images/processed_0042.png'
  1059. 2016-03-29 04:34:17.842 DEBUG [main] Frame #42 processed.
  1060. 2016-03-29 04:34:17.858 DEBUG [main] Capturing frame #43...
  1061. 2016-03-29 04:34:17.858 DEBUG [main] Got frame #43: shape=(120, 160, 3)
  1062. 2016-03-29 04:34:17.858 DEBUG [main] Processing frame #43...
  1063. 2016-03-29 04:34:17.858 DEBUG [root] Saving foreground mask for frame #43 as 'images/mask_0043.png'
  1064. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Found 17 vehicle contours.
  1065. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #0: pos=(x=76, y=115) size=(w=1, h=3) valid=False
  1066. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #1: pos=(x=77, y=109) size=(w=6, h=10) valid=False
  1067. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #2: pos=(x=29, y=85) size=(w=51, h=34) valid=True
  1068. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #3: pos=(x=56, y=84) size=(w=2, h=1) valid=False
  1069. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #4: pos=(x=15, y=60) size=(w=1, h=1) valid=False
  1070. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #5: pos=(x=15, y=57) size=(w=1, h=1) valid=False
  1071. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #6: pos=(x=41, y=48) size=(w=1, h=1) valid=False
  1072. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #7: pos=(x=15, y=45) size=(w=1, h=1) valid=False
  1073. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #8: pos=(x=1, y=29) size=(w=1, h=1) valid=False
  1074. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #9: pos=(x=114, y=28) size=(w=1, h=1) valid=False
  1075. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #10: pos=(x=124, y=26) size=(w=4, h=4) valid=False
  1076. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #11: pos=(x=114, y=26) size=(w=1, h=1) valid=False
  1077. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #12: pos=(x=109, y=26) size=(w=19, h=17) valid=False
  1078. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #13: pos=(x=124, y=24) size=(w=1, h=1) valid=False
  1079. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #14: pos=(x=112, y=21) size=(w=1, h=4) valid=False
  1080. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #15: pos=(x=17, y=5) size=(w=1, h=1) valid=False
  1081. 2016-03-29 04:34:17.858 DEBUG [detect_vehicles] Contour #16: pos=(x=14, y=1) size=(w=1, h=1) valid=False
  1082. 2016-03-29 04:34:17.858 DEBUG [process_frame] Found 1 valid vehicle contours.
  1083. 2016-03-29 04:34:17.858 DEBUG [process_frame] Valid vehicle contour #0: centroid=(29, 85, 51, 34), bounding_box=(54, 102)
  1084. 2016-03-29 04:34:17.858 DEBUG [process_frame] Updating vehicle count...
  1085. 2016-03-29 04:34:17.858 DEBUG [vehicle_counter] Updating count using 1 matches...
  1086. 2016-03-29 04:34:17.858 DEBUG [root] Saving processed frame #43 as 'images/processed_0043.png'
  1087. 2016-03-29 04:34:17.858 DEBUG [main] Frame #43 processed.
  1088. 2016-03-29 04:34:17.874 DEBUG [main] Capturing frame #44...
  1089. 2016-03-29 04:34:17.874 DEBUG [main] Got frame #44: shape=(120, 160, 3)
  1090. 2016-03-29 04:34:17.874 DEBUG [main] Processing frame #44...
  1091. 2016-03-29 04:34:17.874 DEBUG [root] Saving foreground mask for frame #44 as 'images/mask_0044.png'
  1092. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Found 8 vehicle contours.
  1093. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #0: pos=(x=28, y=107) size=(w=46, h=12) valid=False
  1094. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #1: pos=(x=110, y=35) size=(w=19, h=12) valid=False
  1095. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=33) size=(w=2, h=1) valid=False
  1096. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #3: pos=(x=126, y=31) size=(w=2, h=2) valid=False
  1097. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #4: pos=(x=109, y=31) size=(w=4, h=3) valid=False
  1098. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=25) size=(w=1, h=3) valid=False
  1099. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #6: pos=(x=94, y=1) size=(w=6, h=1) valid=False
  1100. 2016-03-29 04:34:17.874 DEBUG [detect_vehicles] Contour #7: pos=(x=14, y=1) size=(w=1, h=1) valid=False
  1101. 2016-03-29 04:34:17.874 DEBUG [process_frame] No valid vehicle contours found.
  1102. 2016-03-29 04:34:17.874 DEBUG [root] Saving processed frame #44 as 'images/processed_0044.png'
  1103. 2016-03-29 04:34:17.874 DEBUG [main] Frame #44 processed.
  1104. 2016-03-29 04:34:17.890 DEBUG [main] Capturing frame #45...
  1105. 2016-03-29 04:34:17.890 DEBUG [main] Got frame #45: shape=(120, 160, 3)
  1106. 2016-03-29 04:34:17.890 DEBUG [main] Processing frame #45...
  1107. 2016-03-29 04:34:17.890 DEBUG [root] Saving foreground mask for frame #45 as 'images/mask_0045.png'
  1108. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Found 10 vehicle contours.
  1109. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #0: pos=(x=110, y=45) size=(w=20, h=8) valid=False
  1110. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #1: pos=(x=110, y=43) size=(w=2, h=1) valid=False
  1111. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #2: pos=(x=128, y=41) size=(w=2, h=2) valid=False
  1112. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #3: pos=(x=110, y=40) size=(w=1, h=1) valid=False
  1113. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=38) size=(w=2, h=1) valid=False
  1114. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #5: pos=(x=127, y=36) size=(w=2, h=2) valid=False
  1115. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #6: pos=(x=121, y=36) size=(w=1, h=1) valid=False
  1116. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #7: pos=(x=110, y=36) size=(w=2, h=2) valid=False
  1117. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=29) size=(w=1, h=1) valid=False
  1118. 2016-03-29 04:34:17.890 DEBUG [detect_vehicles] Contour #9: pos=(x=93, y=1) size=(w=7, h=2) valid=False
  1119. 2016-03-29 04:34:17.890 DEBUG [process_frame] No valid vehicle contours found.
  1120. 2016-03-29 04:34:17.890 DEBUG [root] Saving processed frame #45 as 'images/processed_0045.png'
  1121. 2016-03-29 04:34:17.890 DEBUG [main] Frame #45 processed.
  1122. 2016-03-29 04:34:17.904 DEBUG [main] Capturing frame #46...
  1123. 2016-03-29 04:34:17.904 DEBUG [main] Got frame #46: shape=(120, 160, 3)
  1124. 2016-03-29 04:34:17.904 DEBUG [main] Processing frame #46...
  1125. 2016-03-29 04:34:17.904 DEBUG [root] Saving foreground mask for frame #46 as 'images/mask_0046.png'
  1126. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Found 12 vehicle contours.
  1127. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #0: pos=(x=110, y=51) size=(w=21, h=9) valid=False
  1128. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #1: pos=(x=110, y=49) size=(w=2, h=1) valid=False
  1129. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #2: pos=(x=130, y=48) size=(w=1, h=2) valid=False
  1130. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #3: pos=(x=129, y=41) size=(w=2, h=2) valid=False
  1131. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #4: pos=(x=109, y=41) size=(w=2, h=2) valid=False
  1132. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #5: pos=(x=121, y=39) size=(w=2, h=3) valid=False
  1133. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #6: pos=(x=120, y=38) size=(w=1, h=1) valid=False
  1134. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #7: pos=(x=115, y=34) size=(w=2, h=1) valid=False
  1135. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=33) size=(w=1, h=1) valid=False
  1136. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #9: pos=(x=115, y=32) size=(w=1, h=1) valid=False
  1137. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #10: pos=(x=115, y=3) size=(w=1, h=1) valid=False
  1138. 2016-03-29 04:34:17.904 DEBUG [detect_vehicles] Contour #11: pos=(x=92, y=1) size=(w=8, h=3) valid=False
  1139. 2016-03-29 04:34:17.904 DEBUG [process_frame] No valid vehicle contours found.
  1140. 2016-03-29 04:34:17.904 DEBUG [root] Saving processed frame #46 as 'images/processed_0046.png'
  1141. 2016-03-29 04:34:17.904 DEBUG [main] Frame #46 processed.
  1142. 2016-03-29 04:34:17.921 DEBUG [main] Capturing frame #47...
  1143. 2016-03-29 04:34:17.921 DEBUG [main] Got frame #47: shape=(120, 160, 3)
  1144. 2016-03-29 04:34:17.921 DEBUG [main] Processing frame #47...
  1145. 2016-03-29 04:34:17.921 DEBUG [root] Saving foreground mask for frame #47 as 'images/mask_0047.png'
  1146. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Found 13 vehicle contours.
  1147. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #0: pos=(x=128, y=57) size=(w=1, h=1) valid=False
  1148. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #1: pos=(x=124, y=57) size=(w=3, h=1) valid=False
  1149. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #2: pos=(x=110, y=56) size=(w=23, h=13) valid=False
  1150. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #3: pos=(x=130, y=55) size=(w=3, h=3) valid=False
  1151. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #4: pos=(x=122, y=52) size=(w=1, h=1) valid=False
  1152. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #5: pos=(x=114, y=49) size=(w=1, h=1) valid=False
  1153. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #6: pos=(x=109, y=48) size=(w=3, h=2) valid=False
  1154. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #7: pos=(x=131, y=47) size=(w=2, h=2) valid=False
  1155. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #8: pos=(x=122, y=44) size=(w=2, h=3) valid=False
  1156. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #9: pos=(x=123, y=40) size=(w=1, h=1) valid=False
  1157. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #10: pos=(x=113, y=36) size=(w=2, h=1) valid=False
  1158. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #11: pos=(x=115, y=3) size=(w=1, h=1) valid=False
  1159. 2016-03-29 04:34:17.921 DEBUG [detect_vehicles] Contour #12: pos=(x=91, y=1) size=(w=8, h=4) valid=False
  1160. 2016-03-29 04:34:17.921 DEBUG [process_frame] No valid vehicle contours found.
  1161. 2016-03-29 04:34:17.921 DEBUG [root] Saving processed frame #47 as 'images/processed_0047.png'
  1162. 2016-03-29 04:34:17.921 DEBUG [main] Frame #47 processed.
  1163. 2016-03-29 04:34:17.936 DEBUG [main] Capturing frame #48...
  1164. 2016-03-29 04:34:17.936 DEBUG [main] Got frame #48: shape=(120, 160, 3)
  1165. 2016-03-29 04:34:17.936 DEBUG [main] Processing frame #48...
  1166. 2016-03-29 04:34:17.936 DEBUG [root] Saving foreground mask for frame #48 as 'images/mask_0048.png'
  1167. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Found 18 vehicle contours.
  1168. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #0: pos=(x=131, y=66) size=(w=1, h=1) valid=False
  1169. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #1: pos=(x=125, y=66) size=(w=3, h=2) valid=False
  1170. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #2: pos=(x=129, y=65) size=(w=1, h=2) valid=False
  1171. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #3: pos=(x=133, y=64) size=(w=2, h=4) valid=False
  1172. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #4: pos=(x=132, y=64) size=(w=1, h=1) valid=False
  1173. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #5: pos=(x=110, y=62) size=(w=25, h=18) valid=False
  1174. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #6: pos=(x=125, y=61) size=(w=1, h=1) valid=False
  1175. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #7: pos=(x=130, y=60) size=(w=2, h=1) valid=False
  1176. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #8: pos=(x=127, y=58) size=(w=2, h=2) valid=False
  1177. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #9: pos=(x=113, y=57) size=(w=1, h=1) valid=False
  1178. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #10: pos=(x=132, y=55) size=(w=3, h=2) valid=False
  1179. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #11: pos=(x=115, y=55) size=(w=2, h=4) valid=False
  1180. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #12: pos=(x=109, y=55) size=(w=3, h=5) valid=False
  1181. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=50) size=(w=1, h=1) valid=False
  1182. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #14: pos=(x=116, y=43) size=(w=1, h=1) valid=False
  1183. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #15: pos=(x=113, y=42) size=(w=2, h=1) valid=False
  1184. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #16: pos=(x=90, y=2) size=(w=8, h=4) valid=False
  1185. 2016-03-29 04:34:17.936 DEBUG [detect_vehicles] Contour #17: pos=(x=95, y=1) size=(w=1, h=1) valid=False
  1186. 2016-03-29 04:34:17.936 DEBUG [process_frame] No valid vehicle contours found.
  1187. 2016-03-29 04:34:17.936 DEBUG [root] Saving processed frame #48 as 'images/processed_0048.png'
  1188. 2016-03-29 04:34:17.936 DEBUG [main] Frame #48 processed.
  1189. 2016-03-29 04:34:17.951 DEBUG [main] Capturing frame #49...
  1190. 2016-03-29 04:34:17.951 DEBUG [main] Got frame #49: shape=(120, 160, 3)
  1191. 2016-03-29 04:34:17.951 DEBUG [main] Processing frame #49...
  1192. 2016-03-29 04:34:17.951 DEBUG [root] Saving foreground mask for frame #49 as 'images/mask_0049.png'
  1193. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Found 23 vehicle contours.
  1194. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #0: pos=(x=110, y=80) size=(w=28, h=13) valid=False
  1195. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #1: pos=(x=132, y=75) size=(w=3, h=3) valid=False
  1196. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #2: pos=(x=135, y=74) size=(w=3, h=6) valid=False
  1197. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #3: pos=(x=127, y=74) size=(w=5, h=5) valid=False
  1198. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #4: pos=(x=134, y=69) size=(w=2, h=3) valid=False
  1199. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #5: pos=(x=131, y=69) size=(w=2, h=1) valid=False
  1200. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #6: pos=(x=125, y=68) size=(w=1, h=1) valid=False
  1201. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #7: pos=(x=110, y=67) size=(w=5, h=13) valid=False
  1202. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #8: pos=(x=135, y=65) size=(w=3, h=2) valid=False
  1203. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #9: pos=(x=128, y=65) size=(w=1, h=4) valid=False
  1204. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #10: pos=(x=108, y=65) size=(w=4, h=3) valid=False
  1205. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #11: pos=(x=115, y=64) size=(w=4, h=5) valid=False
  1206. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #12: pos=(x=130, y=59) size=(w=2, h=1) valid=False
  1207. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #13: pos=(x=128, y=59) size=(w=1, h=1) valid=False
  1208. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #14: pos=(x=129, y=57) size=(w=1, h=1) valid=False
  1209. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #15: pos=(x=113, y=55) size=(w=1, h=2) valid=False
  1210. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #16: pos=(x=113, y=51) size=(w=1, h=1) valid=False
  1211. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #17: pos=(x=128, y=49) size=(w=1, h=1) valid=False
  1212. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #18: pos=(x=113, y=49) size=(w=1, h=1) valid=False
  1213. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #19: pos=(x=115, y=48) size=(w=1, h=1) valid=False
  1214. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #20: pos=(x=98, y=4) size=(w=1, h=1) valid=False
  1215. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #21: pos=(x=89, y=4) size=(w=8, h=4) valid=False
  1216. 2016-03-29 04:34:17.951 DEBUG [detect_vehicles] Contour #22: pos=(x=93, y=1) size=(w=4, h=2) valid=False
  1217. 2016-03-29 04:34:17.951 DEBUG [process_frame] No valid vehicle contours found.
  1218. 2016-03-29 04:34:17.951 DEBUG [root] Saving processed frame #49 as 'images/processed_0049.png'
  1219. 2016-03-29 04:34:17.951 DEBUG [main] Frame #49 processed.
  1220. 2016-03-29 04:34:17.967 DEBUG [main] Capturing frame #50...
  1221. 2016-03-29 04:34:17.967 DEBUG [main] Got frame #50: shape=(120, 160, 3)
  1222. 2016-03-29 04:34:17.967 DEBUG [main] Processing frame #50...
  1223. 2016-03-29 04:34:17.967 DEBUG [root] Saving foreground mask for frame #50 as 'images/mask_0050.png'
  1224. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Found 27 vehicle contours.
  1225. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #0: pos=(x=133, y=97) size=(w=1, h=1) valid=False
  1226. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #1: pos=(x=121, y=97) size=(w=1, h=1) valid=False
  1227. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #2: pos=(x=135, y=96) size=(w=1, h=1) valid=False
  1228. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #3: pos=(x=123, y=93) size=(w=3, h=1) valid=False
  1229. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #4: pos=(x=133, y=92) size=(w=1, h=1) valid=False
  1230. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #5: pos=(x=136, y=84) size=(w=1, h=1) valid=False
  1231. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #6: pos=(x=128, y=84) size=(w=7, h=8) valid=False
  1232. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #7: pos=(x=133, y=82) size=(w=3, h=1) valid=False
  1233. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #8: pos=(x=135, y=81) size=(w=6, h=15) valid=False
  1234. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #9: pos=(x=125, y=81) size=(w=1, h=1) valid=False
  1235. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #10: pos=(x=137, y=77) size=(w=4, h=3) valid=False
  1236. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #11: pos=(x=130, y=77) size=(w=1, h=1) valid=False
  1237. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #12: pos=(x=112, y=75) size=(w=1, h=2) valid=False
  1238. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #13: pos=(x=129, y=74) size=(w=2, h=2) valid=False
  1239. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #14: pos=(x=108, y=72) size=(w=33, h=37) valid=True
  1240. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #15: pos=(x=131, y=70) size=(w=3, h=1) valid=False
  1241. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #16: pos=(x=129, y=68) size=(w=3, h=1) valid=False
  1242. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #17: pos=(x=112, y=65) size=(w=2, h=6) valid=False
  1243. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #18: pos=(x=117, y=61) size=(w=2, h=2) valid=False
  1244. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #19: pos=(x=113, y=60) size=(w=1, h=2) valid=False
  1245. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #20: pos=(x=113, y=58) size=(w=1, h=1) valid=False
  1246. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #21: pos=(x=129, y=56) size=(w=1, h=1) valid=False
  1247. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #22: pos=(x=116, y=56) size=(w=2, h=1) valid=False
  1248. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #23: pos=(x=89, y=3) size=(w=9, h=6) valid=False
  1249. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #24: pos=(x=97, y=2) size=(w=1, h=1) valid=False
  1250. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #25: pos=(x=112, y=1) size=(w=4, h=1) valid=False
  1251. 2016-03-29 04:34:17.967 DEBUG [detect_vehicles] Contour #26: pos=(x=92, y=1) size=(w=4, h=3) valid=False
  1252. 2016-03-29 04:34:17.967 DEBUG [process_frame] Found 1 valid vehicle contours.
  1253. 2016-03-29 04:34:17.967 DEBUG [process_frame] Valid vehicle contour #0: centroid=(108, 72, 33, 37), bounding_box=(124, 90)
  1254. 2016-03-29 04:34:17.967 DEBUG [process_frame] Updating vehicle count...
  1255. 2016-03-29 04:34:17.967 DEBUG [vehicle_counter] Updating count using 1 matches...
  1256. 2016-03-29 04:34:17.967 DEBUG [root] Saving processed frame #50 as 'images/processed_0050.png'
  1257. 2016-03-29 04:34:17.967 DEBUG [main] Frame #50 processed.
  1258. 2016-03-29 04:34:17.983 DEBUG [main] Capturing frame #51...
  1259. 2016-03-29 04:34:17.983 DEBUG [main] Got frame #51: shape=(120, 160, 3)
  1260. 2016-03-29 04:34:17.983 DEBUG [main] Processing frame #51...
  1261. 2016-03-29 04:34:17.983 DEBUG [root] Saving foreground mask for frame #51 as 'images/mask_0051.png'
  1262. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Found 41 vehicle contours.
  1263. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #0: pos=(x=136, y=118) size=(w=1, h=1) valid=False
  1264. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #1: pos=(x=127, y=118) size=(w=4, h=1) valid=False
  1265. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=118) size=(w=1, h=1) valid=False
  1266. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #3: pos=(x=138, y=117) size=(w=1, h=1) valid=False
  1267. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #4: pos=(x=120, y=115) size=(w=1, h=1) valid=False
  1268. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #5: pos=(x=140, y=114) size=(w=4, h=5) valid=False
  1269. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #6: pos=(x=125, y=110) size=(w=2, h=1) valid=False
  1270. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #7: pos=(x=130, y=101) size=(w=7, h=8) valid=False
  1271. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #8: pos=(x=135, y=99) size=(w=3, h=1) valid=False
  1272. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #9: pos=(x=139, y=98) size=(w=1, h=1) valid=False
  1273. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #10: pos=(x=136, y=97) size=(w=9, h=16) valid=False
  1274. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #11: pos=(x=133, y=97) size=(w=1, h=2) valid=False
  1275. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #12: pos=(x=123, y=96) size=(w=3, h=3) valid=False
  1276. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #13: pos=(x=113, y=95) size=(w=2, h=2) valid=False
  1277. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #14: pos=(x=140, y=92) size=(w=5, h=3) valid=False
  1278. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #15: pos=(x=139, y=92) size=(w=1, h=1) valid=False
  1279. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #16: pos=(x=112, y=90) size=(w=1, h=2) valid=False
  1280. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #17: pos=(x=132, y=89) size=(w=2, h=2) valid=False
  1281. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #18: pos=(x=132, y=87) size=(w=1, h=1) valid=False
  1282. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #19: pos=(x=114, y=87) size=(w=2, h=4) valid=False
  1283. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #20: pos=(x=117, y=86) size=(w=4, h=14) valid=False
  1284. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #21: pos=(x=107, y=86) size=(w=7, h=33) valid=False
  1285. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #22: pos=(x=133, y=84) size=(w=4, h=2) valid=False
  1286. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #23: pos=(x=131, y=84) size=(w=1, h=2) valid=False
  1287. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #24: pos=(x=112, y=84) size=(w=1, h=1) valid=False
  1288. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #25: pos=(x=110, y=83) size=(w=1, h=1) valid=False
  1289. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #26: pos=(x=129, y=82) size=(w=3, h=1) valid=False
  1290. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #27: pos=(x=133, y=81) size=(w=1, h=1) valid=False
  1291. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #28: pos=(x=112, y=76) size=(w=2, h=7) valid=False
  1292. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #29: pos=(x=132, y=75) size=(w=1, h=1) valid=False
  1293. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #30: pos=(x=135, y=73) size=(w=1, h=1) valid=False
  1294. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #31: pos=(x=125, y=73) size=(w=3, h=1) valid=False
  1295. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #32: pos=(x=120, y=72) size=(w=2, h=1) valid=False
  1296. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #33: pos=(x=118, y=72) size=(w=1, h=2) valid=False
  1297. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #34: pos=(x=112, y=71) size=(w=2, h=3) valid=False
  1298. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #35: pos=(x=117, y=69) size=(w=1, h=1) valid=False
  1299. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #36: pos=(x=118, y=66) size=(w=3, h=1) valid=False
  1300. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #37: pos=(x=87, y=6) size=(w=10, h=5) valid=False
  1301. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #38: pos=(x=96, y=3) size=(w=1, h=2) valid=False
  1302. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #39: pos=(x=112, y=1) size=(w=6, h=2) valid=False
  1303. 2016-03-29 04:34:17.983 DEBUG [detect_vehicles] Contour #40: pos=(x=91, y=1) size=(w=4, h=5) valid=False
  1304. 2016-03-29 04:34:17.983 DEBUG [process_frame] No valid vehicle contours found.
  1305. 2016-03-29 04:34:17.983 DEBUG [root] Saving processed frame #51 as 'images/processed_0051.png'
  1306. 2016-03-29 04:34:17.983 DEBUG [main] Frame #51 processed.
  1307. 2016-03-29 04:34:18.015 DEBUG [main] Capturing frame #52...
  1308. 2016-03-29 04:34:18.015 DEBUG [main] Got frame #52: shape=(120, 160, 3)
  1309. 2016-03-29 04:34:18.015 DEBUG [main] Processing frame #52...
  1310. 2016-03-29 04:34:18.015 DEBUG [root] Saving foreground mask for frame #52 as 'images/mask_0052.png'
  1311. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Found 28 vehicle contours.
  1312. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #0: pos=(x=113, y=116) size=(w=2, h=2) valid=False
  1313. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #1: pos=(x=144, y=112) size=(w=6, h=5) valid=False
  1314. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #2: pos=(x=143, y=111) size=(w=1, h=1) valid=False
  1315. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #3: pos=(x=135, y=109) size=(w=2, h=3) valid=False
  1316. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #4: pos=(x=142, y=108) size=(w=1, h=1) valid=False
  1317. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=107) size=(w=1, h=1) valid=False
  1318. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #6: pos=(x=113, y=106) size=(w=2, h=3) valid=False
  1319. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #7: pos=(x=117, y=105) size=(w=19, h=14) valid=False
  1320. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #8: pos=(x=138, y=102) size=(w=4, h=4) valid=False
  1321. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #9: pos=(x=119, y=102) size=(w=1, h=1) valid=False
  1322. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #10: pos=(x=132, y=99) size=(w=2, h=1) valid=False
  1323. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #11: pos=(x=136, y=97) size=(w=1, h=2) valid=False
  1324. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #12: pos=(x=133, y=88) size=(w=1, h=1) valid=False
  1325. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #13: pos=(x=128, y=86) size=(w=1, h=1) valid=False
  1326. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #14: pos=(x=121, y=85) size=(w=1, h=1) valid=False
  1327. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #15: pos=(x=119, y=85) size=(w=1, h=1) valid=False
  1328. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #16: pos=(x=137, y=82) size=(w=1, h=2) valid=False
  1329. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #17: pos=(x=115, y=82) size=(w=2, h=1) valid=False
  1330. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #18: pos=(x=106, y=81) size=(w=9, h=38) valid=False
  1331. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #19: pos=(x=125, y=79) size=(w=3, h=1) valid=False
  1332. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #20: pos=(x=117, y=77) size=(w=4, h=3) valid=False
  1333. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #21: pos=(x=86, y=7) size=(w=11, h=5) valid=False
  1334. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #22: pos=(x=95, y=5) size=(w=1, h=1) valid=False
  1335. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #23: pos=(x=87, y=5) size=(w=2, h=1) valid=False
  1336. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #24: pos=(x=117, y=2) size=(w=2, h=2) valid=False
  1337. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #25: pos=(x=89, y=2) size=(w=5, h=5) valid=False
  1338. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #26: pos=(x=112, y=1) size=(w=2, h=1) valid=False
  1339. 2016-03-29 04:34:18.015 DEBUG [detect_vehicles] Contour #27: pos=(x=98, y=1) size=(w=5, h=1) valid=False
  1340. 2016-03-29 04:34:18.015 DEBUG [process_frame] No valid vehicle contours found.
  1341. 2016-03-29 04:34:18.015 DEBUG [root] Saving processed frame #52 as 'images/processed_0052.png'
  1342. 2016-03-29 04:34:18.015 DEBUG [main] Frame #52 processed.
  1343. 2016-03-29 04:34:18.029 DEBUG [main] Capturing frame #53...
  1344. 2016-03-29 04:34:18.029 DEBUG [main] Got frame #53: shape=(120, 160, 3)
  1345. 2016-03-29 04:34:18.029 DEBUG [main] Processing frame #53...
  1346. 2016-03-29 04:34:18.029 DEBUG [root] Saving foreground mask for frame #53 as 'images/mask_0053.png'
  1347. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Found 19 vehicle contours.
  1348. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #0: pos=(x=144, y=118) size=(w=1, h=1) valid=False
  1349. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #1: pos=(x=143, y=116) size=(w=1, h=1) valid=False
  1350. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #2: pos=(x=135, y=105) size=(w=1, h=1) valid=False
  1351. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #3: pos=(x=140, y=103) size=(w=2, h=2) valid=False
  1352. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #4: pos=(x=116, y=99) size=(w=1, h=1) valid=False
  1353. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #5: pos=(x=140, y=98) size=(w=2, h=4) valid=False
  1354. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #6: pos=(x=131, y=98) size=(w=1, h=1) valid=False
  1355. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #7: pos=(x=120, y=98) size=(w=1, h=1) valid=False
  1356. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #8: pos=(x=139, y=96) size=(w=1, h=1) valid=False
  1357. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #9: pos=(x=135, y=96) size=(w=1, h=1) valid=False
  1358. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #10: pos=(x=109, y=96) size=(w=6, h=23) valid=False
  1359. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #11: pos=(x=94, y=9) size=(w=2, h=1) valid=False
  1360. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #12: pos=(x=85, y=9) size=(w=9, h=5) valid=False
  1361. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #13: pos=(x=86, y=7) size=(w=1, h=1) valid=False
  1362. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #14: pos=(x=94, y=6) size=(w=1, h=2) valid=False
  1363. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #15: pos=(x=113, y=4) size=(w=6, h=1) valid=False
  1364. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #16: pos=(x=89, y=4) size=(w=4, h=4) valid=False
  1365. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #17: pos=(x=111, y=1) size=(w=7, h=2) valid=False
  1366. 2016-03-29 04:34:18.029 DEBUG [detect_vehicles] Contour #18: pos=(x=97, y=1) size=(w=8, h=2) valid=False
  1367. 2016-03-29 04:34:18.029 DEBUG [process_frame] No valid vehicle contours found.
  1368. 2016-03-29 04:34:18.029 DEBUG [root] Saving processed frame #53 as 'images/processed_0053.png'
  1369. 2016-03-29 04:34:18.029 DEBUG [main] Frame #53 processed.
  1370. 2016-03-29 04:34:18.046 DEBUG [main] Capturing frame #54...
  1371. 2016-03-29 04:34:18.046 DEBUG [main] Got frame #54: shape=(120, 160, 3)
  1372. 2016-03-29 04:34:18.046 DEBUG [main] Processing frame #54...
  1373. 2016-03-29 04:34:18.046 DEBUG [root] Saving foreground mask for frame #54 as 'images/mask_0054.png'
  1374. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Found 9 vehicle contours.
  1375. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #0: pos=(x=143, y=116) size=(w=2, h=3) valid=False
  1376. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #1: pos=(x=111, y=114) size=(w=2, h=5) valid=False
  1377. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #2: pos=(x=83, y=11) size=(w=12, h=5) valid=False
  1378. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #3: pos=(x=85, y=10) size=(w=3, h=1) valid=False
  1379. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #4: pos=(x=93, y=8) size=(w=1, h=2) valid=False
  1380. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #5: pos=(x=85, y=6) size=(w=7, h=4) valid=False
  1381. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #6: pos=(x=88, y=4) size=(w=2, h=1) valid=False
  1382. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #7: pos=(x=97, y=2) size=(w=7, h=2) valid=False
  1383. 2016-03-29 04:34:18.046 DEBUG [detect_vehicles] Contour #8: pos=(x=111, y=1) size=(w=9, h=5) valid=False
  1384. 2016-03-29 04:34:18.046 DEBUG [process_frame] No valid vehicle contours found.
  1385. 2016-03-29 04:34:18.046 DEBUG [root] Saving processed frame #54 as 'images/processed_0054.png'
  1386. 2016-03-29 04:34:18.046 DEBUG [main] Frame #54 processed.
  1387. 2016-03-29 04:34:18.061 DEBUG [main] Capturing frame #55...
  1388. 2016-03-29 04:34:18.061 DEBUG [main] Got frame #55: shape=(120, 160, 3)
  1389. 2016-03-29 04:34:18.061 DEBUG [main] Processing frame #55...
  1390. 2016-03-29 04:34:18.061 DEBUG [root] Saving foreground mask for frame #55 as 'images/mask_0055.png'
  1391. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Found 9 vehicle contours.
  1392. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #0: pos=(x=83, y=12) size=(w=1, h=1) valid=False
  1393. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #1: pos=(x=87, y=11) size=(w=1, h=1) valid=False
  1394. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #2: pos=(x=84, y=10) size=(w=1, h=1) valid=False
  1395. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #3: pos=(x=82, y=9) size=(w=12, h=9) valid=False
  1396. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=6) size=(w=8, h=2) valid=False
  1397. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #5: pos=(x=85, y=6) size=(w=7, h=6) valid=False
  1398. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #6: pos=(x=112, y=2) size=(w=8, h=3) valid=False
  1399. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #7: pos=(x=96, y=1) size=(w=8, h=4) valid=False
  1400. 2016-03-29 04:34:18.061 DEBUG [detect_vehicles] Contour #8: pos=(x=97, y=1) size=(w=1, h=2) valid=False
  1401. 2016-03-29 04:34:18.061 DEBUG [process_frame] No valid vehicle contours found.
  1402. 2016-03-29 04:34:18.061 DEBUG [root] Saving processed frame #55 as 'images/processed_0055.png'
  1403. 2016-03-29 04:34:18.061 DEBUG [main] Frame #55 processed.
  1404. 2016-03-29 04:34:18.076 DEBUG [main] Capturing frame #56...
  1405. 2016-03-29 04:34:18.076 DEBUG [main] Got frame #56: shape=(120, 160, 3)
  1406. 2016-03-29 04:34:18.076 DEBUG [main] Processing frame #56...
  1407. 2016-03-29 04:34:18.076 DEBUG [root] Saving foreground mask for frame #56 as 'images/mask_0056.png'
  1408. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Found 8 vehicle contours.
  1409. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #0: pos=(x=82, y=13) size=(w=1, h=2) valid=False
  1410. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #1: pos=(x=80, y=11) size=(w=13, h=10) valid=False
  1411. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=8) size=(w=8, h=2) valid=False
  1412. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #3: pos=(x=87, y=8) size=(w=4, h=2) valid=False
  1413. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #4: pos=(x=84, y=8) size=(w=1, h=1) valid=False
  1414. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #5: pos=(x=88, y=7) size=(w=1, h=1) valid=False
  1415. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #6: pos=(x=111, y=2) size=(w=9, h=5) valid=False
  1416. 2016-03-29 04:34:18.076 DEBUG [detect_vehicles] Contour #7: pos=(x=96, y=1) size=(w=8, h=5) valid=False
  1417. 2016-03-29 04:34:18.076 DEBUG [process_frame] No valid vehicle contours found.
  1418. 2016-03-29 04:34:18.076 DEBUG [root] Saving processed frame #56 as 'images/processed_0056.png'
  1419. 2016-03-29 04:34:18.076 DEBUG [main] Frame #56 processed.
  1420. 2016-03-29 04:34:18.092 DEBUG [main] Capturing frame #57...
  1421. 2016-03-29 04:34:18.092 DEBUG [main] Got frame #57: shape=(120, 160, 3)
  1422. 2016-03-29 04:34:18.092 DEBUG [main] Processing frame #57...
  1423. 2016-03-29 04:34:18.092 DEBUG [root] Saving foreground mask for frame #57 as 'images/mask_0057.png'
  1424. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Found 10 vehicle contours.
  1425. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #0: pos=(x=80, y=15) size=(w=1, h=2) valid=False
  1426. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #1: pos=(x=79, y=12) size=(w=13, h=11) valid=False
  1427. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #2: pos=(x=89, y=10) size=(w=1, h=2) valid=False
  1428. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=9) size=(w=9, h=2) valid=False
  1429. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #4: pos=(x=95, y=6) size=(w=8, h=2) valid=False
  1430. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=5) size=(w=9, h=4) valid=False
  1431. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #6: pos=(x=116, y=3) size=(w=1, h=1) valid=False
  1432. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #7: pos=(x=96, y=2) size=(w=7, h=3) valid=False
  1433. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #8: pos=(x=158, y=1) size=(w=1, h=1) valid=False
  1434. 2016-03-29 04:34:18.092 DEBUG [detect_vehicles] Contour #9: pos=(x=117, y=1) size=(w=2, h=1) valid=False
  1435. 2016-03-29 04:34:18.092 DEBUG [process_frame] No valid vehicle contours found.
  1436. 2016-03-29 04:34:18.092 DEBUG [root] Saving processed frame #57 as 'images/processed_0057.png'
  1437. 2016-03-29 04:34:18.092 DEBUG [main] Frame #57 processed.
  1438. 2016-03-29 04:34:18.108 DEBUG [main] Capturing frame #58...
  1439. 2016-03-29 04:34:18.108 DEBUG [main] Got frame #58: shape=(120, 160, 3)
  1440. 2016-03-29 04:34:18.108 DEBUG [main] Processing frame #58...
  1441. 2016-03-29 04:34:18.108 DEBUG [root] Saving foreground mask for frame #58 as 'images/mask_0058.png'
  1442. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Found 11 vehicle contours.
  1443. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #0: pos=(x=77, y=20) size=(w=11, h=6) valid=False
  1444. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #1: pos=(x=78, y=18) size=(w=2, h=1) valid=False
  1445. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #2: pos=(x=86, y=17) size=(w=1, h=1) valid=False
  1446. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #3: pos=(x=78, y=16) size=(w=2, h=1) valid=False
  1447. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #4: pos=(x=87, y=14) size=(w=4, h=7) valid=False
  1448. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=11) size=(w=9, h=2) valid=False
  1449. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #6: pos=(x=84, y=11) size=(w=5, h=3) valid=False
  1450. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #7: pos=(x=111, y=6) size=(w=10, h=4) valid=False
  1451. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #8: pos=(x=95, y=3) size=(w=8, h=6) valid=False
  1452. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #9: pos=(x=113, y=2) size=(w=6, h=1) valid=False
  1453. 2016-03-29 04:34:18.108 DEBUG [detect_vehicles] Contour #10: pos=(x=158, y=1) size=(w=1, h=1) valid=False
  1454. 2016-03-29 04:34:18.108 DEBUG [process_frame] No valid vehicle contours found.
  1455. 2016-03-29 04:34:18.108 DEBUG [root] Saving processed frame #58 as 'images/processed_0058.png'
  1456. 2016-03-29 04:34:18.108 DEBUG [main] Frame #58 processed.
  1457. 2016-03-29 04:34:18.124 DEBUG [main] Capturing frame #59...
  1458. 2016-03-29 04:34:18.124 DEBUG [main] Got frame #59: shape=(120, 160, 3)
  1459. 2016-03-29 04:34:18.124 DEBUG [main] Processing frame #59...
  1460. 2016-03-29 04:34:18.124 DEBUG [root] Saving foreground mask for frame #59 as 'images/mask_0059.png'
  1461. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Found 14 vehicle contours.
  1462. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #0: pos=(x=75, y=22) size=(w=1, h=1) valid=False
  1463. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #1: pos=(x=76, y=18) size=(w=1, h=1) valid=False
  1464. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #2: pos=(x=74, y=16) size=(w=15, h=13) valid=False
  1465. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #3: pos=(x=86, y=15) size=(w=1, h=2) valid=False
  1466. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #4: pos=(x=80, y=14) size=(w=1, h=1) valid=False
  1467. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=13) size=(w=10, h=2) valid=False
  1468. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #6: pos=(x=82, y=13) size=(w=4, h=1) valid=False
  1469. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #7: pos=(x=112, y=8) size=(w=10, h=4) valid=False
  1470. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #8: pos=(x=94, y=8) size=(w=9, h=3) valid=False
  1471. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #9: pos=(x=115, y=6) size=(w=2, h=1) valid=False
  1472. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #10: pos=(x=94, y=4) size=(w=9, h=4) valid=False
  1473. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #11: pos=(x=116, y=3) size=(w=3, h=2) valid=False
  1474. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #12: pos=(x=113, y=3) size=(w=2, h=2) valid=False
  1475. 2016-03-29 04:34:18.124 DEBUG [detect_vehicles] Contour #13: pos=(x=96, y=1) size=(w=1, h=1) valid=False
  1476. 2016-03-29 04:34:18.124 DEBUG [process_frame] No valid vehicle contours found.
  1477. 2016-03-29 04:34:18.124 DEBUG [root] Saving processed frame #59 as 'images/processed_0059.png'
  1478. 2016-03-29 04:34:18.124 DEBUG [main] Frame #59 processed.
  1479. 2016-03-29 04:34:18.140 DEBUG [main] Capturing frame #60...
  1480. 2016-03-29 04:34:18.140 DEBUG [main] Got frame #60: shape=(120, 160, 3)
  1481. 2016-03-29 04:34:18.140 DEBUG [main] Processing frame #60...
  1482. 2016-03-29 04:34:18.140 DEBUG [root] Saving foreground mask for frame #60 as 'images/mask_0060.png'
  1483. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Found 13 vehicle contours.
  1484. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #0: pos=(x=79, y=21) size=(w=1, h=1) valid=False
  1485. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #1: pos=(x=73, y=21) size=(w=3, h=1) valid=False
  1486. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #2: pos=(x=72, y=18) size=(w=16, h=14) valid=False
  1487. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #3: pos=(x=76, y=18) size=(w=1, h=1) valid=False
  1488. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #4: pos=(x=84, y=17) size=(w=2, h=2) valid=False
  1489. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #5: pos=(x=78, y=16) size=(w=1, h=1) valid=False
  1490. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #6: pos=(x=111, y=15) size=(w=12, h=2) valid=False
  1491. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #7: pos=(x=83, y=15) size=(w=1, h=1) valid=False
  1492. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=10) size=(w=10, h=4) valid=False
  1493. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #9: pos=(x=116, y=8) size=(w=1, h=1) valid=False
  1494. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #10: pos=(x=114, y=5) size=(w=6, h=2) valid=False
  1495. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #11: pos=(x=93, y=5) size=(w=10, h=8) valid=False
  1496. 2016-03-29 04:34:18.140 DEBUG [detect_vehicles] Contour #12: pos=(x=96, y=2) size=(w=5, h=1) valid=False
  1497. 2016-03-29 04:34:18.140 DEBUG [process_frame] No valid vehicle contours found.
  1498. 2016-03-29 04:34:18.140 DEBUG [root] Saving processed frame #60 as 'images/processed_0060.png'
  1499. 2016-03-29 04:34:18.140 DEBUG [main] Frame #60 processed.
  1500. 2016-03-29 04:34:18.154 DEBUG [main] Capturing frame #61...
  1501. 2016-03-29 04:34:18.154 DEBUG [main] Got frame #61: shape=(120, 160, 3)
  1502. 2016-03-29 04:34:18.154 DEBUG [main] Processing frame #61...
  1503. 2016-03-29 04:34:18.154 DEBUG [root] Saving foreground mask for frame #61 as 'images/mask_0061.png'
  1504. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Found 14 vehicle contours.
  1505. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #0: pos=(x=70, y=28) size=(w=1, h=1) valid=False
  1506. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #1: pos=(x=72, y=23) size=(w=2, h=3) valid=False
  1507. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #2: pos=(x=69, y=21) size=(w=17, h=15) valid=False
  1508. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #3: pos=(x=74, y=21) size=(w=1, h=1) valid=False
  1509. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #4: pos=(x=82, y=19) size=(w=2, h=3) valid=False
  1510. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #5: pos=(x=75, y=19) size=(w=1, h=1) valid=False
  1511. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #6: pos=(x=81, y=18) size=(w=1, h=1) valid=False
  1512. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #7: pos=(x=77, y=18) size=(w=1, h=1) valid=False
  1513. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=12) size=(w=11, h=8) valid=False
  1514. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #9: pos=(x=93, y=12) size=(w=10, h=2) valid=False
  1515. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #10: pos=(x=116, y=9) size=(w=1, h=1) valid=False
  1516. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #11: pos=(x=93, y=7) size=(w=9, h=4) valid=False
  1517. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #12: pos=(x=113, y=6) size=(w=7, h=2) valid=False
  1518. 2016-03-29 04:34:18.154 DEBUG [detect_vehicles] Contour #13: pos=(x=96, y=3) size=(w=5, h=1) valid=False
  1519. 2016-03-29 04:34:18.154 DEBUG [process_frame] No valid vehicle contours found.
  1520. 2016-03-29 04:34:18.154 DEBUG [root] Saving processed frame #61 as 'images/processed_0061.png'
  1521. 2016-03-29 04:34:18.154 DEBUG [main] Frame #61 processed.
  1522. 2016-03-29 04:34:18.171 DEBUG [main] Capturing frame #62...
  1523. 2016-03-29 04:34:18.171 DEBUG [main] Got frame #62: shape=(120, 160, 3)
  1524. 2016-03-29 04:34:18.171 DEBUG [main] Processing frame #62...
  1525. 2016-03-29 04:34:18.171 DEBUG [root] Saving foreground mask for frame #62 as 'images/mask_0062.png'
  1526. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Found 11 vehicle contours.
  1527. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #0: pos=(x=66, y=23) size=(w=19, h=17) valid=False
  1528. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #1: pos=(x=68, y=23) size=(w=5, h=5) valid=False
  1529. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #2: pos=(x=80, y=21) size=(w=3, h=4) valid=False
  1530. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #3: pos=(x=111, y=20) size=(w=13, h=2) valid=False
  1531. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #4: pos=(x=78, y=20) size=(w=2, h=1) valid=False
  1532. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=14) size=(w=11, h=5) valid=False
  1533. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #6: pos=(x=92, y=14) size=(w=10, h=2) valid=False
  1534. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #7: pos=(x=116, y=11) size=(w=1, h=1) valid=False
  1535. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #8: pos=(x=113, y=8) size=(w=8, h=2) valid=False
  1536. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #9: pos=(x=92, y=8) size=(w=10, h=5) valid=False
  1537. 2016-03-29 04:34:18.171 DEBUG [detect_vehicles] Contour #10: pos=(x=94, y=4) size=(w=6, h=2) valid=False
  1538. 2016-03-29 04:34:18.171 DEBUG [process_frame] No valid vehicle contours found.
  1539. 2016-03-29 04:34:18.171 DEBUG [root] Saving processed frame #62 as 'images/processed_0062.png'
  1540. 2016-03-29 04:34:18.171 DEBUG [main] Frame #62 processed.
  1541. 2016-03-29 04:34:18.186 DEBUG [main] Capturing frame #63...
  1542. 2016-03-29 04:34:18.186 DEBUG [main] Got frame #63: shape=(120, 160, 3)
  1543. 2016-03-29 04:34:18.186 DEBUG [main] Processing frame #63...
  1544. 2016-03-29 04:34:18.186 DEBUG [root] Saving foreground mask for frame #63 as 'images/mask_0063.png'
  1545. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Found 15 vehicle contours.
  1546. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #0: pos=(x=71, y=32) size=(w=2, h=1) valid=False
  1547. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #1: pos=(x=74, y=26) size=(w=2, h=1) valid=False
  1548. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #2: pos=(x=65, y=26) size=(w=6, h=5) valid=False
  1549. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #3: pos=(x=63, y=25) size=(w=20, h=19) valid=False
  1550. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #4: pos=(x=70, y=24) size=(w=1, h=1) valid=False
  1551. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #5: pos=(x=111, y=23) size=(w=13, h=2) valid=False
  1552. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #6: pos=(x=78, y=23) size=(w=3, h=5) valid=False
  1553. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #7: pos=(x=76, y=23) size=(w=1, h=1) valid=False
  1554. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=16) size=(w=12, h=6) valid=False
  1555. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #9: pos=(x=91, y=16) size=(w=11, h=3) valid=False
  1556. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #10: pos=(x=102, y=12) size=(w=1, h=1) valid=False
  1557. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #11: pos=(x=114, y=10) size=(w=7, h=2) valid=False
  1558. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #12: pos=(x=91, y=10) size=(w=10, h=5) valid=False
  1559. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #13: pos=(x=101, y=9) size=(w=1, h=1) valid=False
  1560. 2016-03-29 04:34:18.186 DEBUG [detect_vehicles] Contour #14: pos=(x=94, y=6) size=(w=6, h=1) valid=False
  1561. 2016-03-29 04:34:18.186 DEBUG [process_frame] No valid vehicle contours found.
  1562. 2016-03-29 04:34:18.186 DEBUG [root] Saving processed frame #63 as 'images/processed_0063.png'
  1563. 2016-03-29 04:34:18.186 DEBUG [main] Frame #63 processed.
  1564. 2016-03-29 04:34:18.201 DEBUG [main] Capturing frame #64...
  1565. 2016-03-29 04:34:18.201 DEBUG [main] Got frame #64: shape=(120, 160, 3)
  1566. 2016-03-29 04:34:18.201 DEBUG [main] Processing frame #64...
  1567. 2016-03-29 04:34:18.201 DEBUG [root] Saving foreground mask for frame #64 as 'images/mask_0064.png'
  1568. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Found 15 vehicle contours.
  1569. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #0: pos=(x=74, y=34) size=(w=1, h=1) valid=False
  1570. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #1: pos=(x=62, y=33) size=(w=3, h=3) valid=False
  1571. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #2: pos=(x=71, y=30) size=(w=2, h=1) valid=False
  1572. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #3: pos=(x=64, y=30) size=(w=4, h=2) valid=False
  1573. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #4: pos=(x=60, y=28) size=(w=21, h=21) valid=True
  1574. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #5: pos=(x=75, y=26) size=(w=4, h=6) valid=False
  1575. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #6: pos=(x=74, y=26) size=(w=1, h=1) valid=False
  1576. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #7: pos=(x=111, y=19) size=(w=14, h=9) valid=False
  1577. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #8: pos=(x=124, y=17) size=(w=1, h=1) valid=False
  1578. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #9: pos=(x=120, y=17) size=(w=1, h=1) valid=False
  1579. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #10: pos=(x=111, y=16) size=(w=1, h=1) valid=False
  1580. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #11: pos=(x=90, y=13) size=(w=12, h=8) valid=False
  1581. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #12: pos=(x=114, y=12) size=(w=8, h=3) valid=False
  1582. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #13: pos=(x=97, y=11) size=(w=1, h=1) valid=False
  1583. 2016-03-29 04:34:18.201 DEBUG [detect_vehicles] Contour #14: pos=(x=93, y=8) size=(w=6, h=1) valid=False
  1584. 2016-03-29 04:34:18.201 DEBUG [process_frame] Found 1 valid vehicle contours.
  1585. 2016-03-29 04:34:18.201 DEBUG [process_frame] Valid vehicle contour #0: centroid=(60, 28, 21, 21), bounding_box=(70, 38)
  1586. 2016-03-29 04:34:18.201 DEBUG [process_frame] Updating vehicle count...
  1587. 2016-03-29 04:34:18.201 DEBUG [vehicle_counter] Updating count using 1 matches...
  1588. 2016-03-29 04:34:18.201 DEBUG [root] Saving processed frame #64 as 'images/processed_0064.png'
  1589. 2016-03-29 04:34:18.201 DEBUG [main] Frame #64 processed.
  1590. 2016-03-29 04:34:18.217 DEBUG [main] Capturing frame #65...
  1591. 2016-03-29 04:34:18.217 DEBUG [main] Got frame #65: shape=(120, 160, 3)
  1592. 2016-03-29 04:34:18.217 DEBUG [main] Processing frame #65...
  1593. 2016-03-29 04:34:18.217 DEBUG [root] Saving foreground mask for frame #65 as 'images/mask_0065.png'
  1594. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Found 18 vehicle contours.
  1595. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #0: pos=(x=66, y=38) size=(w=1, h=1) valid=False
  1596. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #1: pos=(x=69, y=34) size=(w=1, h=1) valid=False
  1597. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #2: pos=(x=58, y=34) size=(w=7, h=6) valid=False
  1598. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #3: pos=(x=56, y=32) size=(w=23, h=22) valid=True
  1599. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #4: pos=(x=72, y=30) size=(w=4, h=6) valid=False
  1600. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #5: pos=(x=73, y=30) size=(w=1, h=1) valid=False
  1601. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #6: pos=(x=66, y=30) size=(w=1, h=1) valid=False
  1602. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #7: pos=(x=112, y=29) size=(w=13, h=3) valid=False
  1603. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=22) size=(w=14, h=7) valid=False
  1604. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #9: pos=(x=89, y=21) size=(w=12, h=3) valid=False
  1605. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #10: pos=(x=125, y=20) size=(w=1, h=1) valid=False
  1606. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #11: pos=(x=120, y=20) size=(w=1, h=1) valid=False
  1607. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=19) size=(w=1, h=1) valid=False
  1608. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=14) size=(w=9, h=4) valid=False
  1609. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #14: pos=(x=100, y=13) size=(w=1, h=1) valid=False
  1610. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #15: pos=(x=95, y=13) size=(w=3, h=1) valid=False
  1611. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #16: pos=(x=89, y=13) size=(w=13, h=7) valid=False
  1612. 2016-03-29 04:34:18.217 DEBUG [detect_vehicles] Contour #17: pos=(x=92, y=9) size=(w=7, h=2) valid=False
  1613. 2016-03-29 04:34:18.217 DEBUG [process_frame] Found 1 valid vehicle contours.
  1614. 2016-03-29 04:34:18.217 DEBUG [process_frame] Valid vehicle contour #0: centroid=(56, 32, 23, 22), bounding_box=(67, 43)
  1615. 2016-03-29 04:34:18.217 DEBUG [process_frame] Updating vehicle count...
  1616. 2016-03-29 04:34:18.217 DEBUG [vehicle_counter] Updating count using 1 matches...
  1617. 2016-03-29 04:34:18.217 DEBUG [root] Saving processed frame #65 as 'images/processed_0065.png'
  1618. 2016-03-29 04:34:18.217 DEBUG [main] Frame #65 processed.
  1619. 2016-03-29 04:34:18.233 DEBUG [main] Capturing frame #66...
  1620. 2016-03-29 04:34:18.233 DEBUG [main] Got frame #66: shape=(120, 160, 3)
  1621. 2016-03-29 04:34:18.233 DEBUG [main] Processing frame #66...
  1622. 2016-03-29 04:34:18.233 DEBUG [root] Saving foreground mask for frame #66 as 'images/mask_0066.png'
  1623. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Found 20 vehicle contours.
  1624. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #0: pos=(x=63, y=51) size=(w=1, h=1) valid=False
  1625. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #1: pos=(x=63, y=43) size=(w=2, h=1) valid=False
  1626. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #2: pos=(x=65, y=38) size=(w=2, h=1) valid=False
  1627. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #3: pos=(x=57, y=38) size=(w=5, h=2) valid=False
  1628. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #4: pos=(x=66, y=36) size=(w=1, h=1) valid=False
  1629. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #5: pos=(x=51, y=34) size=(w=25, h=27) valid=True
  1630. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #6: pos=(x=61, y=34) size=(w=3, h=1) valid=False
  1631. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #7: pos=(x=72, y=32) size=(w=1, h=1) valid=False
  1632. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #8: pos=(x=111, y=25) size=(w=16, h=11) valid=False
  1633. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #9: pos=(x=126, y=23) size=(w=1, h=1) valid=False
  1634. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #10: pos=(x=121, y=22) size=(w=1, h=1) valid=False
  1635. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #11: pos=(x=111, y=22) size=(w=1, h=1) valid=False
  1636. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #12: pos=(x=114, y=17) size=(w=9, h=4) valid=False
  1637. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #13: pos=(x=88, y=17) size=(w=13, h=10) valid=False
  1638. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #14: pos=(x=100, y=15) size=(w=1, h=1) valid=False
  1639. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #15: pos=(x=96, y=15) size=(w=1, h=1) valid=False
  1640. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #16: pos=(x=94, y=15) size=(w=1, h=1) valid=False
  1641. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #17: pos=(x=91, y=15) size=(w=1, h=1) valid=False
  1642. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #18: pos=(x=100, y=12) size=(w=1, h=1) valid=False
  1643. 2016-03-29 04:34:18.233 DEBUG [detect_vehicles] Contour #19: pos=(x=91, y=11) size=(w=7, h=3) valid=False
  1644. 2016-03-29 04:34:18.233 DEBUG [process_frame] Found 1 valid vehicle contours.
  1645. 2016-03-29 04:34:18.233 DEBUG [process_frame] Valid vehicle contour #0: centroid=(51, 34, 25, 27), bounding_box=(63, 47)
  1646. 2016-03-29 04:34:18.233 DEBUG [process_frame] Updating vehicle count...
  1647. 2016-03-29 04:34:18.233 DEBUG [vehicle_counter] Updating count using 1 matches...
  1648. 2016-03-29 04:34:18.233 DEBUG [root] Saving processed frame #66 as 'images/processed_0066.png'
  1649. 2016-03-29 04:34:18.233 DEBUG [main] Frame #66 processed.
  1650. 2016-03-29 04:34:18.249 DEBUG [main] Capturing frame #67...
  1651. 2016-03-29 04:34:18.249 DEBUG [main] Got frame #67: shape=(120, 160, 3)
  1652. 2016-03-29 04:34:18.249 DEBUG [main] Processing frame #67...
  1653. 2016-03-29 04:34:18.249 DEBUG [root] Saving foreground mask for frame #67 as 'images/mask_0067.png'
  1654. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Found 21 vehicle contours.
  1655. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #0: pos=(x=58, y=58) size=(w=1, h=1) valid=False
  1656. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #1: pos=(x=51, y=53) size=(w=2, h=1) valid=False
  1657. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #2: pos=(x=54, y=50) size=(w=3, h=1) valid=False
  1658. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #3: pos=(x=60, y=45) size=(w=2, h=4) valid=False
  1659. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #4: pos=(x=61, y=43) size=(w=3, h=1) valid=False
  1660. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #5: pos=(x=53, y=42) size=(w=6, h=3) valid=False
  1661. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #6: pos=(x=64, y=40) size=(w=1, h=1) valid=False
  1662. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #7: pos=(x=46, y=38) size=(w=27, h=30) valid=True
  1663. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #8: pos=(x=59, y=38) size=(w=5, h=1) valid=False
  1664. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #9: pos=(x=127, y=27) size=(w=1, h=1) valid=False
  1665. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #10: pos=(x=111, y=27) size=(w=1, h=1) valid=False
  1666. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #11: pos=(x=112, y=25) size=(w=16, h=16) valid=False
  1667. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=24) size=(w=1, h=2) valid=False
  1668. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=20) size=(w=10, h=4) valid=False
  1669. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #14: pos=(x=87, y=19) size=(w=14, h=11) valid=False
  1670. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #15: pos=(x=99, y=18) size=(w=1, h=1) valid=False
  1671. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #16: pos=(x=95, y=17) size=(w=2, h=2) valid=False
  1672. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #17: pos=(x=93, y=17) size=(w=1, h=1) valid=False
  1673. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #18: pos=(x=90, y=17) size=(w=1, h=1) valid=False
  1674. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #19: pos=(x=90, y=13) size=(w=8, h=3) valid=False
  1675. 2016-03-29 04:34:18.249 DEBUG [detect_vehicles] Contour #20: pos=(x=113, y=1) size=(w=7, h=1) valid=False
  1676. 2016-03-29 04:34:18.249 DEBUG [process_frame] Found 1 valid vehicle contours.
  1677. 2016-03-29 04:34:18.249 DEBUG [process_frame] Valid vehicle contour #0: centroid=(46, 38, 27, 30), bounding_box=(59, 53)
  1678. 2016-03-29 04:34:18.249 DEBUG [process_frame] Updating vehicle count...
  1679. 2016-03-29 04:34:18.249 DEBUG [vehicle_counter] Updating count using 1 matches...
  1680. 2016-03-29 04:34:18.249 DEBUG [root] Saving processed frame #67 as 'images/processed_0067.png'
  1681. 2016-03-29 04:34:18.249 DEBUG [main] Frame #67 processed.
  1682. 2016-03-29 04:34:18.265 DEBUG [main] Capturing frame #68...
  1683. 2016-03-29 04:34:18.265 DEBUG [main] Got frame #68: shape=(120, 160, 3)
  1684. 2016-03-29 04:34:18.265 DEBUG [main] Processing frame #68...
  1685. 2016-03-29 04:34:18.265 DEBUG [root] Saving foreground mask for frame #68 as 'images/mask_0068.png'
  1686. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Found 24 vehicle contours.
  1687. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #0: pos=(x=51, y=60) size=(w=1, h=1) valid=False
  1688. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #1: pos=(x=59, y=55) size=(w=1, h=2) valid=False
  1689. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #2: pos=(x=57, y=53) size=(w=1, h=2) valid=False
  1690. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #3: pos=(x=44, y=53) size=(w=1, h=2) valid=False
  1691. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #4: pos=(x=40, y=44) size=(w=30, h=32) valid=True
  1692. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #5: pos=(x=64, y=44) size=(w=3, h=3) valid=False
  1693. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #6: pos=(x=112, y=43) size=(w=16, h=3) valid=False
  1694. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #7: pos=(x=53, y=43) size=(w=10, h=2) valid=False
  1695. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #8: pos=(x=127, y=42) size=(w=1, h=1) valid=False
  1696. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #9: pos=(x=111, y=33) size=(w=18, h=9) valid=False
  1697. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #10: pos=(x=128, y=31) size=(w=1, h=1) valid=False
  1698. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #11: pos=(x=120, y=30) size=(w=3, h=3) valid=False
  1699. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=30) size=(w=1, h=2) valid=False
  1700. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #13: pos=(x=99, y=27) size=(w=1, h=1) valid=False
  1701. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #14: pos=(x=113, y=23) size=(w=12, h=5) valid=False
  1702. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #15: pos=(x=85, y=23) size=(w=14, h=11) valid=False
  1703. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #16: pos=(x=98, y=21) size=(w=2, h=1) valid=False
  1704. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #17: pos=(x=95, y=20) size=(w=1, h=1) valid=False
  1705. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #18: pos=(x=92, y=20) size=(w=1, h=1) valid=False
  1706. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #19: pos=(x=89, y=20) size=(w=1, h=1) valid=False
  1707. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #20: pos=(x=99, y=17) size=(w=1, h=2) valid=False
  1708. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #21: pos=(x=89, y=16) size=(w=8, h=3) valid=False
  1709. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #22: pos=(x=113, y=2) size=(w=2, h=1) valid=False
  1710. 2016-03-29 04:34:18.265 DEBUG [detect_vehicles] Contour #23: pos=(x=116, y=1) size=(w=4, h=2) valid=False
  1711. 2016-03-29 04:34:18.265 DEBUG [process_frame] Found 1 valid vehicle contours.
  1712. 2016-03-29 04:34:18.265 DEBUG [process_frame] Valid vehicle contour #0: centroid=(40, 44, 30, 32), bounding_box=(55, 60)
  1713. 2016-03-29 04:34:18.265 DEBUG [process_frame] Updating vehicle count...
  1714. 2016-03-29 04:34:18.265 DEBUG [vehicle_counter] Updating count using 1 matches...
  1715. 2016-03-29 04:34:18.265 DEBUG [root] Saving processed frame #68 as 'images/processed_0068.png'
  1716. 2016-03-29 04:34:18.265 DEBUG [main] Frame #68 processed.
  1717. 2016-03-29 04:34:18.279 DEBUG [main] Capturing frame #69...
  1718. 2016-03-29 04:34:18.279 DEBUG [main] Got frame #69: shape=(120, 160, 3)
  1719. 2016-03-29 04:34:18.279 DEBUG [main] Processing frame #69...
  1720. 2016-03-29 04:34:18.279 DEBUG [root] Saving foreground mask for frame #69 as 'images/mask_0069.png'
  1721. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Found 22 vehicle contours.
  1722. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #0: pos=(x=50, y=70) size=(w=1, h=1) valid=False
  1723. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #1: pos=(x=46, y=67) size=(w=1, h=1) valid=False
  1724. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #2: pos=(x=54, y=59) size=(w=1, h=1) valid=False
  1725. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=49) size=(w=17, h=3) valid=False
  1726. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #4: pos=(x=32, y=49) size=(w=34, h=37) valid=True
  1727. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #5: pos=(x=49, y=49) size=(w=5, h=1) valid=False
  1728. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #6: pos=(x=57, y=47) size=(w=2, h=1) valid=False
  1729. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #7: pos=(x=52, y=47) size=(w=1, h=1) valid=False
  1730. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #8: pos=(x=111, y=38) size=(w=19, h=11) valid=False
  1731. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #9: pos=(x=129, y=36) size=(w=1, h=1) valid=False
  1732. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #10: pos=(x=110, y=36) size=(w=2, h=1) valid=False
  1733. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #11: pos=(x=121, y=35) size=(w=3, h=2) valid=False
  1734. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=34) size=(w=1, h=1) valid=False
  1735. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=27) size=(w=14, h=5) valid=False
  1736. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #14: pos=(x=99, y=27) size=(w=1, h=1) valid=False
  1737. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #15: pos=(x=84, y=26) size=(w=15, h=12) valid=False
  1738. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #16: pos=(x=94, y=25) size=(w=1, h=1) valid=False
  1739. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #17: pos=(x=97, y=24) size=(w=2, h=1) valid=False
  1740. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #18: pos=(x=94, y=23) size=(w=1, h=1) valid=False
  1741. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #19: pos=(x=97, y=20) size=(w=2, h=2) valid=False
  1742. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #20: pos=(x=87, y=18) size=(w=9, h=4) valid=False
  1743. 2016-03-29 04:34:18.279 DEBUG [detect_vehicles] Contour #21: pos=(x=116, y=2) size=(w=4, h=2) valid=False
  1744. 2016-03-29 04:34:18.279 DEBUG [process_frame] Found 1 valid vehicle contours.
  1745. 2016-03-29 04:34:18.279 DEBUG [process_frame] Valid vehicle contour #0: centroid=(32, 49, 34, 37), bounding_box=(49, 67)
  1746. 2016-03-29 04:34:18.279 DEBUG [process_frame] Updating vehicle count...
  1747. 2016-03-29 04:34:18.279 DEBUG [vehicle_counter] Updating count using 1 matches...
  1748. 2016-03-29 04:34:18.279 DEBUG [root] Saving processed frame #69 as 'images/processed_0069.png'
  1749. 2016-03-29 04:34:18.279 DEBUG [main] Frame #69 processed.
  1750. 2016-03-29 04:34:18.296 DEBUG [main] Capturing frame #70...
  1751. 2016-03-29 04:34:18.296 DEBUG [main] Got frame #70: shape=(120, 160, 3)
  1752. 2016-03-29 04:34:18.296 DEBUG [main] Processing frame #70...
  1753. 2016-03-29 04:34:18.296 DEBUG [root] Saving foreground mask for frame #70 as 'images/mask_0070.png'
  1754. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Found 24 vehicle contours.
  1755. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #0: pos=(x=46, y=72) size=(w=3, h=1) valid=False
  1756. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #1: pos=(x=111, y=55) size=(w=20, h=5) valid=False
  1757. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #2: pos=(x=45, y=55) size=(w=8, h=1) valid=False
  1758. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #3: pos=(x=24, y=54) size=(w=38, h=43) valid=True
  1759. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #4: pos=(x=53, y=53) size=(w=1, h=1) valid=False
  1760. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #5: pos=(x=47, y=53) size=(w=2, h=1) valid=False
  1761. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #6: pos=(x=111, y=43) size=(w=21, h=13) valid=False
  1762. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=42) size=(w=1, h=1) valid=False
  1763. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #8: pos=(x=131, y=41) size=(w=1, h=1) valid=False
  1764. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #9: pos=(x=110, y=40) size=(w=2, h=2) valid=False
  1765. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #10: pos=(x=129, y=38) size=(w=1, h=1) valid=False
  1766. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #11: pos=(x=122, y=38) size=(w=2, h=5) valid=False
  1767. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=38) size=(w=1, h=1) valid=False
  1768. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #13: pos=(x=82, y=37) size=(w=16, h=6) valid=False
  1769. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #14: pos=(x=98, y=33) size=(w=1, h=2) valid=False
  1770. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #15: pos=(x=112, y=31) size=(w=15, h=6) valid=False
  1771. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #16: pos=(x=82, y=30) size=(w=15, h=8) valid=False
  1772. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #17: pos=(x=93, y=28) size=(w=1, h=1) valid=False
  1773. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #18: pos=(x=82, y=28) size=(w=1, h=1) valid=False
  1774. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #19: pos=(x=97, y=27) size=(w=1, h=2) valid=False
  1775. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #20: pos=(x=93, y=26) size=(w=1, h=1) valid=False
  1776. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #21: pos=(x=85, y=21) size=(w=12, h=6) valid=False
  1777. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #22: pos=(x=113, y=2) size=(w=4, h=1) valid=False
  1778. 2016-03-29 04:34:18.296 DEBUG [detect_vehicles] Contour #23: pos=(x=114, y=1) size=(w=7, h=4) valid=False
  1779. 2016-03-29 04:34:18.296 DEBUG [process_frame] Found 1 valid vehicle contours.
  1780. 2016-03-29 04:34:18.296 DEBUG [process_frame] Valid vehicle contour #0: centroid=(24, 54, 38, 43), bounding_box=(43, 75)
  1781. 2016-03-29 04:34:18.296 DEBUG [process_frame] Updating vehicle count...
  1782. 2016-03-29 04:34:18.296 DEBUG [vehicle_counter] Updating count using 1 matches...
  1783. 2016-03-29 04:34:18.296 DEBUG [root] Saving processed frame #70 as 'images/processed_0070.png'
  1784. 2016-03-29 04:34:18.296 DEBUG [main] Frame #70 processed.
  1785. 2016-03-29 04:34:18.311 DEBUG [main] Capturing frame #71...
  1786. 2016-03-29 04:34:18.311 DEBUG [main] Got frame #71: shape=(120, 160, 3)
  1787. 2016-03-29 04:34:18.311 DEBUG [main] Processing frame #71...
  1788. 2016-03-29 04:34:18.311 DEBUG [root] Saving foreground mask for frame #71 as 'images/mask_0071.png'
  1789. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Found 30 vehicle contours.
  1790. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #0: pos=(x=22, y=78) size=(w=2, h=2) valid=False
  1791. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #1: pos=(x=39, y=69) size=(w=1, h=1) valid=False
  1792. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #2: pos=(x=43, y=66) size=(w=2, h=2) valid=False
  1793. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #3: pos=(x=42, y=65) size=(w=1, h=1) valid=False
  1794. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #4: pos=(x=43, y=63) size=(w=4, h=2) valid=False
  1795. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #5: pos=(x=14, y=63) size=(w=44, h=47) valid=True
  1796. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #6: pos=(x=52, y=61) size=(w=2, h=1) valid=False
  1797. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #7: pos=(x=49, y=61) size=(w=1, h=1) valid=False
  1798. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #8: pos=(x=47, y=60) size=(w=1, h=1) valid=False
  1799. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #9: pos=(x=132, y=59) size=(w=2, h=2) valid=False
  1800. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #10: pos=(x=39, y=59) size=(w=5, h=3) valid=False
  1801. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #11: pos=(x=111, y=50) size=(w=23, h=19) valid=False
  1802. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #12: pos=(x=123, y=49) size=(w=1, h=1) valid=False
  1803. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=48) size=(w=2, h=2) valid=False
  1804. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #14: pos=(x=110, y=48) size=(w=2, h=1) valid=False
  1805. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #15: pos=(x=131, y=47) size=(w=3, h=2) valid=False
  1806. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #16: pos=(x=130, y=44) size=(w=1, h=1) valid=False
  1807. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #17: pos=(x=123, y=44) size=(w=2, h=3) valid=False
  1808. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #18: pos=(x=111, y=43) size=(w=1, h=4) valid=False
  1809. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #19: pos=(x=97, y=38) size=(w=1, h=1) valid=False
  1810. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #20: pos=(x=112, y=35) size=(w=17, h=8) valid=False
  1811. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #21: pos=(x=98, y=34) size=(w=1, h=1) valid=False
  1812. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #22: pos=(x=80, y=34) size=(w=17, h=15) valid=False
  1813. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #23: pos=(x=91, y=33) size=(w=2, h=1) valid=False
  1814. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #24: pos=(x=95, y=32) size=(w=3, h=1) valid=False
  1815. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #25: pos=(x=80, y=32) size=(w=1, h=1) valid=False
  1816. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #26: pos=(x=97, y=26) size=(w=1, h=1) valid=False
  1817. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #27: pos=(x=84, y=25) size=(w=12, h=6) valid=False
  1818. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #28: pos=(x=113, y=5) size=(w=8, h=2) valid=False
  1819. 2016-03-29 04:34:18.311 DEBUG [detect_vehicles] Contour #29: pos=(x=113, y=1) size=(w=8, h=3) valid=False
  1820. 2016-03-29 04:34:18.311 DEBUG [process_frame] Found 1 valid vehicle contours.
  1821. 2016-03-29 04:34:18.311 DEBUG [process_frame] Valid vehicle contour #0: centroid=(14, 63, 44, 47), bounding_box=(36, 86)
  1822. 2016-03-29 04:34:18.311 DEBUG [process_frame] Updating vehicle count...
  1823. 2016-03-29 04:34:18.311 DEBUG [vehicle_counter] Updating count using 1 matches...
  1824. 2016-03-29 04:34:18.311 DEBUG [root] Saving processed frame #71 as 'images/processed_0071.png'
  1825. 2016-03-29 04:34:18.311 DEBUG [main] Frame #71 processed.
  1826. 2016-03-29 04:34:18.326 DEBUG [main] Capturing frame #72...
  1827. 2016-03-29 04:34:18.326 DEBUG [main] Got frame #72: shape=(120, 160, 3)
  1828. 2016-03-29 04:34:18.326 DEBUG [main] Processing frame #72...
  1829. 2016-03-29 04:34:18.326 DEBUG [root] Saving foreground mask for frame #72 as 'images/mask_0072.png'
  1830. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Found 21 vehicle contours.
  1831. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #0: pos=(x=38, y=72) size=(w=2, h=2) valid=False
  1832. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #1: pos=(x=2, y=67) size=(w=50, h=52) valid=True
  1833. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #2: pos=(x=125, y=58) size=(w=1, h=1) valid=False
  1834. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #3: pos=(x=111, y=58) size=(w=25, h=21) valid=True
  1835. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #4: pos=(x=128, y=57) size=(w=1, h=2) valid=False
  1836. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #5: pos=(x=119, y=56) size=(w=1, h=1) valid=False
  1837. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #6: pos=(x=133, y=55) size=(w=3, h=2) valid=False
  1838. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=54) size=(w=4, h=5) valid=False
  1839. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #8: pos=(x=124, y=51) size=(w=1, h=1) valid=False
  1840. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #9: pos=(x=132, y=50) size=(w=1, h=3) valid=False
  1841. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #10: pos=(x=131, y=47) size=(w=1, h=1) valid=False
  1842. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #11: pos=(x=96, y=43) size=(w=1, h=1) valid=False
  1843. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #12: pos=(x=110, y=41) size=(w=21, h=16) valid=False
  1844. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #13: pos=(x=97, y=39) size=(w=1, h=1) valid=False
  1845. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #14: pos=(x=77, y=39) size=(w=19, h=16) valid=False
  1846. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #15: pos=(x=94, y=37) size=(w=2, h=1) valid=False
  1847. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #16: pos=(x=90, y=36) size=(w=2, h=3) valid=False
  1848. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #17: pos=(x=96, y=31) size=(w=1, h=2) valid=False
  1849. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #18: pos=(x=82, y=28) size=(w=13, h=7) valid=False
  1850. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #19: pos=(x=113, y=6) size=(w=9, h=2) valid=False
  1851. 2016-03-29 04:34:18.326 DEBUG [detect_vehicles] Contour #20: pos=(x=113, y=1) size=(w=8, h=4) valid=False
  1852. 2016-03-29 04:34:18.326 DEBUG [process_frame] Found 2 valid vehicle contours.
  1853. 2016-03-29 04:34:18.326 DEBUG [process_frame] Valid vehicle contour #0: centroid=(2, 67, 50, 52), bounding_box=(27, 93)
  1854. 2016-03-29 04:34:18.326 DEBUG [process_frame] Valid vehicle contour #1: centroid=(111, 58, 25, 21), bounding_box=(123, 68)
  1855. 2016-03-29 04:34:18.326 DEBUG [process_frame] Updating vehicle count...
  1856. 2016-03-29 04:34:18.326 DEBUG [vehicle_counter] Updating count using 2 matches...
  1857. 2016-03-29 04:34:18.326 DEBUG [root] Saving processed frame #72 as 'images/processed_0072.png'
  1858. 2016-03-29 04:34:18.326 DEBUG [main] Frame #72 processed.
  1859. 2016-03-29 04:34:18.342 DEBUG [main] Capturing frame #73...
  1860. 2016-03-29 04:34:18.342 DEBUG [main] Got frame #73: shape=(120, 160, 3)
  1861. 2016-03-29 04:34:18.342 DEBUG [main] Processing frame #73...
  1862. 2016-03-29 04:34:18.342 DEBUG [root] Saving foreground mask for frame #73 as 'images/mask_0073.png'
  1863. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Found 25 vehicle contours.
  1864. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #0: pos=(x=1, y=103) size=(w=2, h=2) valid=False
  1865. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #1: pos=(x=42, y=94) size=(w=1, h=1) valid=False
  1866. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #2: pos=(x=1, y=81) size=(w=45, h=38) valid=True
  1867. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #3: pos=(x=23, y=77) size=(w=18, h=6) valid=False
  1868. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #4: pos=(x=120, y=68) size=(w=8, h=1) valid=False
  1869. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #5: pos=(x=129, y=65) size=(w=2, h=4) valid=False
  1870. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #6: pos=(x=109, y=65) size=(w=3, h=1) valid=False
  1871. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #7: pos=(x=135, y=64) size=(w=4, h=3) valid=False
  1872. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #8: pos=(x=110, y=63) size=(w=29, h=30) valid=True
  1873. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #9: pos=(x=134, y=60) size=(w=1, h=2) valid=False
  1874. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #10: pos=(x=113, y=56) size=(w=1, h=3) valid=False
  1875. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #11: pos=(x=133, y=55) size=(w=1, h=1) valid=False
  1876. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #12: pos=(x=111, y=54) size=(w=1, h=10) valid=False
  1877. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=47) size=(w=21, h=13) valid=False
  1878. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #14: pos=(x=74, y=45) size=(w=21, h=19) valid=False
  1879. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #15: pos=(x=87, y=44) size=(w=1, h=1) valid=False
  1880. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #16: pos=(x=81, y=44) size=(w=1, h=1) valid=False
  1881. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #17: pos=(x=75, y=43) size=(w=1, h=1) valid=False
  1882. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #18: pos=(x=92, y=42) size=(w=5, h=3) valid=False
  1883. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #19: pos=(x=89, y=42) size=(w=1, h=2) valid=False
  1884. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #20: pos=(x=84, y=40) size=(w=1, h=1) valid=False
  1885. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #21: pos=(x=79, y=32) size=(w=16, h=9) valid=False
  1886. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #22: pos=(x=113, y=8) size=(w=9, h=2) valid=False
  1887. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #23: pos=(x=113, y=3) size=(w=9, h=4) valid=False
  1888. 2016-03-29 04:34:18.342 DEBUG [detect_vehicles] Contour #24: pos=(x=113, y=2) size=(w=1, h=1) valid=False
  1889. 2016-03-29 04:34:18.342 DEBUG [process_frame] Found 2 valid vehicle contours.
  1890. 2016-03-29 04:34:18.342 DEBUG [process_frame] Valid vehicle contour #0: centroid=(1, 81, 45, 38), bounding_box=(23, 100)
  1891. 2016-03-29 04:34:18.342 DEBUG [process_frame] Valid vehicle contour #1: centroid=(110, 63, 29, 30), bounding_box=(124, 78)
  1892. 2016-03-29 04:34:18.342 DEBUG [process_frame] Updating vehicle count...
  1893. 2016-03-29 04:34:18.342 DEBUG [vehicle_counter] Updating count using 2 matches...
  1894. 2016-03-29 04:34:18.342 DEBUG [root] Saving processed frame #73 as 'images/processed_0073.png'
  1895. 2016-03-29 04:34:18.342 DEBUG [main] Frame #73 processed.
  1896. 2016-03-29 04:34:18.358 DEBUG [main] Capturing frame #74...
  1897. 2016-03-29 04:34:18.358 DEBUG [main] Got frame #74: shape=(120, 160, 3)
  1898. 2016-03-29 04:34:18.358 DEBUG [main] Processing frame #74...
  1899. 2016-03-29 04:34:18.358 DEBUG [root] Saving foreground mask for frame #74 as 'images/mask_0074.png'
  1900. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Found 30 vehicle contours.
  1901. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #0: pos=(x=139, y=101) size=(w=2, h=2) valid=False
  1902. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #1: pos=(x=21, y=97) size=(w=3, h=1) valid=False
  1903. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #2: pos=(x=109, y=93) size=(w=1, h=2) valid=False
  1904. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #3: pos=(x=1, y=93) size=(w=37, h=26) valid=True
  1905. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #4: pos=(x=12, y=88) size=(w=20, h=8) valid=False
  1906. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #5: pos=(x=125, y=81) size=(w=2, h=1) valid=False
  1907. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #6: pos=(x=132, y=79) size=(w=1, h=2) valid=False
  1908. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #7: pos=(x=132, y=77) size=(w=1, h=1) valid=False
  1909. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #8: pos=(x=138, y=76) size=(w=4, h=3) valid=False
  1910. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #9: pos=(x=109, y=76) size=(w=3, h=2) valid=False
  1911. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #10: pos=(x=115, y=75) size=(w=1, h=2) valid=False
  1912. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #11: pos=(x=131, y=73) size=(w=1, h=2) valid=False
  1913. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #12: pos=(x=136, y=72) size=(w=2, h=1) valid=False
  1914. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #13: pos=(x=109, y=72) size=(w=33, h=38) valid=True
  1915. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #14: pos=(x=136, y=68) size=(w=1, h=2) valid=False
  1916. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #15: pos=(x=135, y=64) size=(w=1, h=3) valid=False
  1917. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #16: pos=(x=111, y=63) size=(w=1, h=13) valid=False
  1918. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #17: pos=(x=93, y=56) size=(w=1, h=5) valid=False
  1919. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #18: pos=(x=112, y=55) size=(w=23, h=17) valid=False
  1920. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #19: pos=(x=94, y=53) size=(w=1, h=1) valid=False
  1921. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #20: pos=(x=71, y=52) size=(w=22, h=21) valid=True
  1922. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #21: pos=(x=85, y=51) size=(w=1, h=1) valid=False
  1923. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #22: pos=(x=80, y=51) size=(w=1, h=1) valid=False
  1924. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #23: pos=(x=92, y=49) size=(w=4, h=3) valid=False
  1925. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #24: pos=(x=72, y=49) size=(w=1, h=1) valid=False
  1926. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #25: pos=(x=76, y=37) size=(w=18, h=11) valid=False
  1927. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #26: pos=(x=113, y=9) size=(w=10, h=2) valid=False
  1928. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #27: pos=(x=113, y=4) size=(w=9, h=4) valid=False
  1929. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #28: pos=(x=119, y=1) size=(w=2, h=1) valid=False
  1930. 2016-03-29 04:34:18.358 DEBUG [detect_vehicles] Contour #29: pos=(x=117, y=1) size=(w=1, h=1) valid=False
  1931. 2016-03-29 04:34:18.358 DEBUG [process_frame] Found 3 valid vehicle contours.
  1932. 2016-03-29 04:34:18.358 DEBUG [process_frame] Valid vehicle contour #0: centroid=(1, 93, 37, 26), bounding_box=(19, 106)
  1933. 2016-03-29 04:34:18.358 DEBUG [process_frame] Valid vehicle contour #1: centroid=(109, 72, 33, 38), bounding_box=(125, 91)
  1934. 2016-03-29 04:34:18.358 DEBUG [process_frame] Valid vehicle contour #2: centroid=(71, 52, 22, 21), bounding_box=(82, 62)
  1935. 2016-03-29 04:34:18.358 DEBUG [process_frame] Updating vehicle count...
  1936. 2016-03-29 04:34:18.358 DEBUG [vehicle_counter] Updating count using 3 matches...
  1937. 2016-03-29 04:34:18.358 DEBUG [root] Saving processed frame #74 as 'images/processed_0074.png'
  1938. 2016-03-29 04:34:18.374 DEBUG [main] Frame #74 processed.
  1939. 2016-03-29 04:34:18.390 DEBUG [main] Capturing frame #75...
  1940. 2016-03-29 04:34:18.390 DEBUG [main] Got frame #75: shape=(120, 160, 3)
  1941. 2016-03-29 04:34:18.390 DEBUG [main] Processing frame #75...
  1942. 2016-03-29 04:34:18.390 DEBUG [root] Saving foreground mask for frame #75 as 'images/mask_0075.png'
  1943. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Found 33 vehicle contours.
  1944. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #0: pos=(x=9, y=112) size=(w=5, h=3) valid=False
  1945. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #1: pos=(x=8, y=112) size=(w=1, h=1) valid=False
  1946. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #2: pos=(x=1, y=112) size=(w=7, h=7) valid=False
  1947. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #3: pos=(x=108, y=110) size=(w=1, h=1) valid=False
  1948. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #4: pos=(x=108, y=107) size=(w=1, h=1) valid=False
  1949. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #5: pos=(x=108, y=104) size=(w=1, h=2) valid=False
  1950. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #6: pos=(x=1, y=103) size=(w=27, h=16) valid=False
  1951. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #7: pos=(x=123, y=95) size=(w=5, h=4) valid=False
  1952. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #8: pos=(x=115, y=94) size=(w=1, h=1) valid=False
  1953. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #9: pos=(x=109, y=93) size=(w=37, h=26) valid=True
  1954. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #10: pos=(x=143, y=92) size=(w=3, h=3) valid=False
  1955. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #11: pos=(x=141, y=90) size=(w=1, h=4) valid=False
  1956. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #12: pos=(x=109, y=88) size=(w=1, h=1) valid=False
  1957. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #13: pos=(x=133, y=87) size=(w=2, h=3) valid=False
  1958. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #14: pos=(x=116, y=87) size=(w=1, h=1) valid=False
  1959. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #15: pos=(x=115, y=86) size=(w=7, h=13) valid=False
  1960. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #16: pos=(x=139, y=84) size=(w=3, h=4) valid=False
  1961. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #17: pos=(x=66, y=67) size=(w=1, h=1) valid=False
  1962. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #18: pos=(x=108, y=65) size=(w=32, h=29) valid=True
  1963. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #19: pos=(x=92, y=62) size=(w=1, h=3) valid=False
  1964. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #20: pos=(x=66, y=60) size=(w=26, h=24) valid=True
  1965. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #21: pos=(x=83, y=59) size=(w=3, h=2) valid=False
  1966. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #22: pos=(x=68, y=57) size=(w=1, h=1) valid=False
  1967. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #23: pos=(x=71, y=56) size=(w=2, h=3) valid=False
  1968. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #24: pos=(x=84, y=53) size=(w=1, h=1) valid=False
  1969. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #25: pos=(x=78, y=53) size=(w=4, h=2) valid=False
  1970. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #26: pos=(x=73, y=53) size=(w=2, h=1) valid=False
  1971. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #27: pos=(x=73, y=43) size=(w=22, h=17) valid=False
  1972. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #28: pos=(x=113, y=11) size=(w=10, h=2) valid=False
  1973. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #29: pos=(x=114, y=6) size=(w=9, h=4) valid=False
  1974. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #30: pos=(x=113, y=4) size=(w=1, h=1) valid=False
  1975. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #31: pos=(x=114, y=2) size=(w=4, h=1) valid=False
  1976. 2016-03-29 04:34:18.390 DEBUG [detect_vehicles] Contour #32: pos=(x=119, y=1) size=(w=3, h=3) valid=False
  1977. 2016-03-29 04:34:18.390 DEBUG [process_frame] Found 3 valid vehicle contours.
  1978. 2016-03-29 04:34:18.390 DEBUG [process_frame] Valid vehicle contour #0: centroid=(109, 93, 37, 26), bounding_box=(127, 106)
  1979. 2016-03-29 04:34:18.390 DEBUG [process_frame] Valid vehicle contour #1: centroid=(108, 65, 32, 29), bounding_box=(124, 79)
  1980. 2016-03-29 04:34:18.390 DEBUG [process_frame] Valid vehicle contour #2: centroid=(66, 60, 26, 24), bounding_box=(79, 72)
  1981. 2016-03-29 04:34:18.390 DEBUG [process_frame] Updating vehicle count...
  1982. 2016-03-29 04:34:18.390 DEBUG [vehicle_counter] Updating count using 3 matches...
  1983. 2016-03-29 04:34:18.390 DEBUG [root] Saving processed frame #75 as 'images/processed_0075.png'
  1984. 2016-03-29 04:34:18.390 DEBUG [main] Frame #75 processed.
  1985. 2016-03-29 04:34:18.404 DEBUG [main] Capturing frame #76...
  1986. 2016-03-29 04:34:18.404 DEBUG [main] Got frame #76: shape=(120, 160, 3)
  1987. 2016-03-29 04:34:18.404 DEBUG [main] Processing frame #76...
  1988. 2016-03-29 04:34:18.404 DEBUG [root] Saving foreground mask for frame #76 as 'images/mask_0076.png'
  1989. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Found 31 vehicle contours.
  1990. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #0: pos=(x=147, y=117) size=(w=1, h=2) valid=False
  1991. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #1: pos=(x=115, y=117) size=(w=1, h=2) valid=False
  1992. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #2: pos=(x=108, y=114) size=(w=1, h=5) valid=False
  1993. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #3: pos=(x=136, y=113) size=(w=2, h=3) valid=False
  1994. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #4: pos=(x=142, y=112) size=(w=1, h=2) valid=False
  1995. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #5: pos=(x=110, y=111) size=(w=4, h=8) valid=False
  1996. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #6: pos=(x=145, y=109) size=(w=6, h=7) valid=False
  1997. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #7: pos=(x=143, y=109) size=(w=1, h=1) valid=False
  1998. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #8: pos=(x=137, y=109) size=(w=1, h=2) valid=False
  1999. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #9: pos=(x=116, y=107) size=(w=2, h=1) valid=False
  2000. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #10: pos=(x=114, y=107) size=(w=1, h=3) valid=False
  2001. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #11: pos=(x=108, y=107) size=(w=1, h=2) valid=False
  2002. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #12: pos=(x=144, y=106) size=(w=1, h=1) valid=False
  2003. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #13: pos=(x=119, y=105) size=(w=16, h=14) valid=False
  2004. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #14: pos=(x=108, y=105) size=(w=1, h=1) valid=False
  2005. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #15: pos=(x=144, y=102) size=(w=1, h=3) valid=False
  2006. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #16: pos=(x=75, y=90) size=(w=4, h=1) valid=False
  2007. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #17: pos=(x=107, y=77) size=(w=37, h=37) valid=True
  2008. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #18: pos=(x=60, y=67) size=(w=29, h=32) valid=True
  2009. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #19: pos=(x=75, y=67) size=(w=1, h=1) valid=False
  2010. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #20: pos=(x=62, y=67) size=(w=3, h=2) valid=False
  2011. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #21: pos=(x=75, y=64) size=(w=2, h=1) valid=False
  2012. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #22: pos=(x=75, y=62) size=(w=8, h=1) valid=False
  2013. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #23: pos=(x=66, y=62) size=(w=7, h=8) valid=False
  2014. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #24: pos=(x=69, y=50) size=(w=24, h=35) valid=True
  2015. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #25: pos=(x=113, y=12) size=(w=11, h=3) valid=False
  2016. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #26: pos=(x=114, y=7) size=(w=9, h=4) valid=False
  2017. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #27: pos=(x=115, y=6) size=(w=1, h=1) valid=False
  2018. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #28: pos=(x=119, y=3) size=(w=3, h=2) valid=False
  2019. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #29: pos=(x=116, y=3) size=(w=2, h=1) valid=False
  2020. 2016-03-29 04:34:18.404 DEBUG [detect_vehicles] Contour #30: pos=(x=103, y=1) size=(w=7, h=1) valid=False
  2021. 2016-03-29 04:34:18.404 DEBUG [process_frame] Found 3 valid vehicle contours.
  2022. 2016-03-29 04:34:18.404 DEBUG [process_frame] Valid vehicle contour #0: centroid=(107, 77, 37, 37), bounding_box=(125, 95)
  2023. 2016-03-29 04:34:18.404 DEBUG [process_frame] Valid vehicle contour #1: centroid=(60, 67, 29, 32), bounding_box=(74, 83)
  2024. 2016-03-29 04:34:18.404 DEBUG [process_frame] Valid vehicle contour #2: centroid=(69, 50, 24, 35), bounding_box=(81, 67)
  2025. 2016-03-29 04:34:18.404 DEBUG [process_frame] Updating vehicle count...
  2026. 2016-03-29 04:34:18.404 DEBUG [vehicle_counter] Updating count using 3 matches...
  2027. 2016-03-29 04:34:18.404 DEBUG [root] Saving processed frame #76 as 'images/processed_0076.png'
  2028. 2016-03-29 04:34:18.404 DEBUG [main] Frame #76 processed.
  2029. 2016-03-29 04:34:18.421 DEBUG [main] Capturing frame #77...
  2030. 2016-03-29 04:34:18.421 DEBUG [main] Got frame #77: shape=(120, 160, 3)
  2031. 2016-03-29 04:34:18.421 DEBUG [main] Processing frame #77...
  2032. 2016-03-29 04:34:18.421 DEBUG [root] Saving foreground mask for frame #77 as 'images/mask_0077.png'
  2033. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Found 21 vehicle contours.
  2034. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #0: pos=(x=108, y=114) size=(w=1, h=5) valid=False
  2035. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #1: pos=(x=108, y=110) size=(w=1, h=3) valid=False
  2036. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #2: pos=(x=145, y=108) size=(w=1, h=3) valid=False
  2037. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #3: pos=(x=55, y=100) size=(w=1, h=1) valid=False
  2038. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #4: pos=(x=50, y=99) size=(w=1, h=1) valid=False
  2039. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #5: pos=(x=54, y=97) size=(w=2, h=2) valid=False
  2040. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #6: pos=(x=54, y=95) size=(w=1, h=1) valid=False
  2041. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #7: pos=(x=83, y=92) size=(w=1, h=3) valid=False
  2042. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #8: pos=(x=110, y=91) size=(w=38, h=28) valid=True
  2043. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #9: pos=(x=84, y=82) size=(w=1, h=1) valid=False
  2044. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #10: pos=(x=81, y=81) size=(w=1, h=1) valid=False
  2045. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #11: pos=(x=71, y=75) size=(w=2, h=2) valid=False
  2046. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #12: pos=(x=56, y=73) size=(w=12, h=9) valid=False
  2047. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #13: pos=(x=90, y=71) size=(w=1, h=1) valid=False
  2048. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #14: pos=(x=90, y=67) size=(w=1, h=2) valid=False
  2049. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #15: pos=(x=52, y=61) size=(w=39, h=57) valid=True
  2050. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #16: pos=(x=69, y=57) size=(w=20, h=7) valid=False
  2051. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #17: pos=(x=112, y=12) size=(w=13, h=5) valid=False
  2052. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #18: pos=(x=114, y=8) size=(w=12, h=5) valid=False
  2053. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #19: pos=(x=120, y=4) size=(w=2, h=2) valid=False
  2054. 2016-03-29 04:34:18.421 DEBUG [detect_vehicles] Contour #20: pos=(x=102, y=1) size=(w=9, h=3) valid=False
  2055. 2016-03-29 04:34:18.421 DEBUG [process_frame] Found 2 valid vehicle contours.
  2056. 2016-03-29 04:34:18.421 DEBUG [process_frame] Valid vehicle contour #0: centroid=(110, 91, 38, 28), bounding_box=(129, 105)
  2057. 2016-03-29 04:34:18.421 DEBUG [process_frame] Valid vehicle contour #1: centroid=(52, 61, 39, 57), bounding_box=(71, 89)
  2058. 2016-03-29 04:34:18.421 DEBUG [process_frame] Updating vehicle count...
  2059. 2016-03-29 04:34:18.421 DEBUG [vehicle_counter] Updating count using 2 matches...
  2060. 2016-03-29 04:34:18.421 DEBUG [root] Saving processed frame #77 as 'images/processed_0077.png'
  2061. 2016-03-29 04:34:18.421 DEBUG [main] Frame #77 processed.
  2062. 2016-03-29 04:34:18.436 DEBUG [main] Capturing frame #78...
  2063. 2016-03-29 04:34:18.436 DEBUG [main] Got frame #78: shape=(120, 160, 3)
  2064. 2016-03-29 04:34:18.436 DEBUG [main] Processing frame #78...
  2065. 2016-03-29 04:34:18.436 DEBUG [root] Saving foreground mask for frame #78 as 'images/mask_0078.png'
  2066. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Found 25 vehicle contours.
  2067. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #0: pos=(x=79, y=118) size=(w=1, h=1) valid=False
  2068. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #1: pos=(x=46, y=117) size=(w=2, h=1) valid=False
  2069. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #2: pos=(x=46, y=112) size=(w=1, h=1) valid=False
  2070. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #3: pos=(x=111, y=111) size=(w=35, h=8) valid=False
  2071. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #4: pos=(x=79, y=109) size=(w=1, h=4) valid=False
  2072. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #5: pos=(x=85, y=108) size=(w=1, h=1) valid=False
  2073. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #6: pos=(x=64, y=100) size=(w=2, h=1) valid=False
  2074. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #7: pos=(x=62, y=99) size=(w=1, h=1) valid=False
  2075. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #8: pos=(x=80, y=98) size=(w=1, h=1) valid=False
  2076. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #9: pos=(x=49, y=97) size=(w=31, h=22) valid=True
  2077. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #10: pos=(x=64, y=97) size=(w=1, h=2) valid=False
  2078. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #11: pos=(x=49, y=94) size=(w=3, h=2) valid=False
  2079. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #12: pos=(x=67, y=90) size=(w=5, h=12) valid=False
  2080. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #13: pos=(x=64, y=90) size=(w=3, h=2) valid=False
  2081. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #14: pos=(x=84, y=89) size=(w=1, h=1) valid=False
  2082. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #15: pos=(x=72, y=88) size=(w=1, h=1) valid=False
  2083. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #16: pos=(x=87, y=79) size=(w=2, h=2) valid=False
  2084. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #17: pos=(x=53, y=67) size=(w=36, h=52) valid=True
  2085. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #18: pos=(x=113, y=15) size=(w=12, h=4) valid=False
  2086. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #19: pos=(x=125, y=12) size=(w=1, h=2) valid=False
  2087. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #20: pos=(x=114, y=11) size=(w=10, h=4) valid=False
  2088. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #21: pos=(x=122, y=9) size=(w=1, h=1) valid=False
  2089. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #22: pos=(x=118, y=6) size=(w=4, h=1) valid=False
  2090. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #23: pos=(x=115, y=6) size=(w=2, h=1) valid=False
  2091. 2016-03-29 04:34:18.436 DEBUG [detect_vehicles] Contour #24: pos=(x=102, y=1) size=(w=9, h=4) valid=False
  2092. 2016-03-29 04:34:18.436 DEBUG [process_frame] Found 2 valid vehicle contours.
  2093. 2016-03-29 04:34:18.436 DEBUG [process_frame] Valid vehicle contour #0: centroid=(49, 97, 31, 22), bounding_box=(64, 108)
  2094. 2016-03-29 04:34:18.436 DEBUG [process_frame] Valid vehicle contour #1: centroid=(53, 67, 36, 52), bounding_box=(71, 93)
  2095. 2016-03-29 04:34:18.436 DEBUG [process_frame] Updating vehicle count...
  2096. 2016-03-29 04:34:18.436 DEBUG [vehicle_counter] Updating count using 2 matches...
  2097. 2016-03-29 04:34:18.436 DEBUG [root] Saving processed frame #78 as 'images/processed_0078.png'
  2098. 2016-03-29 04:34:18.436 DEBUG [main] Frame #78 processed.
  2099. 2016-03-29 04:34:18.451 DEBUG [main] Capturing frame #79...
  2100. 2016-03-29 04:34:18.451 DEBUG [main] Got frame #79: shape=(120, 160, 3)
  2101. 2016-03-29 04:34:18.451 DEBUG [main] Processing frame #79...
  2102. 2016-03-29 04:34:18.451 DEBUG [root] Saving foreground mask for frame #79 as 'images/mask_0079.png'
  2103. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Found 19 vehicle contours.
  2104. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #0: pos=(x=56, y=118) size=(w=1, h=1) valid=False
  2105. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #1: pos=(x=41, y=117) size=(w=1, h=1) valid=False
  2106. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #2: pos=(x=78, y=114) size=(w=2, h=1) valid=False
  2107. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #3: pos=(x=41, y=113) size=(w=1, h=3) valid=False
  2108. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #4: pos=(x=62, y=110) size=(w=9, h=9) valid=False
  2109. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #5: pos=(x=82, y=97) size=(w=1, h=1) valid=False
  2110. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #6: pos=(x=80, y=93) size=(w=7, h=26) valid=False
  2111. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #7: pos=(x=45, y=80) size=(w=38, h=39) valid=True
  2112. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #8: pos=(x=113, y=18) size=(w=13, h=4) valid=False
  2113. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #9: pos=(x=116, y=17) size=(w=2, h=1) valid=False
  2114. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #10: pos=(x=126, y=16) size=(w=1, h=1) valid=False
  2115. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #11: pos=(x=112, y=16) size=(w=2, h=1) valid=False
  2116. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #12: pos=(x=114, y=13) size=(w=11, h=3) valid=False
  2117. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #13: pos=(x=123, y=11) size=(w=1, h=1) valid=False
  2118. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #14: pos=(x=120, y=8) size=(w=3, h=1) valid=False
  2119. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #15: pos=(x=118, y=8) size=(w=1, h=1) valid=False
  2120. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #16: pos=(x=115, y=8) size=(w=2, h=1) valid=False
  2121. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #17: pos=(x=101, y=3) size=(w=9, h=3) valid=False
  2122. 2016-03-29 04:34:18.451 DEBUG [detect_vehicles] Contour #18: pos=(x=109, y=1) size=(w=2, h=2) valid=False
  2123. 2016-03-29 04:34:18.451 DEBUG [process_frame] Found 1 valid vehicle contours.
  2124. 2016-03-29 04:34:18.451 DEBUG [process_frame] Valid vehicle contour #0: centroid=(45, 80, 38, 39), bounding_box=(64, 99)
  2125. 2016-03-29 04:34:18.451 DEBUG [process_frame] Updating vehicle count...
  2126. 2016-03-29 04:34:18.451 DEBUG [vehicle_counter] Updating count using 1 matches...
  2127. 2016-03-29 04:34:18.451 DEBUG [root] Saving processed frame #79 as 'images/processed_0079.png'
  2128. 2016-03-29 04:34:18.451 DEBUG [main] Frame #79 processed.
  2129. 2016-03-29 04:34:18.467 DEBUG [main] Capturing frame #80...
  2130. 2016-03-29 04:34:18.467 DEBUG [main] Got frame #80: shape=(120, 160, 3)
  2131. 2016-03-29 04:34:18.467 DEBUG [main] Processing frame #80...
  2132. 2016-03-29 04:34:18.467 DEBUG [root] Saving foreground mask for frame #80 as 'images/mask_0080.png'
  2133. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Found 8 vehicle contours.
  2134. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #0: pos=(x=80, y=112) size=(w=2, h=4) valid=False
  2135. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #1: pos=(x=42, y=96) size=(w=37, h=23) valid=True
  2136. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #2: pos=(x=113, y=21) size=(w=14, h=3) valid=False
  2137. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=15) size=(w=12, h=5) valid=False
  2138. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #4: pos=(x=121, y=9) size=(w=3, h=2) valid=False
  2139. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=9) size=(w=4, h=2) valid=False
  2140. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #6: pos=(x=101, y=4) size=(w=9, h=4) valid=False
  2141. 2016-03-29 04:34:18.467 DEBUG [detect_vehicles] Contour #7: pos=(x=102, y=1) size=(w=7, h=2) valid=False
  2142. 2016-03-29 04:34:18.467 DEBUG [process_frame] Found 1 valid vehicle contours.
  2143. 2016-03-29 04:34:18.467 DEBUG [process_frame] Valid vehicle contour #0: centroid=(42, 96, 37, 23), bounding_box=(60, 107)
  2144. 2016-03-29 04:34:18.467 DEBUG [process_frame] Updating vehicle count...
  2145. 2016-03-29 04:34:18.467 DEBUG [vehicle_counter] Updating count using 1 matches...
  2146. 2016-03-29 04:34:18.467 DEBUG [root] Saving processed frame #80 as 'images/processed_0080.png'
  2147. 2016-03-29 04:34:18.467 DEBUG [main] Frame #80 processed.
  2148. 2016-03-29 04:34:18.483 DEBUG [main] Capturing frame #81...
  2149. 2016-03-29 04:34:18.483 DEBUG [main] Got frame #81: shape=(120, 160, 3)
  2150. 2016-03-29 04:34:18.483 DEBUG [main] Processing frame #81...
  2151. 2016-03-29 04:34:18.483 DEBUG [root] Saving foreground mask for frame #81 as 'images/mask_0081.png'
  2152. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2153. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #0: pos=(x=44, y=116) size=(w=27, h=3) valid=False
  2154. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #1: pos=(x=114, y=24) size=(w=13, h=3) valid=False
  2155. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #2: pos=(x=122, y=22) size=(w=3, h=1) valid=False
  2156. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #3: pos=(x=115, y=22) size=(w=5, h=1) valid=False
  2157. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #4: pos=(x=115, y=17) size=(w=12, h=4) valid=False
  2158. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #5: pos=(x=121, y=15) size=(w=1, h=1) valid=False
  2159. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #6: pos=(x=116, y=11) size=(w=9, h=3) valid=False
  2160. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #7: pos=(x=100, y=6) size=(w=10, h=3) valid=False
  2161. 2016-03-29 04:34:18.483 DEBUG [detect_vehicles] Contour #8: pos=(x=101, y=2) size=(w=8, h=3) valid=False
  2162. 2016-03-29 04:34:18.483 DEBUG [process_frame] No valid vehicle contours found.
  2163. 2016-03-29 04:34:18.483 DEBUG [root] Saving processed frame #81 as 'images/processed_0081.png'
  2164. 2016-03-29 04:34:18.483 DEBUG [main] Frame #81 processed.
  2165. 2016-03-29 04:34:18.499 DEBUG [main] Capturing frame #82...
  2166. 2016-03-29 04:34:18.499 DEBUG [main] Got frame #82: shape=(120, 160, 3)
  2167. 2016-03-29 04:34:18.499 DEBUG [main] Processing frame #82...
  2168. 2016-03-29 04:34:18.499 DEBUG [root] Saving foreground mask for frame #82 as 'images/mask_0082.png'
  2169. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Found 8 vehicle contours.
  2170. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #0: pos=(x=114, y=27) size=(w=14, h=3) valid=False
  2171. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #1: pos=(x=115, y=20) size=(w=12, h=6) valid=False
  2172. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=18) size=(w=1, h=1) valid=False
  2173. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #3: pos=(x=121, y=17) size=(w=1, h=2) valid=False
  2174. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #4: pos=(x=116, y=13) size=(w=10, h=4) valid=False
  2175. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #5: pos=(x=100, y=3) size=(w=10, h=8) valid=False
  2176. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #6: pos=(x=100, y=3) size=(w=7, h=4) valid=False
  2177. 2016-03-29 04:34:18.499 DEBUG [detect_vehicles] Contour #7: pos=(x=107, y=1) size=(w=1, h=1) valid=False
  2178. 2016-03-29 04:34:18.499 DEBUG [process_frame] No valid vehicle contours found.
  2179. 2016-03-29 04:34:18.499 DEBUG [root] Saving processed frame #82 as 'images/processed_0082.png'
  2180. 2016-03-29 04:34:18.499 DEBUG [main] Frame #82 processed.
  2181. 2016-03-29 04:34:18.515 DEBUG [main] Capturing frame #83...
  2182. 2016-03-29 04:34:18.515 DEBUG [main] Got frame #83: shape=(120, 160, 3)
  2183. 2016-03-29 04:34:18.515 DEBUG [main] Processing frame #83...
  2184. 2016-03-29 04:34:18.515 DEBUG [root] Saving foreground mask for frame #83 as 'images/mask_0083.png'
  2185. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2186. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #0: pos=(x=114, y=29) size=(w=15, h=5) valid=False
  2187. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #1: pos=(x=125, y=28) size=(w=3, h=1) valid=False
  2188. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #2: pos=(x=115, y=23) size=(w=13, h=6) valid=False
  2189. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=21) size=(w=1, h=1) valid=False
  2190. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #4: pos=(x=122, y=20) size=(w=1, h=1) valid=False
  2191. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=15) size=(w=10, h=4) valid=False
  2192. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #6: pos=(x=99, y=4) size=(w=11, h=8) valid=False
  2193. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #7: pos=(x=105, y=3) size=(w=1, h=1) valid=False
  2194. 2016-03-29 04:34:18.515 DEBUG [detect_vehicles] Contour #8: pos=(x=101, y=1) size=(w=7, h=2) valid=False
  2195. 2016-03-29 04:34:18.515 DEBUG [process_frame] No valid vehicle contours found.
  2196. 2016-03-29 04:34:18.515 DEBUG [root] Saving processed frame #83 as 'images/processed_0083.png'
  2197. 2016-03-29 04:34:18.515 DEBUG [main] Frame #83 processed.
  2198. 2016-03-29 04:34:18.529 DEBUG [main] Capturing frame #84...
  2199. 2016-03-29 04:34:18.529 DEBUG [main] Got frame #84: shape=(120, 160, 3)
  2200. 2016-03-29 04:34:18.529 DEBUG [main] Processing frame #84...
  2201. 2016-03-29 04:34:18.529 DEBUG [root] Saving foreground mask for frame #84 as 'images/mask_0084.png'
  2202. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2203. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #0: pos=(x=122, y=33) size=(w=2, h=1) valid=False
  2204. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #1: pos=(x=114, y=26) size=(w=16, h=12) valid=False
  2205. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=24) size=(w=1, h=1) valid=False
  2206. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #3: pos=(x=122, y=23) size=(w=2, h=1) valid=False
  2207. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #4: pos=(x=115, y=18) size=(w=12, h=4) valid=False
  2208. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #5: pos=(x=109, y=9) size=(w=1, h=1) valid=False
  2209. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #6: pos=(x=98, y=6) size=(w=11, h=9) valid=False
  2210. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #7: pos=(x=108, y=4) size=(w=1, h=1) valid=False
  2211. 2016-03-29 04:34:18.529 DEBUG [detect_vehicles] Contour #8: pos=(x=101, y=1) size=(w=6, h=3) valid=False
  2212. 2016-03-29 04:34:18.529 DEBUG [process_frame] No valid vehicle contours found.
  2213. 2016-03-29 04:34:18.529 DEBUG [root] Saving processed frame #84 as 'images/processed_0084.png'
  2214. 2016-03-29 04:34:18.529 DEBUG [main] Frame #84 processed.
  2215. 2016-03-29 04:34:18.546 DEBUG [main] Capturing frame #85...
  2216. 2016-03-29 04:34:18.546 DEBUG [main] Got frame #85: shape=(120, 160, 3)
  2217. 2016-03-29 04:34:18.546 DEBUG [main] Processing frame #85...
  2218. 2016-03-29 04:34:18.546 DEBUG [root] Saving foreground mask for frame #85 as 'images/mask_0085.png'
  2219. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2220. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #0: pos=(x=131, y=32) size=(w=1, h=1) valid=False
  2221. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #1: pos=(x=130, y=27) size=(w=2, h=1) valid=False
  2222. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=27) size=(w=17, h=15) valid=False
  2223. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #3: pos=(x=123, y=26) size=(w=1, h=1) valid=False
  2224. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=24) size=(w=1, h=1) valid=False
  2225. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=20) size=(w=12, h=6) valid=False
  2226. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #6: pos=(x=108, y=11) size=(w=1, h=1) valid=False
  2227. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #7: pos=(x=98, y=8) size=(w=11, h=9) valid=False
  2228. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #8: pos=(x=107, y=6) size=(w=2, h=1) valid=False
  2229. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #9: pos=(x=104, y=6) size=(w=2, h=1) valid=False
  2230. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #10: pos=(x=107, y=4) size=(w=1, h=1) valid=False
  2231. 2016-03-29 04:34:18.546 DEBUG [detect_vehicles] Contour #11: pos=(x=100, y=3) size=(w=6, h=2) valid=False
  2232. 2016-03-29 04:34:18.546 DEBUG [process_frame] No valid vehicle contours found.
  2233. 2016-03-29 04:34:18.546 DEBUG [root] Saving processed frame #85 as 'images/processed_0085.png'
  2234. 2016-03-29 04:34:18.546 DEBUG [main] Frame #85 processed.
  2235. 2016-03-29 04:34:18.561 DEBUG [main] Capturing frame #86...
  2236. 2016-03-29 04:34:18.561 DEBUG [main] Got frame #86: shape=(120, 160, 3)
  2237. 2016-03-29 04:34:18.561 DEBUG [main] Processing frame #86...
  2238. 2016-03-29 04:34:18.561 DEBUG [root] Saving foreground mask for frame #86 as 'images/mask_0086.png'
  2239. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Found 13 vehicle contours.
  2240. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #0: pos=(x=121, y=43) size=(w=1, h=1) valid=False
  2241. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #1: pos=(x=131, y=31) size=(w=2, h=1) valid=False
  2242. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #2: pos=(x=114, y=31) size=(w=19, h=17) valid=False
  2243. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #3: pos=(x=123, y=29) size=(w=2, h=1) valid=False
  2244. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #4: pos=(x=115, y=23) size=(w=14, h=5) valid=False
  2245. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #5: pos=(x=97, y=15) size=(w=11, h=4) valid=False
  2246. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #6: pos=(x=102, y=14) size=(w=1, h=1) valid=False
  2247. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #7: pos=(x=98, y=14) size=(w=2, h=1) valid=False
  2248. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #8: pos=(x=97, y=10) size=(w=12, h=5) valid=False
  2249. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #9: pos=(x=100, y=9) size=(w=1, h=1) valid=False
  2250. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #10: pos=(x=104, y=8) size=(w=1, h=1) valid=False
  2251. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #11: pos=(x=107, y=5) size=(w=1, h=1) valid=False
  2252. 2016-03-29 04:34:18.561 DEBUG [detect_vehicles] Contour #12: pos=(x=100, y=4) size=(w=9, h=5) valid=False
  2253. 2016-03-29 04:34:18.561 DEBUG [process_frame] No valid vehicle contours found.
  2254. 2016-03-29 04:34:18.561 DEBUG [root] Saving processed frame #86 as 'images/processed_0086.png'
  2255. 2016-03-29 04:34:18.561 DEBUG [main] Frame #86 processed.
  2256. 2016-03-29 04:34:18.576 DEBUG [main] Capturing frame #87...
  2257. 2016-03-29 04:34:18.576 DEBUG [main] Got frame #87: shape=(120, 160, 3)
  2258. 2016-03-29 04:34:18.576 DEBUG [main] Processing frame #87...
  2259. 2016-03-29 04:34:18.576 DEBUG [root] Saving foreground mask for frame #87 as 'images/mask_0087.png'
  2260. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Found 11 vehicle contours.
  2261. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #0: pos=(x=115, y=38) size=(w=19, h=16) valid=False
  2262. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #1: pos=(x=118, y=36) size=(w=2, h=2) valid=False
  2263. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #2: pos=(x=133, y=35) size=(w=1, h=2) valid=False
  2264. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=35) size=(w=2, h=3) valid=False
  2265. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #4: pos=(x=123, y=33) size=(w=2, h=1) valid=False
  2266. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=27) size=(w=14, h=6) valid=False
  2267. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #6: pos=(x=108, y=15) size=(w=1, h=1) valid=False
  2268. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #7: pos=(x=96, y=12) size=(w=12, h=10) valid=False
  2269. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #8: pos=(x=107, y=10) size=(w=1, h=1) valid=False
  2270. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #9: pos=(x=103, y=10) size=(w=1, h=1) valid=False
  2271. 2016-03-29 04:34:18.576 DEBUG [detect_vehicles] Contour #10: pos=(x=98, y=6) size=(w=8, h=5) valid=False
  2272. 2016-03-29 04:34:18.576 DEBUG [process_frame] No valid vehicle contours found.
  2273. 2016-03-29 04:34:18.576 DEBUG [root] Saving processed frame #87 as 'images/processed_0087.png'
  2274. 2016-03-29 04:34:18.576 DEBUG [main] Frame #87 processed.
  2275. 2016-03-29 04:34:18.592 DEBUG [main] Capturing frame #88...
  2276. 2016-03-29 04:34:18.592 DEBUG [main] Got frame #88: shape=(120, 160, 3)
  2277. 2016-03-29 04:34:18.592 DEBUG [main] Processing frame #88...
  2278. 2016-03-29 04:34:18.592 DEBUG [root] Saving foreground mask for frame #88 as 'images/mask_0088.png'
  2279. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Found 15 vehicle contours.
  2280. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #0: pos=(x=115, y=43) size=(w=21, h=18) valid=False
  2281. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #1: pos=(x=132, y=42) size=(w=1, h=1) valid=False
  2282. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #2: pos=(x=128, y=42) size=(w=1, h=1) valid=False
  2283. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #3: pos=(x=118, y=41) size=(w=3, h=2) valid=False
  2284. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #4: pos=(x=134, y=40) size=(w=2, h=2) valid=False
  2285. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #5: pos=(x=114, y=40) size=(w=2, h=3) valid=False
  2286. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #6: pos=(x=123, y=38) size=(w=3, h=1) valid=False
  2287. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #7: pos=(x=115, y=30) size=(w=17, h=9) valid=False
  2288. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #8: pos=(x=95, y=19) size=(w=12, h=6) valid=False
  2289. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #9: pos=(x=96, y=19) size=(w=2, h=1) valid=False
  2290. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #10: pos=(x=95, y=15) size=(w=13, h=4) valid=False
  2291. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #11: pos=(x=95, y=13) size=(w=1, h=1) valid=False
  2292. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #12: pos=(x=103, y=12) size=(w=1, h=1) valid=False
  2293. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #13: pos=(x=107, y=11) size=(w=1, h=2) valid=False
  2294. 2016-03-29 04:34:18.592 DEBUG [detect_vehicles] Contour #14: pos=(x=98, y=8) size=(w=8, h=3) valid=False
  2295. 2016-03-29 04:34:18.592 DEBUG [process_frame] No valid vehicle contours found.
  2296. 2016-03-29 04:34:18.592 DEBUG [root] Saving processed frame #88 as 'images/processed_0088.png'
  2297. 2016-03-29 04:34:18.592 DEBUG [main] Frame #88 processed.
  2298. 2016-03-29 04:34:18.608 DEBUG [main] Capturing frame #89...
  2299. 2016-03-29 04:34:18.608 DEBUG [main] Got frame #89: shape=(120, 160, 3)
  2300. 2016-03-29 04:34:18.608 DEBUG [main] Processing frame #89...
  2301. 2016-03-29 04:34:18.608 DEBUG [root] Saving foreground mask for frame #89 as 'images/mask_0089.png'
  2302. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Found 17 vehicle contours.
  2303. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #0: pos=(x=130, y=63) size=(w=2, h=1) valid=False
  2304. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #1: pos=(x=123, y=63) size=(w=1, h=1) valid=False
  2305. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #2: pos=(x=115, y=60) size=(w=22, h=9) valid=False
  2306. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #3: pos=(x=127, y=48) size=(w=1, h=1) valid=False
  2307. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #4: pos=(x=118, y=48) size=(w=1, h=1) valid=False
  2308. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #5: pos=(x=129, y=47) size=(w=2, h=2) valid=False
  2309. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #6: pos=(x=136, y=46) size=(w=2, h=2) valid=False
  2310. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #7: pos=(x=119, y=46) size=(w=3, h=3) valid=False
  2311. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #8: pos=(x=114, y=46) size=(w=24, h=17) valid=False
  2312. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #9: pos=(x=124, y=44) size=(w=2, h=1) valid=False
  2313. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #10: pos=(x=115, y=40) size=(w=1, h=4) valid=False
  2314. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #11: pos=(x=116, y=35) size=(w=17, h=10) valid=False
  2315. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #12: pos=(x=94, y=22) size=(w=2, h=1) valid=False
  2316. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #13: pos=(x=106, y=18) size=(w=2, h=4) valid=False
  2317. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #14: pos=(x=93, y=18) size=(w=14, h=11) valid=False
  2318. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #15: pos=(x=94, y=16) size=(w=1, h=1) valid=False
  2319. 2016-03-29 04:34:18.608 DEBUG [detect_vehicles] Contour #16: pos=(x=97, y=10) size=(w=8, h=5) valid=False
  2320. 2016-03-29 04:34:18.608 DEBUG [process_frame] No valid vehicle contours found.
  2321. 2016-03-29 04:34:18.608 DEBUG [root] Saving processed frame #89 as 'images/processed_0089.png'
  2322. 2016-03-29 04:34:18.608 DEBUG [main] Frame #89 processed.
  2323. 2016-03-29 04:34:18.624 DEBUG [main] Capturing frame #90...
  2324. 2016-03-29 04:34:18.624 DEBUG [main] Got frame #90: shape=(120, 160, 3)
  2325. 2016-03-29 04:34:18.624 DEBUG [main] Processing frame #90...
  2326. 2016-03-29 04:34:18.624 DEBUG [root] Saving foreground mask for frame #90 as 'images/mask_0090.png'
  2327. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Found 13 vehicle contours.
  2328. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #0: pos=(x=115, y=69) size=(w=24, h=10) valid=False
  2329. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #1: pos=(x=138, y=53) size=(w=2, h=3) valid=False
  2330. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #2: pos=(x=130, y=53) size=(w=2, h=3) valid=False
  2331. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #3: pos=(x=119, y=52) size=(w=4, h=5) valid=False
  2332. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #4: pos=(x=125, y=51) size=(w=3, h=1) valid=False
  2333. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #5: pos=(x=114, y=51) size=(w=25, h=22) valid=True
  2334. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #6: pos=(x=115, y=45) size=(w=1, h=3) valid=False
  2335. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #7: pos=(x=116, y=40) size=(w=19, h=11) valid=False
  2336. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #8: pos=(x=92, y=21) size=(w=15, h=12) valid=False
  2337. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #9: pos=(x=105, y=16) size=(w=2, h=3) valid=False
  2338. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #10: pos=(x=96, y=15) size=(w=8, h=3) valid=False
  2339. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #11: pos=(x=104, y=13) size=(w=1, h=1) valid=False
  2340. 2016-03-29 04:34:18.624 DEBUG [detect_vehicles] Contour #12: pos=(x=97, y=12) size=(w=6, h=2) valid=False
  2341. 2016-03-29 04:34:18.624 DEBUG [process_frame] Found 1 valid vehicle contours.
  2342. 2016-03-29 04:34:18.624 DEBUG [process_frame] Valid vehicle contour #0: centroid=(114, 51, 25, 22), bounding_box=(126, 62)
  2343. 2016-03-29 04:34:18.624 DEBUG [process_frame] Updating vehicle count...
  2344. 2016-03-29 04:34:18.624 DEBUG [vehicle_counter] Updating count using 1 matches...
  2345. 2016-03-29 04:34:18.624 DEBUG [root] Saving processed frame #90 as 'images/processed_0090.png'
  2346. 2016-03-29 04:34:18.624 DEBUG [main] Frame #90 processed.
  2347. 2016-03-29 04:34:18.640 DEBUG [main] Capturing frame #91...
  2348. 2016-03-29 04:34:18.640 DEBUG [main] Got frame #91: shape=(120, 160, 3)
  2349. 2016-03-29 04:34:18.640 DEBUG [main] Processing frame #91...
  2350. 2016-03-29 04:34:18.640 DEBUG [root] Saving foreground mask for frame #91 as 'images/mask_0091.png'
  2351. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Found 17 vehicle contours.
  2352. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #0: pos=(x=115, y=80) size=(w=27, h=10) valid=False
  2353. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #1: pos=(x=128, y=65) size=(w=3, h=1) valid=False
  2354. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #2: pos=(x=133, y=63) size=(w=1, h=3) valid=False
  2355. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #3: pos=(x=141, y=62) size=(w=2, h=2) valid=False
  2356. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #4: pos=(x=119, y=62) size=(w=1, h=1) valid=False
  2357. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #5: pos=(x=132, y=60) size=(w=1, h=2) valid=False
  2358. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #6: pos=(x=126, y=59) size=(w=3, h=1) valid=False
  2359. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #7: pos=(x=119, y=59) size=(w=6, h=7) valid=False
  2360. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #8: pos=(x=114, y=59) size=(w=29, h=25) valid=True
  2361. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #9: pos=(x=115, y=45) size=(w=24, h=17) valid=False
  2362. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #10: pos=(x=106, y=26) size=(w=1, h=2) valid=False
  2363. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #11: pos=(x=90, y=24) size=(w=16, h=13) valid=False
  2364. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #12: pos=(x=101, y=22) size=(w=1, h=1) valid=False
  2365. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #13: pos=(x=91, y=22) size=(w=1, h=1) valid=False
  2366. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #14: pos=(x=106, y=21) size=(w=1, h=1) valid=False
  2367. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #15: pos=(x=94, y=15) size=(w=11, h=7) valid=False
  2368. 2016-03-29 04:34:18.640 DEBUG [detect_vehicles] Contour #16: pos=(x=112, y=1) size=(w=4, h=1) valid=False
  2369. 2016-03-29 04:34:18.640 DEBUG [process_frame] Found 1 valid vehicle contours.
  2370. 2016-03-29 04:34:18.640 DEBUG [process_frame] Valid vehicle contour #0: centroid=(114, 59, 29, 25), bounding_box=(128, 71)
  2371. 2016-03-29 04:34:18.640 DEBUG [process_frame] Updating vehicle count...
  2372. 2016-03-29 04:34:18.640 DEBUG [vehicle_counter] Updating count using 1 matches...
  2373. 2016-03-29 04:34:18.640 DEBUG [root] Saving processed frame #91 as 'images/processed_0091.png'
  2374. 2016-03-29 04:34:18.640 DEBUG [main] Frame #91 processed.
  2375. 2016-03-29 04:34:18.654 DEBUG [main] Capturing frame #92...
  2376. 2016-03-29 04:34:18.654 DEBUG [main] Got frame #92: shape=(120, 160, 3)
  2377. 2016-03-29 04:34:18.654 DEBUG [main] Processing frame #92...
  2378. 2016-03-29 04:34:18.654 DEBUG [root] Saving foreground mask for frame #92 as 'images/mask_0092.png'
  2379. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Found 18 vehicle contours.
  2380. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #0: pos=(x=135, y=98) size=(w=1, h=1) valid=False
  2381. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #1: pos=(x=115, y=92) size=(w=30, h=12) valid=False
  2382. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #2: pos=(x=127, y=75) size=(w=3, h=3) valid=False
  2383. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #3: pos=(x=117, y=74) size=(w=29, h=24) valid=True
  2384. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #4: pos=(x=140, y=74) size=(w=1, h=1) valid=False
  2385. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #5: pos=(x=135, y=74) size=(w=1, h=4) valid=False
  2386. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #6: pos=(x=144, y=72) size=(w=2, h=2) valid=False
  2387. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #7: pos=(x=120, y=70) size=(w=2, h=3) valid=False
  2388. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #8: pos=(x=133, y=68) size=(w=3, h=4) valid=False
  2389. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #9: pos=(x=127, y=68) size=(w=4, h=2) valid=False
  2390. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #10: pos=(x=114, y=52) size=(w=28, h=26) valid=True
  2391. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #11: pos=(x=89, y=28) size=(w=17, h=15) valid=False
  2392. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #12: pos=(x=103, y=26) size=(w=1, h=1) valid=False
  2393. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #13: pos=(x=90, y=26) size=(w=1, h=1) valid=False
  2394. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #14: pos=(x=105, y=25) size=(w=1, h=1) valid=False
  2395. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #15: pos=(x=100, y=25) size=(w=1, h=2) valid=False
  2396. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #16: pos=(x=92, y=18) size=(w=14, h=7) valid=False
  2397. 2016-03-29 04:34:18.654 DEBUG [detect_vehicles] Contour #17: pos=(x=112, y=1) size=(w=8, h=2) valid=False
  2398. 2016-03-29 04:34:18.654 DEBUG [process_frame] Found 2 valid vehicle contours.
  2399. 2016-03-29 04:34:18.654 DEBUG [process_frame] Valid vehicle contour #0: centroid=(117, 74, 29, 24), bounding_box=(131, 86)
  2400. 2016-03-29 04:34:18.654 DEBUG [process_frame] Valid vehicle contour #1: centroid=(114, 52, 28, 26), bounding_box=(128, 65)
  2401. 2016-03-29 04:34:18.654 DEBUG [process_frame] Updating vehicle count...
  2402. 2016-03-29 04:34:18.654 DEBUG [vehicle_counter] Updating count using 2 matches...
  2403. 2016-03-29 04:34:18.654 DEBUG [root] Saving processed frame #92 as 'images/processed_0092.png'
  2404. 2016-03-29 04:34:18.654 DEBUG [main] Frame #92 processed.
  2405. 2016-03-29 04:34:18.671 DEBUG [main] Capturing frame #93...
  2406. 2016-03-29 04:34:18.671 DEBUG [main] Got frame #93: shape=(120, 160, 3)
  2407. 2016-03-29 04:34:18.671 DEBUG [main] Processing frame #93...
  2408. 2016-03-29 04:34:18.671 DEBUG [root] Saving foreground mask for frame #93 as 'images/mask_0093.png'
  2409. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Found 19 vehicle contours.
  2410. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #0: pos=(x=143, y=117) size=(w=5, h=2) valid=False
  2411. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #1: pos=(x=138, y=116) size=(w=1, h=1) valid=False
  2412. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #2: pos=(x=115, y=108) size=(w=13, h=11) valid=False
  2413. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #3: pos=(x=120, y=89) size=(w=2, h=1) valid=False
  2414. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #4: pos=(x=148, y=85) size=(w=2, h=2) valid=False
  2415. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #5: pos=(x=129, y=81) size=(w=4, h=2) valid=False
  2416. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #6: pos=(x=118, y=68) size=(w=1, h=1) valid=False
  2417. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=65) size=(w=36, h=51) valid=True
  2418. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #8: pos=(x=117, y=60) size=(w=22, h=5) valid=False
  2419. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #9: pos=(x=87, y=39) size=(w=18, h=9) valid=False
  2420. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #10: pos=(x=104, y=37) size=(w=1, h=2) valid=False
  2421. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #11: pos=(x=105, y=34) size=(w=1, h=2) valid=False
  2422. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #12: pos=(x=87, y=30) size=(w=17, h=12) valid=False
  2423. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #13: pos=(x=87, y=30) size=(w=2, h=1) valid=False
  2424. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #14: pos=(x=99, y=29) size=(w=1, h=3) valid=False
  2425. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #15: pos=(x=89, y=28) size=(w=1, h=1) valid=False
  2426. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #16: pos=(x=91, y=21) size=(w=14, h=10) valid=False
  2427. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #17: pos=(x=116, y=1) size=(w=4, h=3) valid=False
  2428. 2016-03-29 04:34:18.671 DEBUG [detect_vehicles] Contour #18: pos=(x=112, y=1) size=(w=3, h=2) valid=False
  2429. 2016-03-29 04:34:18.671 DEBUG [process_frame] Found 1 valid vehicle contours.
  2430. 2016-03-29 04:34:18.671 DEBUG [process_frame] Valid vehicle contour #0: centroid=(114, 65, 36, 51), bounding_box=(132, 90)
  2431. 2016-03-29 04:34:18.671 DEBUG [process_frame] Updating vehicle count...
  2432. 2016-03-29 04:34:18.671 DEBUG [vehicle_counter] Updating count using 1 matches...
  2433. 2016-03-29 04:34:18.671 DEBUG [root] Saving processed frame #93 as 'images/processed_0093.png'
  2434. 2016-03-29 04:34:18.671 DEBUG [main] Frame #93 processed.
  2435. 2016-03-29 04:34:18.686 DEBUG [main] Capturing frame #94...
  2436. 2016-03-29 04:34:18.686 DEBUG [main] Got frame #94: shape=(120, 160, 3)
  2437. 2016-03-29 04:34:18.686 DEBUG [main] Processing frame #94...
  2438. 2016-03-29 04:34:18.686 DEBUG [root] Saving foreground mask for frame #94 as 'images/mask_0094.png'
  2439. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Found 14 vehicle contours.
  2440. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #0: pos=(x=146, y=87) size=(w=1, h=1) valid=False
  2441. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #1: pos=(x=114, y=76) size=(w=41, h=43) valid=True
  2442. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #2: pos=(x=117, y=70) size=(w=25, h=5) valid=False
  2443. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #3: pos=(x=103, y=42) size=(w=1, h=4) valid=False
  2444. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #4: pos=(x=104, y=39) size=(w=1, h=2) valid=False
  2445. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #5: pos=(x=84, y=35) size=(w=20, h=21) valid=False
  2446. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #6: pos=(x=89, y=35) size=(w=1, h=1) valid=False
  2447. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #7: pos=(x=84, y=35) size=(w=2, h=1) valid=False
  2448. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #8: pos=(x=98, y=34) size=(w=1, h=2) valid=False
  2449. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #9: pos=(x=87, y=33) size=(w=1, h=1) valid=False
  2450. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #10: pos=(x=89, y=28) size=(w=15, h=8) valid=False
  2451. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #11: pos=(x=91, y=25) size=(w=11, h=3) valid=False
  2452. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #12: pos=(x=113, y=1) size=(w=7, h=4) valid=False
  2453. 2016-03-29 04:34:18.686 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=1) size=(w=2, h=2) valid=False
  2454. 2016-03-29 04:34:18.686 DEBUG [process_frame] Found 1 valid vehicle contours.
  2455. 2016-03-29 04:34:18.686 DEBUG [process_frame] Valid vehicle contour #0: centroid=(114, 76, 41, 43), bounding_box=(134, 97)
  2456. 2016-03-29 04:34:18.686 DEBUG [process_frame] Updating vehicle count...
  2457. 2016-03-29 04:34:18.686 DEBUG [vehicle_counter] Updating count using 1 matches...
  2458. 2016-03-29 04:34:18.686 DEBUG [root] Saving processed frame #94 as 'images/processed_0094.png'
  2459. 2016-03-29 04:34:18.686 DEBUG [main] Frame #94 processed.
  2460. 2016-03-29 04:34:18.701 DEBUG [main] Capturing frame #95...
  2461. 2016-03-29 04:34:18.701 DEBUG [main] Got frame #95: shape=(120, 160, 3)
  2462. 2016-03-29 04:34:18.701 DEBUG [main] Processing frame #95...
  2463. 2016-03-29 04:34:18.701 DEBUG [root] Saving foreground mask for frame #95 as 'images/mask_0095.png'
  2464. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Found 17 vehicle contours.
  2465. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #0: pos=(x=127, y=115) size=(w=16, h=4) valid=False
  2466. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #1: pos=(x=123, y=115) size=(w=2, h=1) valid=False
  2467. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #2: pos=(x=113, y=115) size=(w=1, h=1) valid=False
  2468. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #3: pos=(x=149, y=99) size=(w=1, h=2) valid=False
  2469. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #4: pos=(x=144, y=90) size=(w=1, h=1) valid=False
  2470. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=82) size=(w=40, h=37) valid=True
  2471. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #6: pos=(x=103, y=44) size=(w=1, h=3) valid=False
  2472. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #7: pos=(x=88, y=43) size=(w=3, h=1) valid=False
  2473. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #8: pos=(x=81, y=42) size=(w=21, h=23) valid=True
  2474. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #9: pos=(x=82, y=41) size=(w=1, h=1) valid=False
  2475. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #10: pos=(x=87, y=40) size=(w=1, h=1) valid=False
  2476. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #11: pos=(x=97, y=39) size=(w=1, h=2) valid=False
  2477. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #12: pos=(x=84, y=39) size=(w=1, h=2) valid=False
  2478. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #13: pos=(x=86, y=29) size=(w=18, h=13) valid=False
  2479. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #14: pos=(x=112, y=2) size=(w=9, h=5) valid=False
  2480. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #15: pos=(x=119, y=1) size=(w=1, h=1) valid=False
  2481. 2016-03-29 04:34:18.701 DEBUG [detect_vehicles] Contour #16: pos=(x=113, y=1) size=(w=1, h=1) valid=False
  2482. 2016-03-29 04:34:18.701 DEBUG [process_frame] Found 2 valid vehicle contours.
  2483. 2016-03-29 04:34:18.701 DEBUG [process_frame] Valid vehicle contour #0: centroid=(115, 82, 40, 37), bounding_box=(135, 100)
  2484. 2016-03-29 04:34:18.701 DEBUG [process_frame] Valid vehicle contour #1: centroid=(81, 42, 21, 23), bounding_box=(91, 53)
  2485. 2016-03-29 04:34:18.701 DEBUG [process_frame] Updating vehicle count...
  2486. 2016-03-29 04:34:18.701 DEBUG [vehicle_counter] Updating count using 2 matches...
  2487. 2016-03-29 04:34:18.701 DEBUG [root] Saving processed frame #95 as 'images/processed_0095.png'
  2488. 2016-03-29 04:34:18.701 DEBUG [main] Frame #95 processed.
  2489. 2016-03-29 04:34:18.717 DEBUG [main] Capturing frame #96...
  2490. 2016-03-29 04:34:18.717 DEBUG [main] Got frame #96: shape=(120, 160, 3)
  2491. 2016-03-29 04:34:18.717 DEBUG [main] Processing frame #96...
  2492. 2016-03-29 04:34:18.717 DEBUG [root] Saving foreground mask for frame #96 as 'images/mask_0096.png'
  2493. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2494. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #0: pos=(x=153, y=115) size=(w=2, h=4) valid=False
  2495. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #1: pos=(x=116, y=98) size=(w=36, h=21) valid=True
  2496. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #2: pos=(x=102, y=55) size=(w=1, h=1) valid=False
  2497. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #3: pos=(x=79, y=50) size=(w=1, h=1) valid=False
  2498. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #4: pos=(x=85, y=49) size=(w=5, h=3) valid=False
  2499. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #5: pos=(x=78, y=48) size=(w=2, h=1) valid=False
  2500. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #6: pos=(x=85, y=46) size=(w=1, h=1) valid=False
  2501. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #7: pos=(x=95, y=45) size=(w=1, h=2) valid=False
  2502. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #8: pos=(x=78, y=35) size=(w=25, h=40) valid=True
  2503. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #9: pos=(x=119, y=2) size=(w=1, h=1) valid=False
  2504. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #10: pos=(x=112, y=2) size=(w=9, h=6) valid=False
  2505. 2016-03-29 04:34:18.717 DEBUG [detect_vehicles] Contour #11: pos=(x=113, y=2) size=(w=2, h=1) valid=False
  2506. 2016-03-29 04:34:18.717 DEBUG [process_frame] Found 2 valid vehicle contours.
  2507. 2016-03-29 04:34:18.717 DEBUG [process_frame] Valid vehicle contour #0: centroid=(116, 98, 36, 21), bounding_box=(134, 108)
  2508. 2016-03-29 04:34:18.717 DEBUG [process_frame] Valid vehicle contour #1: centroid=(78, 35, 25, 40), bounding_box=(90, 55)
  2509. 2016-03-29 04:34:18.717 DEBUG [process_frame] Updating vehicle count...
  2510. 2016-03-29 04:34:18.717 DEBUG [vehicle_counter] Updating count using 2 matches...
  2511. 2016-03-29 04:34:18.717 DEBUG [root] Saving processed frame #96 as 'images/processed_0096.png'
  2512. 2016-03-29 04:34:18.717 DEBUG [main] Frame #96 processed.
  2513. 2016-03-29 04:34:18.733 DEBUG [main] Capturing frame #97...
  2514. 2016-03-29 04:34:18.733 DEBUG [main] Got frame #97: shape=(120, 160, 3)
  2515. 2016-03-29 04:34:18.733 DEBUG [main] Processing frame #97...
  2516. 2016-03-29 04:34:18.733 DEBUG [root] Saving foreground mask for frame #97 as 'images/mask_0097.png'
  2517. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Found 17 vehicle contours.
  2518. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #0: pos=(x=120, y=118) size=(w=25, h=1) valid=False
  2519. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #1: pos=(x=73, y=72) size=(w=27, h=15) valid=False
  2520. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #2: pos=(x=99, y=66) size=(w=2, h=6) valid=False
  2521. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #3: pos=(x=100, y=64) size=(w=1, h=1) valid=False
  2522. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #4: pos=(x=93, y=57) size=(w=2, h=1) valid=False
  2523. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #5: pos=(x=74, y=57) size=(w=28, h=17) valid=False
  2524. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #6: pos=(x=74, y=57) size=(w=2, h=3) valid=False
  2525. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #7: pos=(x=83, y=54) size=(w=5, h=8) valid=False
  2526. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #8: pos=(x=93, y=53) size=(w=1, h=2) valid=False
  2527. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #9: pos=(x=80, y=53) size=(w=1, h=1) valid=False
  2528. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #10: pos=(x=81, y=47) size=(w=1, h=1) valid=False
  2529. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #11: pos=(x=100, y=45) size=(w=2, h=5) valid=False
  2530. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #12: pos=(x=80, y=41) size=(w=22, h=19) valid=False
  2531. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #13: pos=(x=112, y=5) size=(w=9, h=5) valid=False
  2532. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #14: pos=(x=113, y=4) size=(w=1, h=1) valid=False
  2533. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #15: pos=(x=118, y=3) size=(w=3, h=2) valid=False
  2534. 2016-03-29 04:34:18.733 DEBUG [detect_vehicles] Contour #16: pos=(x=116, y=3) size=(w=1, h=1) valid=False
  2535. 2016-03-29 04:34:18.733 DEBUG [process_frame] No valid vehicle contours found.
  2536. 2016-03-29 04:34:18.733 DEBUG [root] Saving processed frame #97 as 'images/processed_0097.png'
  2537. 2016-03-29 04:34:18.733 DEBUG [main] Frame #97 processed.
  2538. 2016-03-29 04:34:18.749 DEBUG [main] Capturing frame #98...
  2539. 2016-03-29 04:34:18.749 DEBUG [main] Got frame #98: shape=(120, 160, 3)
  2540. 2016-03-29 04:34:18.749 DEBUG [main] Processing frame #98...
  2541. 2016-03-29 04:34:18.749 DEBUG [root] Saving foreground mask for frame #98 as 'images/mask_0098.png'
  2542. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2543. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #0: pos=(x=79, y=72) size=(w=1, h=1) valid=False
  2544. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #1: pos=(x=77, y=68) size=(w=1, h=1) valid=False
  2545. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #2: pos=(x=68, y=67) size=(w=3, h=4) valid=False
  2546. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #3: pos=(x=77, y=56) size=(w=1, h=1) valid=False
  2547. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #4: pos=(x=78, y=54) size=(w=1, h=1) valid=False
  2548. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #5: pos=(x=66, y=50) size=(w=35, h=55) valid=True
  2549. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #6: pos=(x=79, y=49) size=(w=15, h=8) valid=False
  2550. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #7: pos=(x=112, y=6) size=(w=10, h=6) valid=False
  2551. 2016-03-29 04:34:18.749 DEBUG [detect_vehicles] Contour #8: pos=(x=120, y=5) size=(w=1, h=1) valid=False
  2552. 2016-03-29 04:34:18.749 DEBUG [process_frame] Found 1 valid vehicle contours.
  2553. 2016-03-29 04:34:18.749 DEBUG [process_frame] Valid vehicle contour #0: centroid=(66, 50, 35, 55), bounding_box=(83, 77)
  2554. 2016-03-29 04:34:18.749 DEBUG [process_frame] Updating vehicle count...
  2555. 2016-03-29 04:34:18.749 DEBUG [vehicle_counter] Updating count using 1 matches...
  2556. 2016-03-29 04:34:18.749 DEBUG [root] Saving processed frame #98 as 'images/processed_0098.png'
  2557. 2016-03-29 04:34:18.749 DEBUG [main] Frame #98 processed.
  2558. 2016-03-29 04:34:18.765 DEBUG [main] Capturing frame #99...
  2559. 2016-03-29 04:34:18.765 DEBUG [main] Got frame #99: shape=(120, 160, 3)
  2560. 2016-03-29 04:34:18.765 DEBUG [main] Processing frame #99...
  2561. 2016-03-29 04:34:18.765 DEBUG [root] Saving foreground mask for frame #99 as 'images/mask_0099.png'
  2562. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Found 20 vehicle contours.
  2563. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #0: pos=(x=59, y=105) size=(w=1, h=1) valid=False
  2564. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #1: pos=(x=59, y=103) size=(w=1, h=1) valid=False
  2565. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #2: pos=(x=75, y=86) size=(w=1, h=1) valid=False
  2566. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #3: pos=(x=64, y=84) size=(w=1, h=2) valid=False
  2567. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #4: pos=(x=71, y=83) size=(w=1, h=1) valid=False
  2568. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #5: pos=(x=62, y=81) size=(w=4, h=3) valid=False
  2569. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #6: pos=(x=76, y=80) size=(w=1, h=1) valid=False
  2570. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #7: pos=(x=87, y=79) size=(w=2, h=2) valid=False
  2571. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #8: pos=(x=78, y=78) size=(w=4, h=11) valid=False
  2572. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #9: pos=(x=76, y=78) size=(w=3, h=1) valid=False
  2573. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #10: pos=(x=97, y=73) size=(w=2, h=2) valid=False
  2574. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #11: pos=(x=76, y=63) size=(w=14, h=3) valid=False
  2575. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #12: pos=(x=73, y=63) size=(w=16, h=6) valid=False
  2576. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #13: pos=(x=75, y=61) size=(w=1, h=1) valid=False
  2577. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #14: pos=(x=60, y=59) size=(w=40, h=60) valid=True
  2578. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #15: pos=(x=77, y=59) size=(w=14, h=3) valid=False
  2579. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #16: pos=(x=80, y=57) size=(w=3, h=1) valid=False
  2580. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #17: pos=(x=112, y=7) size=(w=10, h=7) valid=False
  2581. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #18: pos=(x=113, y=7) size=(w=1, h=1) valid=False
  2582. 2016-03-29 04:34:18.765 DEBUG [detect_vehicles] Contour #19: pos=(x=121, y=5) size=(w=1, h=1) valid=False
  2583. 2016-03-29 04:34:18.765 DEBUG [process_frame] Found 1 valid vehicle contours.
  2584. 2016-03-29 04:34:18.765 DEBUG [process_frame] Valid vehicle contour #0: centroid=(60, 59, 40, 60), bounding_box=(80, 89)
  2585. 2016-03-29 04:34:18.765 DEBUG [process_frame] Updating vehicle count...
  2586. 2016-03-29 04:34:18.765 DEBUG [vehicle_counter] Updating count using 1 matches...
  2587. 2016-03-29 04:34:18.765 DEBUG [root] Saving processed frame #99 as 'images/processed_0099.png'
  2588. 2016-03-29 04:34:18.765 DEBUG [main] Frame #99 processed.
  2589. 2016-03-29 04:34:18.779 DEBUG [main] Capturing frame #100...
  2590. 2016-03-29 04:34:18.779 DEBUG [main] Got frame #100: shape=(120, 160, 3)
  2591. 2016-03-29 04:34:18.779 DEBUG [main] Processing frame #100...
  2592. 2016-03-29 04:34:18.779 DEBUG [root] Saving foreground mask for frame #100 as 'images/mask_0100.png'
  2593. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Found 22 vehicle contours.
  2594. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #0: pos=(x=94, y=116) size=(w=1, h=1) valid=False
  2595. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #1: pos=(x=95, y=110) size=(w=1, h=2) valid=False
  2596. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #2: pos=(x=92, y=100) size=(w=1, h=1) valid=False
  2597. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #3: pos=(x=71, y=99) size=(w=1, h=1) valid=False
  2598. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #4: pos=(x=53, y=99) size=(w=5, h=5) valid=False
  2599. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #5: pos=(x=83, y=98) size=(w=1, h=1) valid=False
  2600. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #6: pos=(x=73, y=95) size=(w=12, h=15) valid=False
  2601. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #7: pos=(x=70, y=95) size=(w=3, h=3) valid=False
  2602. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #8: pos=(x=60, y=94) size=(w=1, h=1) valid=False
  2603. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #9: pos=(x=96, y=91) size=(w=1, h=2) valid=False
  2604. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #10: pos=(x=95, y=87) size=(w=2, h=2) valid=False
  2605. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #11: pos=(x=70, y=87) size=(w=1, h=1) valid=False
  2606. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #12: pos=(x=68, y=73) size=(w=3, h=5) valid=False
  2607. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #13: pos=(x=53, y=71) size=(w=43, h=48) valid=True
  2608. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #14: pos=(x=75, y=69) size=(w=1, h=1) valid=False
  2609. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #15: pos=(x=112, y=10) size=(w=11, h=6) valid=False
  2610. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #16: pos=(x=121, y=9) size=(w=1, h=1) valid=False
  2611. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #17: pos=(x=113, y=9) size=(w=1, h=1) valid=False
  2612. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #18: pos=(x=112, y=7) size=(w=1, h=1) valid=False
  2613. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #19: pos=(x=120, y=5) size=(w=3, h=3) valid=False
  2614. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #20: pos=(x=116, y=2) size=(w=1, h=1) valid=False
  2615. 2016-03-29 04:34:18.779 DEBUG [detect_vehicles] Contour #21: pos=(x=114, y=2) size=(w=1, h=2) valid=False
  2616. 2016-03-29 04:34:18.779 DEBUG [process_frame] Found 1 valid vehicle contours.
  2617. 2016-03-29 04:34:18.779 DEBUG [process_frame] Valid vehicle contour #0: centroid=(53, 71, 43, 48), bounding_box=(74, 95)
  2618. 2016-03-29 04:34:18.779 DEBUG [process_frame] Updating vehicle count...
  2619. 2016-03-29 04:34:18.779 DEBUG [vehicle_counter] Updating count using 1 matches...
  2620. 2016-03-29 04:34:18.779 DEBUG [root] Saving processed frame #100 as 'images/processed_0100.png'
  2621. 2016-03-29 04:34:18.779 DEBUG [main] Frame #100 processed.
  2622. 2016-03-29 04:34:18.796 DEBUG [main] Capturing frame #101...
  2623. 2016-03-29 04:34:18.796 DEBUG [main] Got frame #101: shape=(120, 160, 3)
  2624. 2016-03-29 04:34:18.796 DEBUG [main] Processing frame #101...
  2625. 2016-03-29 04:34:18.796 DEBUG [root] Saving foreground mask for frame #101 as 'images/mask_0101.png'
  2626. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2627. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #0: pos=(x=70, y=118) size=(w=1, h=1) valid=False
  2628. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #1: pos=(x=94, y=116) size=(w=1, h=1) valid=False
  2629. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #2: pos=(x=89, y=114) size=(w=1, h=1) valid=False
  2630. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #3: pos=(x=91, y=108) size=(w=3, h=11) valid=False
  2631. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #4: pos=(x=92, y=103) size=(w=2, h=4) valid=False
  2632. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #5: pos=(x=57, y=102) size=(w=1, h=1) valid=False
  2633. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #6: pos=(x=51, y=87) size=(w=40, h=32) valid=True
  2634. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #7: pos=(x=113, y=11) size=(w=1, h=1) valid=False
  2635. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #8: pos=(x=112, y=10) size=(w=11, h=8) valid=False
  2636. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #9: pos=(x=122, y=8) size=(w=1, h=1) valid=False
  2637. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #10: pos=(x=112, y=8) size=(w=1, h=2) valid=False
  2638. 2016-03-29 04:34:18.796 DEBUG [detect_vehicles] Contour #11: pos=(x=114, y=4) size=(w=2, h=1) valid=False
  2639. 2016-03-29 04:34:18.796 DEBUG [process_frame] Found 1 valid vehicle contours.
  2640. 2016-03-29 04:34:18.796 DEBUG [process_frame] Valid vehicle contour #0: centroid=(51, 87, 40, 32), bounding_box=(71, 103)
  2641. 2016-03-29 04:34:18.796 DEBUG [process_frame] Updating vehicle count...
  2642. 2016-03-29 04:34:18.796 DEBUG [vehicle_counter] Updating count using 1 matches...
  2643. 2016-03-29 04:34:18.796 DEBUG [root] Saving processed frame #101 as 'images/processed_0101.png'
  2644. 2016-03-29 04:34:18.796 DEBUG [main] Frame #101 processed.
  2645. 2016-03-29 04:34:18.812 DEBUG [main] Capturing frame #102...
  2646. 2016-03-29 04:34:18.812 DEBUG [main] Got frame #102: shape=(120, 160, 3)
  2647. 2016-03-29 04:34:18.812 DEBUG [main] Processing frame #102...
  2648. 2016-03-29 04:34:18.812 DEBUG [root] Saving foreground mask for frame #102 as 'images/mask_0102.png'
  2649. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2650. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #0: pos=(x=85, y=116) size=(w=1, h=3) valid=False
  2651. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #1: pos=(x=82, y=116) size=(w=2, h=3) valid=False
  2652. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #2: pos=(x=87, y=110) size=(w=1, h=1) valid=False
  2653. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #3: pos=(x=50, y=108) size=(w=35, h=11) valid=False
  2654. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #4: pos=(x=56, y=106) size=(w=3, h=2) valid=False
  2655. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=13) size=(w=12, h=8) valid=False
  2656. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #6: pos=(x=113, y=13) size=(w=1, h=1) valid=False
  2657. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #7: pos=(x=118, y=12) size=(w=2, h=1) valid=False
  2658. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #8: pos=(x=123, y=10) size=(w=1, h=1) valid=False
  2659. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #9: pos=(x=121, y=9) size=(w=1, h=1) valid=False
  2660. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #10: pos=(x=119, y=6) size=(w=1, h=1) valid=False
  2661. 2016-03-29 04:34:18.812 DEBUG [detect_vehicles] Contour #11: pos=(x=114, y=6) size=(w=3, h=1) valid=False
  2662. 2016-03-29 04:34:18.812 DEBUG [process_frame] No valid vehicle contours found.
  2663. 2016-03-29 04:34:18.812 DEBUG [root] Saving processed frame #102 as 'images/processed_0102.png'
  2664. 2016-03-29 04:34:18.812 DEBUG [main] Frame #102 processed.
  2665. 2016-03-29 04:34:18.826 DEBUG [main] Capturing frame #103...
  2666. 2016-03-29 04:34:18.826 DEBUG [main] Got frame #103: shape=(120, 160, 3)
  2667. 2016-03-29 04:34:18.826 DEBUG [main] Processing frame #103...
  2668. 2016-03-29 04:34:18.826 DEBUG [root] Saving foreground mask for frame #103 as 'images/mask_0103.png'
  2669. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Found 8 vehicle contours.
  2670. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #0: pos=(x=122, y=15) size=(w=1, h=2) valid=False
  2671. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=15) size=(w=12, h=8) valid=False
  2672. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=14) size=(w=3, h=1) valid=False
  2673. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #3: pos=(x=116, y=14) size=(w=1, h=1) valid=False
  2674. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=13) size=(w=1, h=1) valid=False
  2675. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=12) size=(w=1, h=1) valid=False
  2676. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #6: pos=(x=119, y=7) size=(w=2, h=2) valid=False
  2677. 2016-03-29 04:34:18.826 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=7) size=(w=4, h=2) valid=False
  2678. 2016-03-29 04:34:18.826 DEBUG [process_frame] No valid vehicle contours found.
  2679. 2016-03-29 04:34:18.826 DEBUG [root] Saving processed frame #103 as 'images/processed_0103.png'
  2680. 2016-03-29 04:34:18.826 DEBUG [main] Frame #103 processed.
  2681. 2016-03-29 04:34:18.842 DEBUG [main] Capturing frame #104...
  2682. 2016-03-29 04:34:18.842 DEBUG [main] Got frame #104: shape=(120, 160, 3)
  2683. 2016-03-29 04:34:18.842 DEBUG [main] Processing frame #104...
  2684. 2016-03-29 04:34:18.842 DEBUG [root] Saving foreground mask for frame #104 as 'images/mask_0104.png'
  2685. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Found 8 vehicle contours.
  2686. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #0: pos=(x=123, y=18) size=(w=1, h=1) valid=False
  2687. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=18) size=(w=13, h=8) valid=False
  2688. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #2: pos=(x=122, y=16) size=(w=1, h=1) valid=False
  2689. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #3: pos=(x=124, y=15) size=(w=1, h=1) valid=False
  2690. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=15) size=(w=1, h=1) valid=False
  2691. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=14) size=(w=1, h=1) valid=False
  2692. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #6: pos=(x=115, y=12) size=(w=1, h=1) valid=False
  2693. 2016-03-29 04:34:18.842 DEBUG [detect_vehicles] Contour #7: pos=(x=115, y=9) size=(w=7, h=2) valid=False
  2694. 2016-03-29 04:34:18.842 DEBUG [process_frame] No valid vehicle contours found.
  2695. 2016-03-29 04:34:18.842 DEBUG [root] Saving processed frame #104 as 'images/processed_0104.png'
  2696. 2016-03-29 04:34:18.842 DEBUG [main] Frame #104 processed.
  2697. 2016-03-29 04:34:18.858 DEBUG [main] Capturing frame #105...
  2698. 2016-03-29 04:34:18.858 DEBUG [main] Got frame #105: shape=(120, 160, 3)
  2699. 2016-03-29 04:34:18.858 DEBUG [main] Processing frame #105...
  2700. 2016-03-29 04:34:18.858 DEBUG [root] Saving foreground mask for frame #105 as 'images/mask_0105.png'
  2701. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Found 8 vehicle contours.
  2702. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=21) size=(w=14, h=8) valid=False
  2703. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #1: pos=(x=123, y=19) size=(w=1, h=1) valid=False
  2704. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=18) size=(w=1, h=1) valid=False
  2705. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #3: pos=(x=125, y=17) size=(w=1, h=1) valid=False
  2706. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #4: pos=(x=121, y=17) size=(w=1, h=1) valid=False
  2707. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=16) size=(w=1, h=2) valid=False
  2708. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #6: pos=(x=120, y=11) size=(w=1, h=1) valid=False
  2709. 2016-03-29 04:34:18.858 DEBUG [detect_vehicles] Contour #7: pos=(x=115, y=11) size=(w=3, h=3) valid=False
  2710. 2016-03-29 04:34:18.858 DEBUG [process_frame] No valid vehicle contours found.
  2711. 2016-03-29 04:34:18.858 DEBUG [root] Saving processed frame #105 as 'images/processed_0105.png'
  2712. 2016-03-29 04:34:18.858 DEBUG [main] Frame #105 processed.
  2713. 2016-03-29 04:34:18.874 DEBUG [main] Capturing frame #106...
  2714. 2016-03-29 04:34:18.874 DEBUG [main] Got frame #106: shape=(120, 160, 3)
  2715. 2016-03-29 04:34:18.874 DEBUG [main] Processing frame #106...
  2716. 2016-03-29 04:34:18.874 DEBUG [root] Saving foreground mask for frame #106 as 'images/mask_0106.png'
  2717. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2718. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #0: pos=(x=124, y=24) size=(w=2, h=2) valid=False
  2719. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=24) size=(w=15, h=9) valid=False
  2720. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #2: pos=(x=124, y=22) size=(w=1, h=1) valid=False
  2721. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=21) size=(w=1, h=1) valid=False
  2722. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #4: pos=(x=125, y=20) size=(w=2, h=1) valid=False
  2723. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=19) size=(w=2, h=2) valid=False
  2724. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #6: pos=(x=113, y=16) size=(w=1, h=1) valid=False
  2725. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #7: pos=(x=121, y=15) size=(w=2, h=1) valid=False
  2726. 2016-03-29 04:34:18.874 DEBUG [detect_vehicles] Contour #8: pos=(x=115, y=14) size=(w=5, h=2) valid=False
  2727. 2016-03-29 04:34:18.874 DEBUG [process_frame] No valid vehicle contours found.
  2728. 2016-03-29 04:34:18.874 DEBUG [root] Saving processed frame #106 as 'images/processed_0106.png'
  2729. 2016-03-29 04:34:18.874 DEBUG [main] Frame #106 processed.
  2730. 2016-03-29 04:34:18.890 DEBUG [main] Capturing frame #107...
  2731. 2016-03-29 04:34:18.890 DEBUG [main] Got frame #107: shape=(120, 160, 3)
  2732. 2016-03-29 04:34:18.890 DEBUG [main] Processing frame #107...
  2733. 2016-03-29 04:34:18.890 DEBUG [root] Saving foreground mask for frame #107 as 'images/mask_0107.png'
  2734. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Found 9 vehicle contours.
  2735. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=28) size=(w=16, h=10) valid=False
  2736. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #1: pos=(x=119, y=26) size=(w=3, h=1) valid=False
  2737. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #2: pos=(x=124, y=24) size=(w=4, h=3) valid=False
  2738. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=24) size=(w=1, h=1) valid=False
  2739. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #4: pos=(x=124, y=22) size=(w=1, h=1) valid=False
  2740. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #5: pos=(x=115, y=22) size=(w=3, h=3) valid=False
  2741. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #6: pos=(x=121, y=16) size=(w=1, h=1) valid=False
  2742. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #7: pos=(x=117, y=16) size=(w=2, h=1) valid=False
  2743. 2016-03-29 04:34:18.890 DEBUG [detect_vehicles] Contour #8: pos=(x=115, y=16) size=(w=7, h=3) valid=False
  2744. 2016-03-29 04:34:18.890 DEBUG [process_frame] No valid vehicle contours found.
  2745. 2016-03-29 04:34:18.890 DEBUG [root] Saving processed frame #107 as 'images/processed_0107.png'
  2746. 2016-03-29 04:34:18.890 DEBUG [main] Frame #107 processed.
  2747. 2016-03-29 04:34:18.904 DEBUG [main] Capturing frame #108...
  2748. 2016-03-29 04:34:18.904 DEBUG [main] Got frame #108: shape=(120, 160, 3)
  2749. 2016-03-29 04:34:18.904 DEBUG [main] Processing frame #108...
  2750. 2016-03-29 04:34:18.904 DEBUG [root] Saving foreground mask for frame #108 as 'images/mask_0108.png'
  2751. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Found 11 vehicle contours.
  2752. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=32) size=(w=17, h=11) valid=False
  2753. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #1: pos=(x=120, y=30) size=(w=2, h=1) valid=False
  2754. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #2: pos=(x=115, y=30) size=(w=1, h=1) valid=False
  2755. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=28) size=(w=1, h=1) valid=False
  2756. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #4: pos=(x=125, y=27) size=(w=4, h=4) valid=False
  2757. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #5: pos=(x=123, y=26) size=(w=1, h=1) valid=False
  2758. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #6: pos=(x=115, y=25) size=(w=3, h=4) valid=False
  2759. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #7: pos=(x=123, y=22) size=(w=1, h=1) valid=False
  2760. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #8: pos=(x=120, y=22) size=(w=1, h=1) valid=False
  2761. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #9: pos=(x=122, y=20) size=(w=1, h=1) valid=False
  2762. 2016-03-29 04:34:18.904 DEBUG [detect_vehicles] Contour #10: pos=(x=115, y=19) size=(w=4, h=4) valid=False
  2763. 2016-03-29 04:34:18.904 DEBUG [process_frame] No valid vehicle contours found.
  2764. 2016-03-29 04:34:18.904 DEBUG [root] Saving processed frame #108 as 'images/processed_0108.png'
  2765. 2016-03-29 04:34:18.904 DEBUG [main] Frame #108 processed.
  2766. 2016-03-29 04:34:18.921 DEBUG [main] Capturing frame #109...
  2767. 2016-03-29 04:34:18.921 DEBUG [main] Got frame #109: shape=(120, 160, 3)
  2768. 2016-03-29 04:34:18.921 DEBUG [main] Processing frame #109...
  2769. 2016-03-29 04:34:18.921 DEBUG [root] Saving foreground mask for frame #109 as 'images/mask_0109.png'
  2770. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2771. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #0: pos=(x=116, y=37) size=(w=14, h=5) valid=False
  2772. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #1: pos=(x=122, y=35) size=(w=2, h=1) valid=False
  2773. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=35) size=(w=18, h=14) valid=False
  2774. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #3: pos=(x=128, y=32) size=(w=2, h=1) valid=False
  2775. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=32) size=(w=1, h=1) valid=False
  2776. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #5: pos=(x=111, y=32) size=(w=2, h=2) valid=False
  2777. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #6: pos=(x=126, y=29) size=(w=1, h=2) valid=False
  2778. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #7: pos=(x=124, y=29) size=(w=1, h=1) valid=False
  2779. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #8: pos=(x=115, y=29) size=(w=3, h=4) valid=False
  2780. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #9: pos=(x=124, y=26) size=(w=1, h=1) valid=False
  2781. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #10: pos=(x=122, y=23) size=(w=2, h=1) valid=False
  2782. 2016-03-29 04:34:18.921 DEBUG [detect_vehicles] Contour #11: pos=(x=116, y=22) size=(w=5, h=5) valid=False
  2783. 2016-03-29 04:34:18.921 DEBUG [process_frame] No valid vehicle contours found.
  2784. 2016-03-29 04:34:18.921 DEBUG [root] Saving processed frame #109 as 'images/processed_0109.png'
  2785. 2016-03-29 04:34:18.921 DEBUG [main] Frame #109 processed.
  2786. 2016-03-29 04:34:18.937 DEBUG [main] Capturing frame #110...
  2787. 2016-03-29 04:34:18.937 DEBUG [main] Got frame #110: shape=(120, 160, 3)
  2788. 2016-03-29 04:34:18.937 DEBUG [main] Processing frame #110...
  2789. 2016-03-29 04:34:18.937 DEBUG [root] Saving foreground mask for frame #110 as 'images/mask_0110.png'
  2790. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Found 13 vehicle contours.
  2791. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #0: pos=(x=128, y=42) size=(w=4, h=4) valid=False
  2792. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #1: pos=(x=130, y=41) size=(w=1, h=1) valid=False
  2793. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #2: pos=(x=122, y=40) size=(w=3, h=1) valid=False
  2794. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #3: pos=(x=112, y=40) size=(w=19, h=16) valid=False
  2795. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #4: pos=(x=114, y=37) size=(w=1, h=1) valid=False
  2796. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #5: pos=(x=111, y=37) size=(w=2, h=2) valid=False
  2797. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #6: pos=(x=128, y=36) size=(w=4, h=2) valid=False
  2798. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #7: pos=(x=125, y=34) size=(w=1, h=2) valid=False
  2799. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #8: pos=(x=116, y=34) size=(w=4, h=5) valid=False
  2800. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #9: pos=(x=127, y=33) size=(w=1, h=1) valid=False
  2801. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #10: pos=(x=123, y=30) size=(w=2, h=1) valid=False
  2802. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #11: pos=(x=123, y=26) size=(w=2, h=2) valid=False
  2803. 2016-03-29 04:34:18.937 DEBUG [detect_vehicles] Contour #12: pos=(x=116, y=26) size=(w=6, h=5) valid=False
  2804. 2016-03-29 04:34:18.937 DEBUG [process_frame] No valid vehicle contours found.
  2805. 2016-03-29 04:34:18.937 DEBUG [root] Saving processed frame #110 as 'images/processed_0110.png'
  2806. 2016-03-29 04:34:18.937 DEBUG [main] Frame #110 processed.
  2807. 2016-03-29 04:34:18.951 DEBUG [main] Capturing frame #111...
  2808. 2016-03-29 04:34:18.951 DEBUG [main] Got frame #111: shape=(120, 160, 3)
  2809. 2016-03-29 04:34:18.951 DEBUG [main] Processing frame #111...
  2810. 2016-03-29 04:34:18.951 DEBUG [root] Saving foreground mask for frame #111 as 'images/mask_0111.png'
  2811. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Found 16 vehicle contours.
  2812. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #0: pos=(x=112, y=48) size=(w=21, h=15) valid=False
  2813. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #1: pos=(x=125, y=46) size=(w=3, h=2) valid=False
  2814. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #2: pos=(x=112, y=46) size=(w=1, h=2) valid=False
  2815. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #3: pos=(x=128, y=44) size=(w=1, h=1) valid=False
  2816. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #4: pos=(x=131, y=43) size=(w=2, h=1) valid=False
  2817. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #5: pos=(x=111, y=43) size=(w=4, h=2) valid=False
  2818. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #6: pos=(x=129, y=40) size=(w=1, h=3) valid=False
  2819. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #7: pos=(x=117, y=39) size=(w=4, h=6) valid=False
  2820. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #8: pos=(x=126, y=38) size=(w=3, h=2) valid=False
  2821. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #9: pos=(x=114, y=38) size=(w=1, h=1) valid=False
  2822. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #10: pos=(x=127, y=36) size=(w=1, h=1) valid=False
  2823. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #11: pos=(x=123, y=34) size=(w=3, h=2) valid=False
  2824. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #12: pos=(x=116, y=34) size=(w=4, h=2) valid=False
  2825. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=34) size=(w=1, h=1) valid=False
  2826. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #14: pos=(x=116, y=31) size=(w=3, h=2) valid=False
  2827. 2016-03-29 04:34:18.951 DEBUG [detect_vehicles] Contour #15: pos=(x=123, y=30) size=(w=3, h=3) valid=False
  2828. 2016-03-29 04:34:18.951 DEBUG [process_frame] No valid vehicle contours found.
  2829. 2016-03-29 04:34:18.951 DEBUG [root] Saving processed frame #111 as 'images/processed_0111.png'
  2830. 2016-03-29 04:34:18.951 DEBUG [main] Frame #111 processed.
  2831. 2016-03-29 04:34:18.967 DEBUG [main] Capturing frame #112...
  2832. 2016-03-29 04:34:18.967 DEBUG [main] Got frame #112: shape=(120, 160, 3)
  2833. 2016-03-29 04:34:18.967 DEBUG [main] Processing frame #112...
  2834. 2016-03-29 04:34:18.967 DEBUG [root] Saving foreground mask for frame #112 as 'images/mask_0112.png'
  2835. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Found 14 vehicle contours.
  2836. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #0: pos=(x=128, y=58) size=(w=1, h=1) valid=False
  2837. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #1: pos=(x=112, y=56) size=(w=23, h=17) valid=False
  2838. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #2: pos=(x=130, y=56) size=(w=3, h=2) valid=False
  2839. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #3: pos=(x=114, y=55) size=(w=1, h=1) valid=False
  2840. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #4: pos=(x=112, y=53) size=(w=1, h=3) valid=False
  2841. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #5: pos=(x=127, y=51) size=(w=4, h=2) valid=False
  2842. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #6: pos=(x=111, y=49) size=(w=3, h=3) valid=False
  2843. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #7: pos=(x=118, y=46) size=(w=7, h=6) valid=False
  2844. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #8: pos=(x=129, y=44) size=(w=6, h=8) valid=False
  2845. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #9: pos=(x=114, y=44) size=(w=1, h=2) valid=False
  2846. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #10: pos=(x=114, y=41) size=(w=1, h=1) valid=False
  2847. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #11: pos=(x=114, y=39) size=(w=1, h=1) valid=False
  2848. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #12: pos=(x=116, y=36) size=(w=11, h=6) valid=False
  2849. 2016-03-29 04:34:18.967 DEBUG [detect_vehicles] Contour #13: pos=(x=124, y=35) size=(w=3, h=3) valid=False
  2850. 2016-03-29 04:34:18.967 DEBUG [process_frame] No valid vehicle contours found.
  2851. 2016-03-29 04:34:18.967 DEBUG [root] Saving processed frame #112 as 'images/processed_0112.png'
  2852. 2016-03-29 04:34:18.967 DEBUG [main] Frame #112 processed.
  2853. 2016-03-29 04:34:18.983 DEBUG [main] Capturing frame #113...
  2854. 2016-03-29 04:34:18.983 DEBUG [main] Got frame #113: shape=(120, 160, 3)
  2855. 2016-03-29 04:34:18.983 DEBUG [main] Processing frame #113...
  2856. 2016-03-29 04:34:18.983 DEBUG [root] Saving foreground mask for frame #113 as 'images/mask_0113.png'
  2857. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Found 12 vehicle contours.
  2858. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #0: pos=(x=129, y=67) size=(w=2, h=2) valid=False
  2859. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #1: pos=(x=114, y=62) size=(w=1, h=1) valid=False
  2860. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #2: pos=(x=115, y=59) size=(w=1, h=1) valid=False
  2861. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #3: pos=(x=110, y=58) size=(w=4, h=3) valid=False
  2862. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #4: pos=(x=118, y=54) size=(w=13, h=7) valid=False
  2863. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=52) size=(w=26, h=32) valid=True
  2864. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #6: pos=(x=130, y=50) size=(w=1, h=1) valid=False
  2865. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #7: pos=(x=114, y=49) size=(w=1, h=3) valid=False
  2866. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #8: pos=(x=117, y=45) size=(w=12, h=4) valid=False
  2867. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #9: pos=(x=114, y=45) size=(w=1, h=3) valid=False
  2868. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #10: pos=(x=127, y=42) size=(w=2, h=2) valid=False
  2869. 2016-03-29 04:34:18.983 DEBUG [detect_vehicles] Contour #11: pos=(x=117, y=42) size=(w=2, h=2) valid=False
  2870. 2016-03-29 04:34:18.983 DEBUG [process_frame] Found 1 valid vehicle contours.
  2871. 2016-03-29 04:34:18.983 DEBUG [process_frame] Valid vehicle contour #0: centroid=(112, 52, 26, 32), bounding_box=(125, 68)
  2872. 2016-03-29 04:34:18.983 DEBUG [process_frame] Updating vehicle count...
  2873. 2016-03-29 04:34:18.983 DEBUG [vehicle_counter] Updating count using 1 matches...
  2874. 2016-03-29 04:34:18.983 DEBUG [root] Saving processed frame #113 as 'images/processed_0113.png'
  2875. 2016-03-29 04:34:18.983 DEBUG [main] Frame #113 processed.
  2876. 2016-03-29 04:34:18.999 DEBUG [main] Capturing frame #114...
  2877. 2016-03-29 04:34:18.999 DEBUG [main] Got frame #114: shape=(120, 160, 3)
  2878. 2016-03-29 04:34:18.999 DEBUG [main] Processing frame #114...
  2879. 2016-03-29 04:34:18.999 DEBUG [root] Saving foreground mask for frame #114 as 'images/mask_0114.png'
  2880. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Found 17 vehicle contours.
  2881. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #0: pos=(x=120, y=83) size=(w=2, h=1) valid=False
  2882. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #1: pos=(x=123, y=81) size=(w=5, h=1) valid=False
  2883. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #2: pos=(x=118, y=79) size=(w=1, h=1) valid=False
  2884. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #3: pos=(x=130, y=77) size=(w=3, h=4) valid=False
  2885. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #4: pos=(x=132, y=73) size=(w=1, h=1) valid=False
  2886. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #5: pos=(x=112, y=66) size=(w=1, h=1) valid=False
  2887. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #6: pos=(x=116, y=64) size=(w=2, h=2) valid=False
  2888. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #7: pos=(x=110, y=64) size=(w=31, h=35) valid=True
  2889. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #8: pos=(x=119, y=63) size=(w=13, h=11) valid=False
  2890. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #9: pos=(x=132, y=62) size=(w=9, h=10) valid=False
  2891. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #10: pos=(x=130, y=60) size=(w=3, h=1) valid=False
  2892. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #11: pos=(x=123, y=55) size=(w=7, h=2) valid=False
  2893. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #12: pos=(x=118, y=52) size=(w=6, h=6) valid=False
  2894. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #13: pos=(x=114, y=51) size=(w=1, h=1) valid=False
  2895. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #14: pos=(x=128, y=49) size=(w=2, h=2) valid=False
  2896. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #15: pos=(x=123, y=49) size=(w=2, h=1) valid=False
  2897. 2016-03-29 04:34:18.999 DEBUG [detect_vehicles] Contour #16: pos=(x=117, y=49) size=(w=3, h=2) valid=False
  2898. 2016-03-29 04:34:18.999 DEBUG [process_frame] Found 1 valid vehicle contours.
  2899. 2016-03-29 04:34:18.999 DEBUG [process_frame] Valid vehicle contour #0: centroid=(110, 64, 31, 35), bounding_box=(125, 81)
  2900. 2016-03-29 04:34:18.999 DEBUG [process_frame] Updating vehicle count...
  2901. 2016-03-29 04:34:18.999 DEBUG [vehicle_counter] Updating count using 1 matches...
  2902. 2016-03-29 04:34:18.999 DEBUG [root] Saving processed frame #114 as 'images/processed_0114.png'
  2903. 2016-03-29 04:34:18.999 DEBUG [main] Frame #114 processed.
  2904. 2016-03-29 04:34:19.015 DEBUG [main] Capturing frame #115...
  2905. 2016-03-29 04:34:19.015 DEBUG [main] Got frame #115: shape=(120, 160, 3)
  2906. 2016-03-29 04:34:19.015 DEBUG [main] Processing frame #115...
  2907. 2016-03-29 04:34:19.015 DEBUG [root] Saving foreground mask for frame #115 as 'images/mask_0115.png'
  2908. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Found 24 vehicle contours.
  2909. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #0: pos=(x=131, y=100) size=(w=1, h=1) valid=False
  2910. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #1: pos=(x=126, y=100) size=(w=1, h=1) valid=False
  2911. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #2: pos=(x=129, y=98) size=(w=1, h=1) valid=False
  2912. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #3: pos=(x=123, y=95) size=(w=6, h=2) valid=False
  2913. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #4: pos=(x=137, y=93) size=(w=2, h=2) valid=False
  2914. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #5: pos=(x=118, y=93) size=(w=2, h=2) valid=False
  2915. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #6: pos=(x=131, y=89) size=(w=5, h=7) valid=False
  2916. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #7: pos=(x=131, y=88) size=(w=1, h=1) valid=False
  2917. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #8: pos=(x=135, y=80) size=(w=1, h=1) valid=False
  2918. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #9: pos=(x=116, y=79) size=(w=1, h=3) valid=False
  2919. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #10: pos=(x=116, y=77) size=(w=1, h=1) valid=False
  2920. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #11: pos=(x=132, y=76) size=(w=1, h=2) valid=False
  2921. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #12: pos=(x=112, y=75) size=(w=1, h=5) valid=False
  2922. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #13: pos=(x=128, y=73) size=(w=1, h=1) valid=False
  2923. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #14: pos=(x=112, y=73) size=(w=1, h=1) valid=False
  2924. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #15: pos=(x=131, y=71) size=(w=5, h=2) valid=False
  2925. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #16: pos=(x=112, y=71) size=(w=1, h=1) valid=False
  2926. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #17: pos=(x=131, y=69) size=(w=1, h=1) valid=False
  2927. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #18: pos=(x=128, y=69) size=(w=1, h=1) valid=False
  2928. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #19: pos=(x=109, y=69) size=(w=35, h=49) valid=True
  2929. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #20: pos=(x=131, y=66) size=(w=3, h=2) valid=False
  2930. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #21: pos=(x=115, y=63) size=(w=1, h=2) valid=False
  2931. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #22: pos=(x=123, y=58) size=(w=9, h=3) valid=False
  2932. 2016-03-29 04:34:19.015 DEBUG [detect_vehicles] Contour #23: pos=(x=118, y=58) size=(w=12, h=10) valid=False
  2933. 2016-03-29 04:34:19.015 DEBUG [process_frame] Found 1 valid vehicle contours.
  2934. 2016-03-29 04:34:19.015 DEBUG [process_frame] Valid vehicle contour #0: centroid=(109, 69, 35, 49), bounding_box=(126, 93)
  2935. 2016-03-29 04:34:19.015 DEBUG [process_frame] Updating vehicle count...
  2936. 2016-03-29 04:34:19.015 DEBUG [vehicle_counter] Updating count using 1 matches...
  2937. 2016-03-29 04:34:19.015 DEBUG [root] Saving processed frame #115 as 'images/processed_0115.png'
  2938. 2016-03-29 04:34:19.015 DEBUG [main] Frame #115 processed.
  2939. 2016-03-29 04:34:19.029 DEBUG [main] Capturing frame #116...
  2940. 2016-03-29 04:34:19.029 DEBUG [main] Got frame #116: shape=(120, 160, 3)
  2941. 2016-03-29 04:34:19.029 DEBUG [main] Processing frame #116...
  2942. 2016-03-29 04:34:19.029 DEBUG [root] Saving foreground mask for frame #116 as 'images/mask_0116.png'
  2943. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Found 25 vehicle contours.
  2944. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #0: pos=(x=144, y=118) size=(w=1, h=1) valid=False
  2945. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #1: pos=(x=130, y=118) size=(w=3, h=1) valid=False
  2946. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #2: pos=(x=140, y=115) size=(w=1, h=1) valid=False
  2947. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #3: pos=(x=124, y=112) size=(w=7, h=3) valid=False
  2948. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #4: pos=(x=141, y=111) size=(w=2, h=3) valid=False
  2949. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #5: pos=(x=116, y=111) size=(w=1, h=1) valid=False
  2950. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #6: pos=(x=118, y=110) size=(w=2, h=3) valid=False
  2951. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #7: pos=(x=146, y=109) size=(w=3, h=10) valid=False
  2952. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #8: pos=(x=133, y=109) size=(w=6, h=4) valid=False
  2953. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #9: pos=(x=121, y=106) size=(w=10, h=2) valid=False
  2954. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #10: pos=(x=138, y=105) size=(w=5, h=5) valid=False
  2955. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #11: pos=(x=118, y=103) size=(w=1, h=1) valid=False
  2956. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #12: pos=(x=127, y=92) size=(w=1, h=1) valid=False
  2957. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #13: pos=(x=119, y=91) size=(w=17, h=17) valid=False
  2958. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #14: pos=(x=139, y=90) size=(w=10, h=16) valid=False
  2959. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #15: pos=(x=129, y=88) size=(w=1, h=1) valid=False
  2960. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #16: pos=(x=140, y=86) size=(w=1, h=2) valid=False
  2961. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #17: pos=(x=133, y=85) size=(w=6, h=4) valid=False
  2962. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #18: pos=(x=133, y=82) size=(w=2, h=1) valid=False
  2963. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #19: pos=(x=133, y=78) size=(w=3, h=2) valid=False
  2964. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #20: pos=(x=138, y=77) size=(w=1, h=2) valid=False
  2965. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #21: pos=(x=109, y=72) size=(w=10, h=47) valid=False
  2966. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #22: pos=(x=133, y=70) size=(w=1, h=2) valid=False
  2967. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #23: pos=(x=119, y=70) size=(w=11, h=9) valid=False
  2968. 2016-03-29 04:34:19.029 DEBUG [detect_vehicles] Contour #24: pos=(x=118, y=69) size=(w=1, h=1) valid=False
  2969. 2016-03-29 04:34:19.029 DEBUG [process_frame] No valid vehicle contours found.
  2970. 2016-03-29 04:34:19.029 DEBUG [root] Saving processed frame #116 as 'images/processed_0116.png'
  2971. 2016-03-29 04:34:19.029 DEBUG [main] Frame #116 processed.
  2972. 2016-03-29 04:34:19.046 DEBUG [main] Capturing frame #117...
  2973. 2016-03-29 04:34:19.046 DEBUG [main] Got frame #117: shape=(120, 160, 3)
  2974. 2016-03-29 04:34:19.046 DEBUG [main] Processing frame #117...
  2975. 2016-03-29 04:34:19.046 DEBUG [root] Saving foreground mask for frame #117 as 'images/mask_0117.png'
  2976. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Found 19 vehicle contours.
  2977. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #0: pos=(x=125, y=115) size=(w=4, h=2) valid=False
  2978. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #1: pos=(x=120, y=115) size=(w=4, h=4) valid=False
  2979. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #2: pos=(x=117, y=114) size=(w=1, h=4) valid=False
  2980. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #3: pos=(x=128, y=113) size=(w=10, h=6) valid=False
  2981. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #4: pos=(x=142, y=112) size=(w=6, h=7) valid=False
  2982. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #5: pos=(x=123, y=112) size=(w=2, h=2) valid=False
  2983. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #6: pos=(x=120, y=110) size=(w=2, h=1) valid=False
  2984. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #7: pos=(x=132, y=109) size=(w=2, h=1) valid=False
  2985. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #8: pos=(x=142, y=107) size=(w=1, h=2) valid=False
  2986. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #9: pos=(x=125, y=107) size=(w=2, h=1) valid=False
  2987. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #10: pos=(x=142, y=94) size=(w=1, h=2) valid=False
  2988. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #11: pos=(x=135, y=91) size=(w=3, h=3) valid=False
  2989. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #12: pos=(x=130, y=91) size=(w=3, h=1) valid=False
  2990. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #13: pos=(x=120, y=91) size=(w=1, h=1) valid=False
  2991. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #14: pos=(x=135, y=89) size=(w=10, h=19) valid=False
  2992. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #15: pos=(x=126, y=88) size=(w=5, h=3) valid=False
  2993. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #16: pos=(x=111, y=86) size=(w=7, h=33) valid=False
  2994. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #17: pos=(x=119, y=85) size=(w=7, h=5) valid=False
  2995. 2016-03-29 04:34:19.046 DEBUG [detect_vehicles] Contour #18: pos=(x=122, y=83) size=(w=8, h=1) valid=False
  2996. 2016-03-29 04:34:19.046 DEBUG [process_frame] No valid vehicle contours found.
  2997. 2016-03-29 04:34:19.046 DEBUG [root] Saving processed frame #117 as 'images/processed_0117.png'
  2998. 2016-03-29 04:34:19.046 DEBUG [main] Frame #117 processed.
  2999. 2016-03-29 04:34:19.062 DEBUG [main] Capturing frame #118...
  3000. 2016-03-29 04:34:19.062 DEBUG [main] Got frame #118: shape=(120, 160, 3)
  3001. 2016-03-29 04:34:19.062 DEBUG [main] Processing frame #118...
  3002. 2016-03-29 04:34:19.062 DEBUG [root] Saving foreground mask for frame #118 as 'images/mask_0118.png'
  3003. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Found 11 vehicle contours.
  3004. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #0: pos=(x=136, y=114) size=(w=1, h=1) valid=False
  3005. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #1: pos=(x=144, y=113) size=(w=4, h=6) valid=False
  3006. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #2: pos=(x=119, y=113) size=(w=1, h=6) valid=False
  3007. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #3: pos=(x=145, y=110) size=(w=1, h=1) valid=False
  3008. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #4: pos=(x=143, y=110) size=(w=1, h=4) valid=False
  3009. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #5: pos=(x=128, y=110) size=(w=1, h=1) valid=False
  3010. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #6: pos=(x=144, y=107) size=(w=1, h=1) valid=False
  3011. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #7: pos=(x=137, y=107) size=(w=3, h=2) valid=False
  3012. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #8: pos=(x=129, y=104) size=(w=4, h=1) valid=False
  3013. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #9: pos=(x=122, y=104) size=(w=1, h=1) valid=False
  3014. 2016-03-29 04:34:19.062 DEBUG [detect_vehicles] Contour #10: pos=(x=111, y=104) size=(w=7, h=15) valid=False
  3015. 2016-03-29 04:34:19.062 DEBUG [process_frame] No valid vehicle contours found.
  3016. 2016-03-29 04:34:19.062 DEBUG [root] Saving processed frame #118 as 'images/processed_0118.png'
  3017. 2016-03-29 04:34:19.062 DEBUG [main] Frame #118 processed.
  3018. 2016-03-29 04:34:19.076 DEBUG [main] Capturing frame #119...
  3019. 2016-03-29 04:34:19.076 DEBUG [main] Got frame #119: shape=(120, 160, 3)
  3020. 2016-03-29 04:34:19.076 DEBUG [main] Processing frame #119...
  3021. 2016-03-29 04:34:19.076 DEBUG [root] Saving foreground mask for frame #119 as 'images/mask_0119.png'
  3022. 2016-03-29 04:34:19.076 DEBUG [detect_vehicles] Found 0 vehicle contours.
  3023. 2016-03-29 04:34:19.076 DEBUG [process_frame] No valid vehicle contours found.
  3024. 2016-03-29 04:34:19.076 DEBUG [root] Saving processed frame #119 as 'images/processed_0119.png'
  3025. 2016-03-29 04:34:19.076 DEBUG [main] Frame #119 processed.
  3026. 2016-03-29 04:34:19.092 DEBUG [main] Capturing frame #120...
  3027. 2016-03-29 04:34:19.092 ERROR [main] Frame capture failed, stopping...
  3028. 2016-03-29 04:34:19.092 DEBUG [main] Closing video capture device...
  3029. 2016-03-29 04:34:19.092 DEBUG [main] Done.
Add Comment
Please, Sign In to add comment