{"id":1211,"date":"2021-12-17T00:29:19","date_gmt":"2021-12-16T23:29:19","guid":{"rendered":"https:\/\/deceadev.com\/?p=1211"},"modified":"2021-12-17T00:33:37","modified_gmt":"2021-12-16T23:33:37","slug":"ar-baseball-simulation","status":"publish","type":"post","link":"https:\/\/deceadev.com\/?p=1211","title":{"rendered":"AR Baseball simulation &#8211; MS Hololens 2"},"content":{"rendered":"\n<p class=\"has-black-color has-white-background-color has-text-color has-background\">AR Baseball simulation made with Unity Engine and MRTK for MS Hololens2.<br><br>This is a baseball simulator for professional baseball hitters and Umpires<br><br>This baseball simulation has realistic data such as player heatmaps and unique and personal to reproduce the exact behavior of a single MLB professional baseball player (a specific pitcher from a certain team for example). You can create realistic simulations in different fields and with many different parameters like: choosing among different pitchers, selecting what kind of pitches must appear , solo strike mode, random pitches, solo ball mode, choosing a specific hitter, modifying speed simulation, and many more configurations.<br><br>One special feature is the capability of umpire training by using the HoloLens speech recognition. User can set up a custom simulation and acts as an umpire by saying &#8220;Strike&#8221; or &#8220;Ball&#8221;, and the application will show out a feedback about if the decision is or not correct. <br><br>This project is on hold currently, and it is waiting for getting funds to continue with its development. <br>Ultimately this project is intended to be used by MLB professionals. <\/p>\n\n\n\n<p class=\"has-black-color has-white-background-color has-text-color has-background\">Technologies used:<br>&#8211; Unity &amp; C#<br>&#8211; MRTK<br>&#8211; MS Hololens 2 <br>&#8211; Visual Studio (UWP)<br><br>Some screenshots and state of play:<br><br><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-jetpack-tiled-gallery aligncenter is-style-rectangular\"><div class=\"tiled-gallery__gallery\"><div class=\"tiled-gallery__row\"><div class=\"tiled-gallery__col\"><figure class=\"tiled-gallery__item\"><img decoding=\"async\" alt=\"\" data-height=\"1440\" data-id=\"1213\" data-link=\"https:\/\/deceadev.com\/?attachment_id=1213\" data-url=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100532_HoloLens-scaled.jpg\" data-width=\"2560\" data-src=\"https:\/\/i1.wp.com\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100532_HoloLens-scaled.jpg?ssl=1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div><div class=\"tiled-gallery__col\"><figure class=\"tiled-gallery__item\"><img decoding=\"async\" alt=\"\" data-height=\"1440\" data-id=\"1214\" data-link=\"https:\/\/deceadev.com\/?attachment_id=1214\" data-url=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100551_HoloLens-scaled.jpg\" data-width=\"2560\" data-src=\"https:\/\/i1.wp.com\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100551_HoloLens-scaled.jpg?ssl=1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div><div class=\"tiled-gallery__col\"><figure class=\"tiled-gallery__item\"><img decoding=\"async\" alt=\"\" data-height=\"1440\" data-id=\"1215\" data-link=\"https:\/\/deceadev.com\/?attachment_id=1215\" data-url=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100608_HoloLens-scaled.jpg\" data-width=\"2560\" data-src=\"https:\/\/i0.wp.com\/deceadev.com\/wp-content\/uploads\/2021\/12\/20211213_100608_HoloLens-scaled.jpg?ssl=1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure><\/div><\/div><\/div><\/div>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/sampleBaseballSim.mp4\"><\/video><figcaption>Short sample video ( low fps due to screen casting from the actual device &#8211; Hololens2. It runs smooth in Hololens. (~40 fps)<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>As an extra feature, we tried to implement a system that would track the user&#8217;s hand and be able to instance a virtual bat, so user could hit virtual balls during the simulation. That way user could train batting moves.<br>Unfortunately there is some tracking loss and MS Hololens 2 is not fast enough for this purpose.. The development was canceled. You can see a example of what I got below:<br><br><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/pruebaBateW.mp4\"><\/video><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/deceadev.com\/wp-content\/uploads\/2021\/12\/pruebaBate2W.mp4\"><\/video><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>All rights reserved to <a rel=\"noreferrer noopener\" href=\"https:\/\/wetsoftware.com\/\" target=\"_blank\">WetSoftware<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AR Baseball simulation made with Unity Engine and MRTK for MS Hololens2. This is a baseball simulator for professional baseball hitters and Umpires This baseball simulation has realistic data such as player heatmaps and unique and personal to reproduce the exact behavior of a single MLB professional baseball player (a specific pitcher from a certain&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1215,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,36,37,18,38],"class_list":["post-1211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-ar","tag-hololens","tag-mrtk","tag-unity","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/posts\/1211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deceadev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1211"}],"version-history":[{"count":8,"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/posts\/1211\/revisions"}],"predecessor-version":[{"id":1225,"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/posts\/1211\/revisions\/1225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/deceadev.com\/index.php?rest_route=\/wp\/v2\/media\/1215"}],"wp:attachment":[{"href":"https:\/\/deceadev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deceadev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deceadev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}