{"id":654,"date":"2020-01-13T06:59:29","date_gmt":"2020-01-12T23:59:29","guid":{"rendered":"http:\/\/ainoodle.tech\/?p=654"},"modified":"2020-01-13T06:59:29","modified_gmt":"2020-01-12T23:59:29","slug":"ket-hop-object-detection-va-object-tracking-xay-dung-he-thong-dem-phuong-tien-giao-thong-tren-duong","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=654","title":{"rendered":"K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; Ch\u01b0\u01a1ng 2. X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng"},"content":{"rendered":"\n<p>Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9. <\/p>\n\n\n\n<p>Trong b\u00e0i tr\u01b0\u1edbc <strong><a href=\"https:\/\/miai.vn\/2020\/01\/07\/tracking-theo-vet-doi-tuong-trong-anh-chuong-1-thu-thuat-toan-opencv-tracking\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">t\u1ea1i \u0111\u00e2y<\/a><\/strong> ch\u00fang ta \u0111\u00e3 th\u1eed thu\u1eadt to\u00e1n Object Tracking (OT) v\u00e0 \u0111\u00e3 th\u1ea5y r\u1ea5t hi\u1ec3u qu\u1ea3 trong theo v\u1ebft, tracking \u0111\u1ed1i t\u01b0\u1ee3ng. H\u00f4m nay ch\u00fang ta s\u1ebd s\u1eed d\u1ee5ng MobileNet SSD \u0111\u1ec3 l\u00e0m Object Detection v\u00e0 sau \u0111\u00f3 th\u1ef1c hi\u1ec7n OT \u0111\u1ec3 \u0111\u1ebfm s\u1ed1 xe oto (m\u00ecnh l\u00e0m v\u1edbi oto, b\u1ea1n c\u00f3 th\u1ec3 l\u00e0m v\u1edbi c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng kh\u00e1c nh\u00e9).<\/p>\n\n\n\n<p>B\u1eaft tay v\u00e0o l\u00e0m n\u00e0o!<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 1 &#8211; Chu\u1ea9n b\u1ecb nguy\u00ean v\u1eadt li\u1ec7u<\/h2>\n\n\n\n<p>\u0110\u1ea7u ti\u00ean c\u00e1c b\u1ea1n t\u1ea1o th\u1eed m\u1ee5c <strong>MiAI_Object_Tracking<\/strong> t\u1ea3i git c\u1ee7a m\u00ecnh v\u1ec1 cho nhanh nh\u00e9:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking .<\/pre>\n\n\n\n<p>Ti\u1ebfp theo ta c\u00e0i \u0111\u1eb7t c\u00e1c th\u01b0 vi\u1ec7n c\u1ea7n thi\u1ebft b\u1eb1ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip install -r setup.txt<\/pre>\n\n\n\n<p>Do c\u00e0i c\u1ea3 tensorflow v\u00e0 keras n\u00ean s\u1ebd h\u01a1i l\u00e2u ch\u00fat, c\u00e1c b\u1ea1n \u0111\u1ee3i t\u1eb9o l\u00e0 okie.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2 &#8211; Thu\u1eadt to\u00e1n x\u1eed l\u00fd <\/h2>\n\n\n\n<p>N\u00f3i qua ch\u00fat v\u1ec1 thu\u1eadt to\u00e1n x\u1eed l\u00fd v\u1edbi b\u00e0i to\u00e1n \u0111\u1ebfm xe n\u00e0y. Ch\u00fang ta s\u1ebd l\u1ea7n l\u01b0\u1ee3t l\u00e0m c\u00e1c b\u01b0\u1edbc nh\u01b0 sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>B\u01b0\u1edbc 1. Load input video (m\u00ecnh c\u00f3 \u0111\u1ec3 s\u1eb5n file test.mp4) v\u00e0 load pretrain MobileNetSSD.<\/li><li>B\u01b0\u1edbc 2: Ta \u0111\u1ecbnh ngh\u0129a s\u1eb5n 1 \u0111\u01b0\u1eddng k\u1ebb ngang, m\u00e0 m\u00ecnh t\u1ea1m g\u1ecdi l\u00e0 laser line. C\u00e1c b\u1ea1n c\u1ee9 t\u01b0\u1edfng t\u01b0\u1ee3ng c\u00f3 m\u1ed9t \u0111\u01b0\u1eddng laser chi\u1ebfu ngang, khi xe \u0111i qua th\u00ec s\u1ebd \u0111\u1ebfm xe cho d\u1ec5 hi\u1ec3u.<\/li><li>B\u01b0\u1edbc 3: Ta ti\u1ebfn h\u00e0nh l\u1eb7p qua c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng \u0111\u00e3 \u0111\u01b0\u1ee3c tracking \u0111\u1ec3 update v\u1ecb tr\u00ed m\u1edbi (n\u1ebfu c\u00f3). Trong qu\u00e1 tr\u00ecnh l\u1eb7p, n\u1ebfu \u0111\u1ed1i t\u01b0\u1ee3ng v\u01b0\u1ee3t qua \u0111\u01b0\u1eddng laser th\u00ec t\u00ednh th\u00eam 1 xe m\u1edbi, n\u1ebfu \u0111\u1ed1i t\u01b0\u1ee3ng kh\u00f4ng v\u01b0\u1ee3t qua th\u00ec ti\u1ebfp t\u1ee5c theo v\u1ebft.<\/li><li>B\u01b0\u1edbc 4. C\u1ee9 m\u1ed7i 5 frame, ch\u00fang ta l\u1ea1i nh\u1eadn di\u1ec7n l\u1ea1i c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng 1 l\u1ea7n, n\u1ebfu nh\u01b0 l\u00e0 \u0111\u1ed1i t\u01b0\u1ee3ng m\u1edbi xu\u1ea5t hi\u1ec7n (b\u1eb1ng c\u00e1ch ki\u1ec3m tra centroid xem c\u00f3 g\u1ea7n \u0111\u1ed1i t\u01b0\u1ee3ng n\u00e0o \u0111ang \u0111\u01b0\u1ee3c tracking hay kh\u00f4ng) th\u00ec ta th\u00eam v\u00e0o danh s\u00e1ch tracking.<\/li><li>B\u01b0\u1edbc 5. Hi\u1ec3n th\u1ecb l\u00ean m\u00e0n h\u00ecnh v\u00e0 ti\u1ebfp t\u1ee5c l\u1eb7p l\u1ea1i b\u01b0\u1edbc 3.<\/li><\/ul>\n\n\n\n<p>Ph\u1ea7n n\u00e0y h\u01a1i l\u1eb1ng nh\u1eb1ng t\u00fd, c\u00e1c b\u1ea1n c\u1ee9 \u0111\u1ecdc k\u1ef9, n\u1ebfu ch\u01b0a hi\u1ec3u th\u00ec post l\u00ean group Group trao \u0111\u1ed5i, chia s\u1ebb: <strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/facebook.com\/groups\/miaigroup<\/a><\/strong> \u0111\u1ec3 ti\u1ec7n trao \u0111\u1ed5i nh\u00e9.<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3 &#8211; Ch\u1ea1y th\u1eed ch\u01b0\u01a1ng tr\u00ecnh \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng<\/h2>\n\n\n\n<p>Trong m\u00e3 ngu\u1ed3n m\u00ecnh c\u00f3 \u0111\u1ec3 file object_detect_tracking.py, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 xem qua source v\u00e0 so s\u00e1nh v\u1edbi thu\u1eadt to\u00e1n \u1edf ph\u1ea7n tr\u00ean.<\/p>\n\n\n\n<p>Trong file \u0111\u00f3 m\u00ecnh c\u00f3 \u0111\u1ec3 c\u00e1c tham s\u1ed1 link \u0111\u1ebfn pretrain model MobileNet SSD v\u00e0 \u0111\u01b0\u1eddng d\u1eabn \u0111\u1ebfn file video. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 ch\u1ec9nh l\u1ea1i t\u00f9y t\u00fd, v\u00ed d\u1ee5 thay model kh\u00e1c, ho\u1eb7c d\u00f9ng OpenCV thu\u1ea7n, thay video kh\u00e1c \u0111\u1ec3 ki\u1ec3m tra&#8230;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">prototype_url = 'models\/MobileNetSSD_deploy.prototxt'<br>model_url = 'models\/MobileNetSSD_deploy.caffemodel'<br>video_path = 'test.mp4'<\/pre>\n\n\n\n<p>\u0110\u1ec3 \u0111\u1ecbnh ngh\u0129a v\u1ecb tr\u00ed c\u1ee7a \u0111\u01b0\u1eddng laser line, c\u00e1c b\u1ea1n s\u1eeda tham s\u1ed1 n\u00e0y:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">laser_line = input_h - 50<\/pre>\n\n\n\n<p>C\u00f2n b\u00e2y gi\u1edd c\u00e1c b\u1ea1n h\u00e3y ch\u1ea3y th\u1eed tr\u01b0\u1edbc, n\u1ebfu m\u1ecdi th\u1ee9 okie, c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y video nh\u01b0 sau:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true\" alt=\"\u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n\"\/><figcaption>Ngu\u1ed3n video: Buzz60<\/figcaption><\/figure><\/div>\n\n\n\n<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }<\/style><div class=\"embed-container\"><iframe src=\"https:\/\/www.youtube.com\/embed\/\/2h8OZPEoVFY\" frameborder=\"0\" allowfullscreen=\"\"><\/iframe><\/div>\n\n\n\n<p>OK, nh\u01b0 v\u1eady qua b\u00e0i n\u00e0y b\u01b0\u1edbc \u0111\u1ea7u c\u00e1c b\u1ea1n \u0111\u00e3 bi\u1ebft c\u00e1ch ph\u00e1t hi\u1ec7n v\u00e0 tracking v\u00e0 \u0111\u1ebfm \u0111\u1ed1i t\u01b0\u1ee3ng. M\u00ecnh xin t\u1ea1m d\u1eebng v\u00e0 h\u1eb9n g\u1eb7p l\u1ea1i c\u00e1c b\u1ea1n nh\u00e9.<\/p>\n\n\n\n<p><strong><em>H\u00e3y join c\u00f9ng c\u1ed9ng \u0111\u1ed3ng M\u00ec AI nh\u00e9!<\/em><\/strong><\/p>\n\n\n\n<p>Fanpage:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><br>Group trao \u0111\u1ed5i, chia s\u1ebb:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><br>Website:&nbsp;<a href=\"https:\/\/miai.vn\/\">https:\/\/miai.vn\/<\/a><br>Youtube:&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\">http:\/\/bit.ly\/miaiyoutube<\/a><\/p>\n\n\n\n<p>C\u1ea3m \u01a1n b\u00e0i vi\u1ebft v\u1ec1 <a rel=\"noreferrer noopener\" aria-label=\"realtime object regcog (opens in a new tab)\" href=\"https:\/\/github.com\/C-Aniruddh\/realtime_object_recognition\/blob\/master\/real_time_object_detection.py\" target=\"_blank\">realtime object regcog<\/a> c\u1ee7a t\u00e1c gi\u1ea3 C-Aniruddh v\u00e0 c\u1ee7a 1 b\u1ea1n tr\u00ean m\u1ea1ng, m\u00ecnh down v\u1ec1 \u0111\u00e3 l\u00e2u kh\u00f4ng nh\u1edb ngu\u1ed3n. N\u1ebfu b\u1ea1n c\u00f3 \u0111\u1ecdc \u0111\u01b0\u1ee3c h\u00e3y comment m\u00ecnh s\u1ebd update ngay!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9. Trong b\u00e0i tr\u01b0\u1edbc t\u1ea1i \u0111\u00e2y ch\u00fang ta \u0111\u00e3 th\u1eed thu\u1eadt to\u00e1n Object Tracking (OT) v\u00e0 \u0111\u00e3 th\u1ea5y r\u1ea5t hi\u1ec3u qu\u1ea3 trong theo v\u1ebft, tracking \u0111\u1ed1i t\u01b0\u1ee3ng. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[163,156,164,157,158,31,159,160,28,161,162],"class_list":["post-654","post","type-post","status-publish","format-standard","hentry","category-computer-vision","tag-car-counting","tag-csrt","tag-dem-phuong-tien","tag-kcf","tag-mosse","tag-object-detection","tag-object-tracker","tag-object-tracking","tag-opencv","tag-theo-vet-doi-tuong","tag-tracking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/miai.vn\/?p=654\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=654\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-12T23:59:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true\" \/>\n<meta name=\"author\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; Ch\u01b0\u01a1ng 2. X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng\",\"datePublished\":\"2020-01-12T23:59:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654\"},\"wordCount\":870,\"commentCount\":13,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/MiAI_Object_Detect_Tracking\\\/blob\\\/master\\\/Image_screenshot_13.01.2020.png?raw=true\",\"keywords\":[\"car counting\",\"CSRT\",\"\u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n\",\"KCF\",\"MOSSE\",\"object detection\",\"object tracker\",\"object tracking\",\"opencv\",\"theo v\u1ebft \u0111\u1ed1i t\u01b0\u1ee3ng\",\"tracking\"],\"articleSection\":[\"Computer Vision\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=654#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=654\",\"name\":\"X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/MiAI_Object_Detect_Tracking\\\/blob\\\/master\\\/Image_screenshot_13.01.2020.png?raw=true\",\"datePublished\":\"2020-01-12T23:59:29+00:00\",\"description\":\"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=654\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#primaryimage\",\"url\":\"https:\\\/\\\/github.com\\\/thangnch\\\/MiAI_Object_Detect_Tracking\\\/blob\\\/master\\\/Image_screenshot_13.01.2020.png?raw=true\",\"contentUrl\":\"https:\\\/\\\/github.com\\\/thangnch\\\/MiAI_Object_Detect_Tracking\\\/blob\\\/master\\\/Image_screenshot_13.01.2020.png?raw=true\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=654#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; Ch\u01b0\u01a1ng 2. X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"name\":\"M\u00ec AI\",\"description\":\"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!\",\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/miai.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\",\"name\":\"M\u00ec AI\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"contentUrl\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"width\":240,\"height\":193,\"caption\":\"M\u00ec AI\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\",\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"caption\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\"},\"sameAs\":[\"https:\\\/\\\/miai.vn\"],\"url\":\"https:\\\/\\\/miai.vn\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI","description":"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/miai.vn\/?p=654","og_locale":"en_US","og_type":"article","og_title":"X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI","og_description":"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.","og_url":"https:\/\/miai.vn\/?p=654","og_site_name":"M\u00ec AI","article_published_time":"2020-01-12T23:59:29+00:00","og_image":[{"url":"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true","type":"","width":"","height":""}],"author":"Ch\u1ee7 ti\u1ec7m M\u00ec","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ch\u1ee7 ti\u1ec7m M\u00ec","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=654#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=654"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; Ch\u01b0\u01a1ng 2. X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng","datePublished":"2020-01-12T23:59:29+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=654"},"wordCount":870,"commentCount":13,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=654#primaryimage"},"thumbnailUrl":"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true","keywords":["car counting","CSRT","\u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n","KCF","MOSSE","object detection","object tracker","object tracking","opencv","theo v\u1ebft \u0111\u1ed1i t\u01b0\u1ee3ng","tracking"],"articleSection":["Computer Vision"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=654#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=654","url":"https:\/\/miai.vn\/?p=654","name":"X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=654#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=654#primaryimage"},"thumbnailUrl":"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true","datePublished":"2020-01-12T23:59:29+00:00","description":"Hi anh em, h\u00f4m nay ch\u00fang ta s\u1ebd th\u1eed K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking - x\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng nh\u00e9.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=654#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=654"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=654#primaryimage","url":"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true","contentUrl":"https:\/\/github.com\/thangnch\/MiAI_Object_Detect_Tracking\/blob\/master\/Image_screenshot_13.01.2020.png?raw=true"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=654#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"K\u1ebft h\u1ee3p Object Detection v\u00e0 Object Tracking &#8211; Ch\u01b0\u01a1ng 2. X\u00e2y d\u1ef1ng h\u1ec7 th\u1ed1ng \u0111\u1ebfm ph\u01b0\u01a1ng ti\u1ec7n giao th\u00f4ng tr\u00ean \u0111\u01b0\u1eddng"}]},{"@type":"WebSite","@id":"https:\/\/miai.vn\/#website","url":"https:\/\/miai.vn\/","name":"M\u00ec AI","description":"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!","publisher":{"@id":"https:\/\/miai.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/miai.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/miai.vn\/#organization","name":"M\u00ec AI","url":"https:\/\/miai.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/","url":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","contentUrl":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","width":240,"height":193,"caption":"M\u00ec AI"},"image":{"@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c","name":"Ch\u1ee7 ti\u1ec7m M\u00ec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","caption":"Ch\u1ee7 ti\u1ec7m M\u00ec"},"sameAs":["https:\/\/miai.vn"],"url":"https:\/\/miai.vn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=654"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/654\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}