<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Carson McDonald on Medium]]></title>
        <description><![CDATA[Stories by Carson McDonald on Medium]]></description>
        <link>https://medium.com/@carsonm?source=rss-e5ae04911211------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*odw7tCz1eS_Zk-jX8lcx8g.jpeg</url>
            <title>Stories by Carson McDonald on Medium</title>
            <link>https://medium.com/@carsonm?source=rss-e5ae04911211------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:21:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@carsonm/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lab Notes: A recipe for using photogrammetry to create 3D model]]></title>
            <link>https://medium.com/mission-data-journal/lab-notes-a-recipe-for-using-photogrammetry-to-create-3d-model-7c256e38b1fb?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c256e38b1fb</guid>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[ar]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Wed, 07 Jun 2017 17:55:08 GMT</pubDate>
            <atom:updated>2022-10-31T16:32:39.679Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Lab Notes: A Tutorial for Using Photogrammetry to Create 3D Models</strong></p><p>We recently began experimenting with using <a href="https://en.wikipedia.org/wiki/Photogrammetry">photogrammetry</a> to create 3D models for some of the work we are doing in AR/VR and 3D printing. Photogrammetry allows us to extract measurements from photographs and then reconstruct the 3D scene from those measurements and remap the photos on top of those extracted measurements.</p><p>Reconstructing a 3D model in this way has a wide range of uses such as a 3D-printed reconstruction or to quickly create models for a large number of inventory items that would normally take years to reconstruct using traditional CAD construction. This started a while ago when we used the <a href="http://www.123dapp.com/catch">123D Catch app</a> to create 3D models for 3D printing and some VR work, but we have since moved on to other tools as Catch doesn’t appear to be maintained.</p><p>There are a wide range of options available for doing photogrammetry as you can see in this <a href="https://en.wikipedia.org/wiki/Comparison_of_photogrammetry_software">comparison of photogrammetry software</a>. When we set out, the main criteria was that the software work on macOS or Linux and that it was maintained. There are a number of options that combine the entire process but none that fit all of our needs, so we decided to use multiple applications to build a final 3D model. We looked at a few of the “Structure from Motion” options that would let us create a point cloud to use in constructing a 3D model. There are a few options like <a href="http://ccwu.me/vsfm/">VisualSFM</a> that looked good but had specific requirements like being Windows only. Basically, we couldn’t get a working version of VisualSFM for macOS even though there seems to be support. We eventually landed on using <a href="https://colmap.github.io/index.html">Colmap</a>. Beyond that, we used <a href="http://meshlab.sourceforge.net/">MeshLab</a> to refine the point cloud information and map the images for the final 3D model and <a href="https://www.blender.org/">Blender</a> for refining the final 3D model.</p><p>Before getting started, it is important to note that you have to compile a special version of Colmap to perform all of the following instructions if you are using macOS. The reason for this is that the existing Colmap macOS binary available for download does not contain support for CUDA even though most Apple hardware will support it. If you are using Windows, then make sure you download the version with CUDA support. The instructions for building Colmap for macOS can be found <a href="https://colmap.github.io/install.html#mac">here</a>.</p><p>Once you have a version of Colmap installed that supports CUDA you should review the <a href="https://colmap.github.io/tutorial.html">Colmap tutorial</a> so you are familiar with the basic concepts. After that you are ready to dive in and create a complete model. Please note that Colmap and MeshLab are sometimes unstable but it is usually a sign that you are outside of the normal functioning if you see them crash. The following information is based on some trial and error getting around crashes and contains notes for the most important areas to be careful in. The list of steps may seem daunting but once you have the hang of it you can produce a 3D model in a relatively short amount of time.</p><p>This tutorial contains the overall sections starting with Colmap then moving to MeshLab and finally Blender. There are multiple products generated from each of these major steps. We will start with the steps needed to go from a set of input images to a point cloud using Colmap. Before getting started here is a sample of the images used as input in this example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/0*UYY8A6drUfrhV38H." /></figure><p>We used about 30 images for this example and didn’t spend a lot of time tweaking things to make it look better. Keep in mind that you can spend more time taking better input images to get a better final 3D model after you’ve seen the initial results.</p><p>1. Create a project directory and gather your images into a single subdirectory in that project directory. There isn’t anything special about this step but it is best to keep things organized this way so you can find the various artifacts that get generated when you need them later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_QkUVnBIEAMe3zf3." /></figure><p>2. In Colmap create a new project: <em>File -&gt; New Project</em>. You will be presented with a dialog that requires a database and image set. I suggest putting the database file in the project directory. After you have the database file in place, select the directory with all the images in it and then hit save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DnntXyg-JOCVHkNT." /></figure><p>3. Feature extraction is next under <em>Processing -&gt; Feature extraction</em>. The two options that I will point out here are the single camera checkbox and the max image size. Colmap can work with photos from different cameras or zooms but if you are using a single camera/zoom, the checkbox in this step makes life easier. All the images I use here are from a single camera/zoom so I have it checked. Also take note of the max image size since it isn’t quite large enough to cover the images from a lot of cameras I have used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/0*mcJKnt66CLDauXGo." /></figure><p>4. Feature matching happens next and can be found under <em>Processing -&gt; Feature matching</em>. There are a ton of options and algorithms to choose from here. I have had pretty good results from the <em>Exhaustive</em> method so I haven’t tried any of the others. For the <em>Exhaustive</em> method you may need to adjust the <em>block_size</em> setting depending on how long you are willing to wait. For this example there aren’t a ton of features so I have it set really low and it still finishes pretty quick. With an example that has thousands of features you may want to start out higher and adjust it down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/0*-bIFzNLaDIjaXUck." /></figure><p>5. Reconstruction of the sparse point cloud happens at this point. You start this with the <em>Reconstruction -&gt; Start reconstruction</em> menu option. The reconstruction can take a while and you should see the model forming as the reconstruction happens. When it is done you will have a fully formed point cloud with a number of camera positions around it where you took the photos from. Depending on the size of your model you may need to adjust the size of the cameras so you can see the result, on the mac you can do that by holding option while scrolling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ij5FjMNX8Jwc74Op." /></figure><p>Once this process finishes you should have at least one usable sparse point cloud but you could have more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fczpsV4OkiQpQPc0." /></figure><p>6. At this point you will want to export one of the sparse models so you can use it in a later step. To do this go to <em>File -&gt; Export model as…</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*AmgX_bNRwdoZSg2F." /></figure><p>On the dialog that opens name the export file, I like to make it something like “model_sparse” so I can find it later. You need to also select the <em>Bundler</em> output type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tx7LISU4SnN74sEF." /></figure><p>Once you have exported the model you will have two files: <em>model_sparse.out</em> and <em>model_sparse.out.list.txt</em>. It is important to note that the list.txt file contains a list of all the images used in the model, it should not be empty.</p><p>7. You are now ready to create the dense model using the Multi-view stereo option found under <em>Reconstruction -&gt; Multi-view stereo</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/0*Mhmt5wd2YDNB9Lgy." /></figure><p>In the resulting dialog you will need to first select a workspace directory. I usually create a new directory and call it “dense” so I can tell what it contains. After selecting the workspace you will want to click the <em>Undistortion</em> button and after a few seconds you should have a table with all the images listed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2GAFhWG6-iQJRzU2." /></figure><p>8. This step is potentially going to take hours so be warned. Go into the Options dialog by clicking the <em>Options</em> button. Here you will find a <em>max_image_size</em> setting that needs to be modified if you are using a Mac or if you have a graphics card without a lot of memory. If you don’t modify this value you will most likely get a crash after a few seconds that indicates the memory of the GPU was exhausted before a pass was completed. I have found that a value of 600–700 works fine for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/0*W6sE7C3DXmb9_ejZ." /></figure><p>Once you have changed that setting you are ready to hit the <em>Stereo</em> button and wait a while.</p><p>9. Once the Stereo processing is complete you can click the <em>Fusion</em> button. After a few seconds of additional processing you will get a dialog asking if you want to visualize the point cloud that you will want to say <em>Yes</em> to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/0*d4G6cvLJ60vnkw0R." /></figure><p>You will then be taken back to the main screen where you should see the dense cloud model displayed and have a new model in the model list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/0*8y9_l05HFnaR7G1w." /></figure><p>At this point you are done with Colmap and are almost ready to move on to MeshLab.</p><p>11. Before working with MeshLab you will want to organize the files that were created while using Colmap. If you have organized everything as I mentioned above you will have a directory that looks something like the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rFSvnyMz-Oa9iSdv." /></figure><p>You will want to create a new folder and copy everything from the dense/images directory into it first, then copy the dense/fused.ply file into it and finally the model_sparse.out and model_sparse.out.list.txt into it as well. The result should look like the following with all the files living in the same directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/0*IunKFAFw_xaL6lVW." /></figure><p>12. Start MeshLab and open the <em>model_sparse.out</em> file using the <em>File -&gt; Open Project</em>. Once you do this you will be prompted to open a second file and for this select the <em>model_sparse.out.list.txt</em> file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/0*luQIQhkh4YIbD1tn." /></figure><p>After a few seconds of processing, you probably won’t get a progress bar or anything it will just freeze, you will see the sparse point cloud displayed. Use the toolbar’s <em>Layer Panel</em> button to open the Layer Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sNWCtnBImyG4P5Ah." /></figure><p>There should be a set of images listed in the raster area of the Layer Panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/0*Gc6fD6dyT9099Pk_." /></figure><p>13. Delete the current mesh, on the Mac you control click on the mesh to do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/0*VddsgxESv7mwE89o." /></figure><p>14. Import the dense mesh by navigating to the <em>File -&gt; Import Mesh</em> menu option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/0*Yact_huJVed7Z3uu." /></figure><p>Make sure to select the <em>fused.ply</em> file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/0*0Bnsg4uQwB4QWdu5." /></figure><p>You will now see the dense point cloud displayed.</p><p>15. Cleaning up the mesh can help make the final product look better but can also be a time consuming process. You can clean up the mesh by using the <em>Point Selection</em> tool on the toolbar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/0*w6ZUkt58NY_8jujx." /></figure><p>Select the points that you wish to clean up by dragging around them. In the following we are selecting a group of points that are artifacts of the stand the model was sitting on top of since we don’t need that in the final version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NqDUHfAenRUoxHlm." /></figure><p>Then use the <em>Delete</em> button in the toolbar to remove them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/0*c_Ns_Itm8oZiBtOa." /></figure><p>While you can potentially skip doing this cleanup, if you have a lot of stray points the next step may end up taking longer and the resulting solid model may be harder to use.</p><p>16. Now you will reconstruct the surface from the point set. Go to the menu option found under <em>Filters -&gt; Point Set -&gt; Surface Reconstruction: Poisson</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WXzUt0sHUJ-xnBwy." /></figure><p>I usually set the values in the dialog that appears as follows but you may want to change them to experiment with the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/0*1ko0Bb3rYHDwD9Eq." /></figure><p>It will take a minute to process the surfaces after you hit <em>Apply</em> but you will eventually get something that looks like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j1qJ4H0kGodAlhV0." /></figure><p>17. In the <em>Layers</em> panel you want to delete the <em>fused.ply</em> mesh just like you deleted the sparse mesh in <strong><em>Step 13</em></strong>.</p><p>18. Now you are left with just the surface model which again requires some cleanup. First use the toolbar to select the <em>Points</em> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/0*HArcqxJ-l39yHSgy." /></figure><p>The result will look like the following where you can spend time cleaning up any stray or extra points the same way you did in <strong><em>Step 15</em></strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oBiF-qBxK6VuJWwL." /></figure><p>19. Next you will need to remove all “non Manifold Edges” using the selection tool that can be found under <em>Filters -&gt; Selection -&gt; Select non Manifold Edges</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xyqvN31oUbDPaJvt." /></figure><p>Simply click the <em>Apply</em> button and then use the same <em>Delete</em> button as in <strong><em>Step 13</em></strong> to delete any non-manifold edges. It can be hard to tell if this actually does anything but if you pay attention to the bottom of the screen there is a <em>Vertices</em> and <em>Faces</em> count that will decrease if anything is deleted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/0*ZV6QUHPytoh5esfZ." /></figure><p>20. Now you are ready to create the model texture. Go to the <em>Filters -&gt; Texture -&gt; Parameterization + texturing from registered rasters</em> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wGhRbl9XJXSzr6lK." /></figure><p>You will get the following dialog where you will want to set the desired <em>Texture size</em> and <em>Texture name</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/0*F-i3KuUD5dxw6all." /></figure><p>Once you hit <em>Apply</em> it will take a second to generate the texture but once finished you should have a PNG that looks something like the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*R8tW8Gx_rJPFnGhj." /></figure><p>21. You are finally ready to export the model now. To do this go to the <em>File -&gt; Export Mesh As…</em> menu option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/0*RwlBK2Gd4odwoSmp." /></figure><p>Name the model and select the <em>Alias Wavefront Object</em> format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/0*0I5ZD2dvRjDfvyc6." /></figure><p>You will get a dialog before MeshLab exports the model and you can verify that your texture is listed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YabJgVcPz_APYfBp." /></figure><p>At this point you are done with MeshLab and you can copy the exported Alias Wavefront model .obj file, .mtl file and the texture into a new directory where you will next import them into Blender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/0*pcBkba7KlZRVCynV." /></figure><p>22. Start Blender and use the <em>File -&gt; Import -&gt; Wavefront</em> option to start the import of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nJ8StAUaPCjqZnBG." /></figure><p>Make sure to select the file that ends with .obj.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/0*7krqZIgHP_wS9nNT." /></figure><p>23. It is likely that you will have to move and resize the imported model at this point. Here I have moved it into the middle of the platform where I can see it better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*P2IiOk1_xFOUCuJZ." /></figure><p>You probably want to see the image with the texture applied and to do that you will use the texture view:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*BHNnLXhFM_KgW4Ws." /></figure><p>The final model now displays with the texture applied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7kdef6-JoCElPGAX." /></figure><p>At this point you can do any number of things like converting the model into another format for use in something like Unity3D or even exporting the model as an STL file that can be used for 3D printing. As a bonus, here is what the model looks like from within the HoloLens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tTxZfYhK657OgOXw." /></figure><p>And this is a larger model that was taken of a fountain in the lobby of our office.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jek1w2ETR4vfLv1t." /></figure><figure><a href="https://cta-redirect.hubspot.com/cta/redirect/2399711/2c85370d-6a82-4f11-aee4-b5d3a2964e61"><img alt="Teaser graphic with text that states “Transform your business with innovative digital products.”" src="https://cdn-images-1.medium.com/max/700/0*U-qSov_tWrA4ZQDD.jpeg" /></a></figure><h3>About Mission Data</h3><p>We’re designers, engineers, and strategists building innovative digital products that transform the way companies do business. Learn more: <a href="https://www.missiondata.com/">https://www.missiondata.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c256e38b1fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/lab-notes-a-recipe-for-using-photogrammetry-to-create-3d-model-7c256e38b1fb">Lab Notes: A recipe for using photogrammetry to create 3D model</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Highlights from CES 2017]]></title>
            <link>https://medium.com/mission-data-journal/ces-2017-2a3450915964?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a3450915964</guid>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Fri, 20 Jan 2017 03:47:24 GMT</pubDate>
            <atom:updated>2017-01-20T15:24:11.479Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_qPXnVveCTLo8o4p." /></figure><p>This was my first year visiting CES and I went expecting to learn about which kinds of consumer electronics gear might be making its way into the realm of enterprise use. While I saw some of that, I actually got to see a lot of raw technology that is aiming to go directly into the enterprise.</p><p>We got to spend a full three days at CES and if I go again I think I could cut that down to two and still be able to get everything in. I had plans to attend a number of the talks but never actually made it to any. That ended up working out fine because it takes so much time to look at the majority of booths and carry on conversations that can last a while when you find something interesting.</p><p>The following is a brief summary of my highlights from the more elemental electronics level that I ran into and the higher level concepts:</p><p><strong>AR/VR</strong></p><h3>CES on Twitter</h3><p>CESTV Spotlight on Augmented &amp;amp; Virtual Reality at #CES2017 https://t.co/Z5YUoqtVeb</p><p>There is a lot of overlap in AR/VR at CES and I think that is a good thing. A lot of the people are likely competing on price and that will ultimately drive costs down.</p><p>AR/VR highlights:</p><ul><li>There was a truly immersive driving simulator by <a href="http://www.sigmaintegrale.com/">Sigma Intégrale</a> that used real vehicles in the simulation on a physical platform that gave you the sensation of driving. One was a passenger car and the other was a semi. This appeared to be similar technology to what is used in the more advanced flight simulators. I believe this is an indication that what used to be specialized equipment is making its way into more use cases. Imagine this same thing but connected to a forklift or backhoe where you can give a worker training before they are on the actual machine.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FdF9LRcuT88c%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdF9LRcuT88c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FdF9LRcuT88c%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/35d70a91b2f78d4511915a149da3bc62/href">https://medium.com/media/35d70a91b2f78d4511915a149da3bc62/href</a></iframe><ul><li>At a smaller scale, there were multiple devices that work to extend the VR experience such as treadmills that give you the sensation of walking.</li><li>There were multiple VR platforms on display. These platforms are going to help with the simplification of generating VR and eventually AR content. The standout in booth area for me was <a href="https://www.wakingapp.com/">Wakingapp</a>.</li><li>Lots and lots of 360 degree cameras. This is an area that is advancing very quickly and looks like something that will be much more approachable for everyone in the next couple of years.</li><li>AR glasses are getting smaller and more wearable. While these smaller glasses may not be as feature-rich as something like the Hololens, they are more manageable for real world use where a user will be putting the glasses on, taking glasses off and having to hold or otherwise store them while doing other tasks. The <a href="https://www.fastcompany.com/3066880/innovation-agents/odgs-next-smart-glasses-bring-powerful-augmented-reality-to-new-markets">ODG</a> glasses are a good example of this wearability. This being CES, a company called <a href="http://lumusvision.com/">Lumus Optical</a> that makes the lenses that go into AR devices like those by <a href="https://daqri.com/">DAQRI</a> was there as well showing off a <a href="http://www.theverge.com/ces/2017/1/5/14148182/lumus-maximus-sleek-augmented-reality-glasses-prototypes">new lens that promises to make AR even better</a>.</li><li>The lack of <a href="https://www.magicleap.com/">Magic Leap</a>. If they have a product they may need to show it soon because the device scene is getting very crowded.</li></ul><p><strong>IoT</strong></p><p>If there was one thing that I expected to see a ton of it was IoT devices and I wasn’t disappointed. There was a lot of home automation equipment — rows and rows and rows of home automation equipment. What I realized however is that some of these home automation companies are rebranding their hardware to be used in the enterprise. Between all the larger booths of home automation hardware there was a sprinkling of what I will call other IoT devices.</p><p>IoT highlights:</p><ul><li>There were a number of what I would call rapid hardware prototyping systems on display. I noticed them in both the Eureka Park area in a more hardware hacker oriented form and in the IoT area in a more professional form.</li><li>ODM/OEMs with Apple HomeKit, Alexa and AWS IoT compatibility. A lot of unbranded equipment has started integrating these big names and it will certainly help widen the adoption of each.</li><li>I didn’t notice a lot of gateways on display but the one I did notice and stopped by to check out was the <a href="http://b2b.gigabyte.com/products/product-page.aspx?pid=5788#ov">Gigabyte series of IoT gateways</a>. These have Pentium procs, a small amount of internal stateful storage that can be expanded and would be perfect for edge processing.</li><li>At the Nordic booth there was a <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-5">Bluetooth 5</a> demo put together with the nRF52 series devices. They had both the existing <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832">nRF52832</a> and the newer <a href="https://www.nordicsemi.com/eng/Products/nRF52840">nRF52840</a> that can take advantage of the Bluetooth 5 extended range. Later we ran into the Fanstel booth that had <a href="http://www.fanstel.com/buy/bt832-ble42-hardware-ready-for-bluetooth-5-module">prototype boards</a> using the nRF52832 and a flyer saying they would have nRF52840 in March. It will be exciting when we can get our hands on one of those.</li><li>At the <a href="http://www.microchip.com/">Microchip</a> suite we got to see a number of interesting devices with a few of them stemming out of their purchase of ATMEL. One that stood out is a new spacial 3D “touch” controller that can be used to control a device without a screen, using only gestures. They also had a demo of their <a href="http://www.microchip.com/promo/zero-touch-secure-provisioning-kit-forAWSIoT">Zero Touch provisioning for AWS IoT</a>.</li></ul><p><strong>Potpourri</strong></p><p>There were a number of things that I found interesting that may fall into a specific consumer area but otherwise aren’t specifically usable in the same way for our clients. Some of that was display technology and some of it was very specialized.</p><p>Other highlights:</p><ul><li>There were a number of innovative displays that caught my eye. One booth had a massive <a href="http://tagsolution.kr/">LED mesh</a> that was transparent in between each LED with each LED being addressable so they could create any number of designs by using each LED as a pixel.</li><li>There were a number of laser projectors that I found interesting for potential use in interactive displays. One of the upsides of a laser projector is that they are usually very small with the downside being that the projection they create isn’t very bright. If you look at the old version of one for example, it was <a href="https://www.amazon.com/UO-Smart-Beam-Laser-resolution/dp/B014QZ4FLO/">50 lumens</a> and the new version that was on display at CES is <a href="https://www.amazon.com/Android-resolution-Approved-Portable-Projector/dp/B01NAPMAQ6/">200 lumens</a>.</li><li>GPUs finding a new life. Probably one of the more covered aspects of CES this year is the NVIDIA self autonomous vehicle announcements. While the whole of self driving cars is interesting, some of the specific technology is going to have a lot of uses. Specifically the driver monitoring parts of what they are working on are some of the most interesting for use outside of vehicles. For instance they had a <a href="https://arxiv.org/abs/1611.01599">lip reading</a> demonstration that was shown in the context of <a href="http://spectrum.ieee.org/cars-that-think/transportation/self-driving/autonomous-vehicles-need-incabin-cameras-to-monitor-drivers">driver monitoring</a> that will surely find a lot more uses.</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYTkqA189pzQ&amp;src_secure=1&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYTkqA189pzQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYTkqA189pzQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/71436f83341a050f228955579b92e7ad/href">https://medium.com/media/71436f83341a050f228955579b92e7ad/href</a></iframe><ul><li>There was a very interesting haptics company called <a href="http://www.ultrahaptics.com/">Ultrahaptics</a> that we got a demo from. They are able to project the sensation of touch without physical contact using ultrasound. Imagine this type of system in use in a medical setting where a surgeon doesn’t need to touch an actual device to get feedback.</li><li>We happened across a company called <a href="http://www.tag-optics.com/">Tag Optics</a> that has created a <a href="https://en.wikipedia.org/wiki/Varifocal_lens">varifocal lens</a> that is very fast. This type of lens can be used to survey defects in a manufacturing line among other things.</li><li>2D/3D position tracking from <a href="http://www.chirpmicro.com/">Chirp Microsystems</a> similar to Leap Motion and the 3D “touch” sensor from Microchip demo that we saw.</li></ul><h3>CES on Twitter</h3><p>Ultrasound 3-D sensing tech for improved gesture recognition #NSFFunded #SBIR #CES2017 @NSF https://t.co/PhOiSxQPak</p><ul><li>There were a lot to see in the robotics area as well. I think a lot of the focus was on “social robots” like the <a href="http://www.ubtrobot.com/">Ubtech Robotics</a> <a href="https://www.cnet.com/products/ubtech-robotics-lynx/preview/">Lynx that has Alexa built in</a>. While these <a href="http://spectrum.ieee.org/tech-talk/robotics/home-robots/ces-2017-why-every-social-robot-at-ces-looks-alike">social robots are interesting</a> I found the <a href="https://www.cnet.com/news/the-battle-of-the-ces-2017-coffee-and-tea-robots/">robotic arms created by Bosch</a> and the <a href="https://en.wikipedia.org/wiki/Automated_guided_vehicle">AVG</a> <a href="http://www.nidec-shimpo.co.jp/en/ptm/03/000402.html">robots by Nidec</a> more interesting.</li></ul><h3>CES on Twitter</h3><p>CES2017 has the latest in intelligent, autonomous robotic machines that are shifting the way we learn, play and live our lives. https://t.co/dGjrQFOllX</p><ul><li>There were a number of wearable ring devices and wearable BAC devices that were interesting. Some took measurements and some were input devices. I think this shows the ever expanding wearable space has yet to find a limit.</li><li>Holographic displays — <a href="http://kino-mo.com/">http://kino-mo.com/</a></li></ul><h3>CES on Twitter</h3><p>These dazzling holographic displays are attracting a crowd this morning #CES2017 https://t.co/0Eye3fkFp1</p><ul><li>Drones/quadcopters seemed to be everywhere. There are the normal flying quadcopter drones but also some underwater drones as well. While the majority of these drones were consumer-based there were plenty that would be usable in an industrial setting. The most impressive had to be the one large enough for a person.</li></ul><h3>CES on Twitter</h3><p>Drones Are Flying into the Future at #CES2017 https://t.co/aATAbVxk2a</p><ul><li>We went by the Mastercard and Capital One booths where they were trying desperately to show some type of innovation but I feel like there isn’t a great story in embedding a traditional payment system into your refrigerator.</li><li>While there were lots and lots of 3D printing devices on display the most innovative are the ones that have moved beyond printing in plastic to <a href="https://markforged.com/markforged-metal-3d-printer-ces-2017/">printing metal</a> or even printing food like <a href="http://www.pancakebot.com/">pancakes</a> and <a href="http://magiccandyfactory.com/">candy</a>.</li></ul><p>A lot of what I found interesting in this “potpourri” was in the Eureka Park venue where there was row after row packed with tech. This video will give you a good idea of the diversity of technology that could be found there.</p><h3>CES on Twitter</h3><p>CESTV Features Start Up Companies at Eureka Park. Check out all the highlights from #CES2017 https://t.co/Em0kGgGWGz</p><p>While roaming around in the home automation area, we ran into a local <a href="https://firstbuild.com/">GE First Build</a> group that was showing off a connected wine fridge. It was great to talk to them for a bit about all the interesting things going on at First Build. And finally there was the <a href="https://www.hackster.io/hackathons/smart-cities/readwrite-ces/projects">Smart Cities Hackathon</a> that resulted in a lot of interesting projects with the final winner being a <a href="https://www.hackster.io/wingin-it/smart-city-street-light-analysis-4dca57?ref=event&amp;ref_id=30667&amp;offset=14">street light analysis project</a>.</p><p>I fully enjoyed the CES experience. Having gone to really large conferences like SxSw multiple times in the past, I can say the atmosphere at CES was similar. The thing that stuck out to me as much different than something like SxSw is the diversity of attendees at CES and that it feels a lot more rooted in reality. If there was anything I might change if I go again it would be to go to the C-Space venue on the first day because by the 3rd day it seemed to be dead. Additionally I’d spend less time in some of the country-oriented Eureka Park areas because it was repetitive after a while.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a3450915964" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/ces-2017-2a3450915964">Highlights from CES 2017</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Few Simple 3D Modeling Tips]]></title>
            <link>https://medium.com/mission-data-journal/a-few-simple-3d-modeling-tips-e30ee4fd228f?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/e30ee4fd228f</guid>
            <category><![CDATA[ar-lab]]></category>
            <category><![CDATA[labs]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Tue, 13 Dec 2016 16:51:42 GMT</pubDate>
            <atom:updated>2017-05-03T17:49:26.501Z</atom:updated>
            <content:encoded><![CDATA[<p>As we explore <a href="https://journal.missiondata.com/capital-bikeshare-and-augmented-reality-558edc6daf4d#.pnmiof7vr">augmented reality</a>, <a href="https://journal.missiondata.com/lab-notes-collecting-photos-for-our-virtual-reality-office-tour-9d2a5ccf49d#.8toafck1d">virtual reality</a> and <a href="https://journal.missiondata.com/exploring-the-hololens-content-lock-options-6292531cc8d6#.ruqlw8ke8">mixed reality on the HoloLens</a>, we often have a need to create or find 3D models. We have ended up with models from a number of different sources and in a variety of formats. Given all the options available, we wanted to share some of the tools and lessons we have learned.</p><p><strong>Converting 3D Models</strong></p><p>The first thing to know is that almost any 3D format can be converted into another 3D format. One of the best tools for this turns out to be <a href="https://www.blender.org/">Blender</a>. Traditionally, Blender is used to create 3D models and animate them, but it can also import a wide range of formats and export in just about as many formats. There is a fairly steep learning curve with Blender, but if you are just using it to convert between formats it isn’t too hard to learn. If you want to put in some extra time, you can use Blender to tweak problems you might find with the imported model as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*cuzSte7ds4rbrsfJ." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/0*8MPvmP1ojPHQqAIe." /></figure><p><strong>Retaining Model Scale</strong></p><p>It can be important to retain the proper scale while converting between different types of models. If you are using Blender the default is going to be a “Blender Unit” but if you want to retain the correct size in the converted output you are going to want to make sure you set Blender to the correct measurement type. For example, we converted a 3D printed model into something we could view in the HoloLens, and the first step was to check what unit the measurements were made in for the original model as shown in the following screenshot from 123D Design:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SY9aB_lpl4slyNo9." /></figure><p>Here the original unit of measurement was in millimeters.</p><p>In Blender you will want to set the units to millimeters before you import. There is a good Youtube video on how to change the setting <a href="https://www.youtube.com/watch?v=fdXzw225KVU">here</a>. Once you have the model imported, you can view the dimensions to validate that things imported properly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8M4-fa9EEyClNM8C." /></figure><p>Next you will want to make sure that when you export the following scale button is toggled as shown or the export will be in “Blender units” instead of the unit you set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/0*dQgU31BQgpec8Wxk." /></figure><p>The following image shows the imported model that was originally for the 3D printer sitting next to the physical 3D printed result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/0*3E4xVwspK7O91E6z." /></figure><p><strong>Models In Unity3D</strong></p><p>One of the most popular tools for creating VR/AR applications is Unity3D. If you are using Unity3D you may not even have to go through a conversion process at all since it has a long list of formats it <a href="https://docs.unity3d.com/Manual/3D-formats.html">supports natively</a> such as .FBX, .dae (Collada), .3DS, .dxf and .obj files as well as Blender files. Some of these formats don’t work as well as others but we have had luck with FBX and Blender formats.</p><p><strong>Finding 3D Models</strong></p><p>With the knowledge that you can convert between a wide range of different formats, the places you can find existing models is fairly large. For instance there are a lot of 3D printable models that can be found on <a href="http://www.thingiverse.com/">Thingiverse</a>. Another good source of 3D models is the <a href="https://3dwarehouse.sketchup.com/">Sketchup 3D warehouse</a> and if you are using Unity3D it has <a href="https://docs.unity3d.com/Manual/HOWTO-ImportObjectSketchUp.html">support for Sketchup</a> as well.</p><p>In a future post we will describe a technique for creating your own 3D models out of a set of images. Since that is a fairly complex subject, we will leave it for a post all by itself.</p><p>Have a digital product you need designed and developed? <a href="https://missiondata.com/contact">Drop us a line</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e30ee4fd228f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/a-few-simple-3d-modeling-tips-e30ee4fd228f">A Few Simple 3D Modeling Tips</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab Notes: Exploring the AWS IoT Platform]]></title>
            <link>https://medium.com/mission-data-journal/lab-notes-exploring-the-aws-iot-platform-409ccccfd4e3?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/409ccccfd4e3</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Thu, 01 Dec 2016 14:24:24 GMT</pubDate>
            <atom:updated>2016-12-01T14:24:24.909Z</atom:updated>
            <content:encoded><![CDATA[<p>For our latest stop on our tour of Internet of Things (IoT) development platforms, we explore <a href="https://aws.amazon.com/iot/">Amazon’s AWS IoT platform</a>. We have made our way through a number of the most well-known platforms currently available and we are doing the same use case on each one. Our previous exploration was of the Microsoft Azure IoT Platform, and you can read more about that <a href="https://journal.missiondata.com/lab-notes-exploring-windows-10-iot-core-and-the-raspberry-pi-6699e62af0a#.r7xp8mvto">here</a>.</p><p>We have based each of our examples around monitoring the climate, and this example is no different. The variables have been the platform and hardware used. For the AWS IoT platform there are <a href="https://aws.amazon.com/iot/getting-started/">a range of devices available</a> with the easiest being the AWS IoT button that we have written about <a href="https://journal.missiondata.com/lab-notes-getting-started-with-amazons-iot-button-d415e79d1ec2#.9upt45urh">previously</a>. Some of the available IoT kits have better documentation than others, but for us part of the appeal is knowing the entire stack and its challenges so we skipped the normal kits and went with the brand new <a href="https://espressif.com/en/products/hardware/esp32/overview">Espressif ESP32</a> device for this evaluation. The Espressif ESP32 is the big brother of the popular ESP8266 and includes more IO options, two cores, and more memory. The increased memory is the most critical part for this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SmdnrK5AGDygwPPA." /></figure><h3>What We Did</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CaP142Q_79FRuAj08md8Dg.png" /></figure><p>The ESP32 is new enough that there isn’t a good Arduino port for it yet so we had to use the command line build system. They have taken care to make it really easy to use, however, so it wasn’t too bad to get set up with a simple demo using their <a href="https://github.com/espressif/esp-idf-template">template</a>. One of the critical parts that the ESP32 development environment comes with is support for TLS via mbedtls. The AWS IoT system doesn’t support unencrypted traffic and if your device can’t support TLS you have to use a proxy. This is one of the reasons we picked the ESP32 instead of the existing ESP8266 platform. The ESP8266 doesn’t have quite what it takes to connect directly to the AWS IoT system.</p><p>Amazon has created an <a href="https://github.com/aws/aws-iot-device-sdk-embedded-C">embedded device SDK</a> specifically made to support devices like the ESP32. The SDK does a lot of the heavy lifting for you and even comes with support for the more advanced AWS IoT concepts like device shadows. This SDK doesn’t support the ESP32 right out of the box so we had to do some work to create a port. We are sharing the resulting port, build setup and a <a href="https://github.com/carsonmcdonald/esp32-aws-iot">complete ESP32 AWS IoT example on Github</a>.</p><p>For the environmental sensor we used the DHT22 temperature-humidity sensor again. The lack of a complete Arduino port for the ESP32 again meant that we had to hand roll our own driver but that wasn’t too difficult. We adapted the existing <a href="https://github.com/adafruit/DHT-sensor-library">Adafruit DHT22 library</a> and after some tweaks it was working well. The readings from the DHT22 sensor are bundled into a simple JSON payload and then sent off to the AWS IoT system via the AWS embedded device SDK. It is worth noting that the ESP32 development environment comes with a JSON library that makes creating a JSON payload a snap.</p><p>There are a number of steps that are required to provision devices in the AWS IoT system. Due to the complexity of provisioning AWS IoT devices we will assume that is something you are already familiar with, and if not, please check out the <a href="http://docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html">security section of the AWS IoT developers guide</a>. It is important to note that Amazon has put a lot of care into the security of their platform and that is one of the reasons provisioning is complicated. They also have provided a lot of flexibility for both simple use and very complex use of their provisioning system so that it is usable at both a small and large scale.</p><p>The AWS IoT platform is an entry point for any of the existing server side processing options on the AWS platform itself. For the most part that is anything you can imagine. In the AWS IoT button post we described one of the best positioned options and that includes AWS Lambda. Because we had already built a system for handling our other devices using Python + PostgreSQL we decided to reuse that instead of creating something new using Lambda.</p><p>We did have to modify our server side system slightly to support the AWS IoT platform but it has a model very similar to that of Azure so it didn’t require much. We used the <a href="https://github.com/aws/aws-iot-device-sdk-python">AWS IoT Python SDK</a> and installed it using the pip command:</p><pre>pip install AWSIoTPythonSDK</pre><p>On the device side we are putting the JSON payload into a queue that is then pulled off the queue using the Python SDK. We wanted to support multiple devices with the same server so the Python system listens to the root name of the queue we created, “/awsiotdevices”, while the devices publish to a device specific queue, e.g. “/awsiotdevices/aws-device-100001”. For now we are building the device IDs used in the queue name by hand but there is evidence that every ESP32 has a globally unique identifier and if we continue to use this conversation we will work on finding a way to read that for use in the queue instead.</p><h3>Challenges</h3><p>The biggest challenge we had was working with the ESP32. Because it is so new there are very few examples or drivers for it at the moment so it required more attention than what we would normally have to provide for a hardware platform. Beyond what was mentioned above, when we started the project there wasn’t a good way to synchronize the time on the device with a time service but by the time we finished the work they had updated the ESP libraries to provide a solution. Over time, the lack of examples and drivers for the ESP32 will resolve itself but in the short term it will continue to be something to consider.</p><p>The complexity of setting up security and provisioning can also be a challenge. We opted for the simplest solution for a single device but there are more complex options available that can grow to a device manufacturing scale and involve very detailed measures to ensure both security of the system as a whole and flexibility to provide a simpler way of managing devices by the end user.</p><h3>Next Steps</h3><p>Overall the AWS IoT platform has had the best documentation of all the platforms we have evaluated. It appears to be the most well thought out of the bunch as well with a path to work both at a small scale and a large scale with the same platform. At the moment we believe that the AWS IoT platform represents the best platform for those who need a larger deployment and even smaller deployments that have the potential for needing to scale. For rapid prototyping a proof of concept it is hard to beat Particle.io, as it also has a great deployment system.</p><p>Given that we have landed on two well-positioned platforms we are going to concentrate more on extending the work we can share with those two platforms. We will also continue the overall evaluations of various platforms that we have been doing but they are likely to be spread out more. A few of the items we have in mind are creating a dashboard for the information we have been gathering and utilizing more of the available infrastructure from each platform such as device shadows and functions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=409ccccfd4e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/lab-notes-exploring-the-aws-iot-platform-409ccccfd4e3">Lab Notes: Exploring the AWS IoT Platform</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the HoloLens’ Content Lock Options]]></title>
            <link>https://medium.com/mission-data-journal/exploring-the-hololens-content-lock-options-6292531cc8d6?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/6292531cc8d6</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[hololens]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[labs]]></category>
            <category><![CDATA[ar-lab]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Tue, 22 Nov 2016 21:07:35 GMT</pubDate>
            <atom:updated>2017-05-03T18:00:45.752Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xhA4Ejs-UqG0X_R62QBabw.jpeg" /></figure><p>As with any augmented reality device, the HoloLens has the ability to overlay content on the physical world. The content can take on a number of different forms such as simple 2D gauges or complex 3D models. No matter what the content type is, it has to be positioned somewhere in the physical world. This is where content locking comes in. We have put together an example of each type of content lock option that is available for the HoloLens along with a few notes on each.</p><p>To get started, it helps to understand the <a href="https://developer.microsoft.com/en-us/windows/holographic/coordinate_systems">HoloLens’ coordinate system</a> and how the device tracks objects in that coordinate system. The short story is that the HoloLens is constantly mapping the environment you are in and updating its understanding of your position in that environment, the position of content in that environment, and your relation to that content. The more time the HoloLens has to gather data, the more accurate an understanding it can build of the environment. As the HoloLens builds this map of an environment it is also storing it so it understands the different areas you have been in and potentially the spatial relationship of content in those areas. With this ability to build a model of the environment in mind, we can move on to the types of content lock options available for the HoloLens.</p><p>There are three types of content locks. I will start from what I would term the most personal and then move on to the least personal. In each case, I have tried to construct an example and for consistency I have used the same scene for each. The content is simply a 2D sticker that is always facing the user and has an animated number that could represent a reading of some type but in this instance is there only to make the display more interesting.</p><h3>Head-Locked Content</h3><p>The most personal type of content is “head-locked” content. This is traditionally what you see with a HUD (heads up display). A demonstration from the perspective of the HoloLens user wovld look like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*KUSyN7g7ouPsEVsP." /></figure><p>This type of content lock is always in the same spot in your field of view. From an external observer the content would look like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RSkFcBBCL287nRCW." /></figure><p>As you can see, you can’t look away from this type of content no matter where you turn. To an external observer, someone watching the HoloLens user and seeing the display from a different vantage point, this type of lock would make the content look as if it was stuck out in front of your head at all times. For this reason it feels like the most personal type of lock because it isn’t something that anyone but you the viewer will get much value out of except for maybe a laugh. It is also the type of lock that Microsoft suggests avoiding. We suggest that if this is a content lock you are interested in, you take care to make it as subtle as possible to keep it from being a distraction to the user. Another thing to keep in mind is that the HoloLens has the ability to coordinate with other devices such as another HoloLens or even a laptop and this type of content lock is something that a user wouldn’t want to see attached to the front of the head of another user — it’s simply too jarring and distracting in most cases.</p><h3>Body-Locked Content</h3><p>The second type of content is “body-locked” content. This is somewhat less personal but as the name suggests it is connected to you. In the following example the content is locked to the upper left of the user’s body:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*KFxT1xht8KU49juK." /></figure><p>This type of content is always in the same position around your body. Imagine if you had a floating robot companion that always hovered right over your left shoulder. As you walk around it follows you, if you turn your body it will align itself with your shoulder again and if you look toward it you should always see it in the exact same spot over your left shoulder. This type of content has the potential to be useful for external observers as well as for you. Imagine for a second a health indicator above you. Others could see it and you could as well if you wanted to look up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wrFaoBqGRdVnD1Qy." /></figure><p>With the proper positioning, this type of lock is also going to be a lot less of a distraction for the user than the “head-locked” content.</p><h3>World-Locked Content</h3><p>The last and least personal type of content lock is the “world-locked” content. In the following example the content is locked right over the center of the area being shown:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*N8DJWvcgQCINFDtA." /></figure><p>This type of content is always going to stay in the same place no matter where you move. You can think of this as a true object that has no attachment to your person at all. You can walk away from it and see it get smaller to the point of disappearing when you get far enough away that it leaves the HoloLens’ virtual world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kfQ5N_kBVSygDVfp." /></figure><p>This is also the type of content that takes full advantage of the capabilities of the HoloLens. Since the HoloLens generates a complete map of its environment, the “world-locked” content can be placed in the world and remembered. This means that you can place “world-locked” content in a room and then come back to it some time later to find it in the same place. The HoloLens will keep track of the content for you and will recognize the room and the content’s placement in that room. Again, this is something that can be shared between multiple devices so that others can observe the content in the exact spot you observe it.</p><p>Each of the content lock types can be useful. The main thing to remember is that you aren’t going to take advantage of the full capabilities of the HoloLens if you only use “head-locked” content, and there are better devices to use for that anyway. However, if you want to use “world-locked” content either by yourself or shared with others, then you have hit on one of the best uses cases for the HoloLens.</p><p><em>Have an idea for an augmented reality concept that you want to develop? Drop us a line at info@missiondata.com.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6292531cc8d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/exploring-the-hololens-content-lock-options-6292531cc8d6">Exploring the HoloLens’ Content Lock Options</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using AMQP with Azure IoT Hub]]></title>
            <link>https://medium.com/mission-data-journal/using-amqp-with-azure-iot-hub-c3470852bc9e?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3470852bc9e</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Wed, 26 Oct 2016 14:18:30 GMT</pubDate>
            <atom:updated>2022-10-31T17:13:59.978Z</atom:updated>
            <content:encoded><![CDATA[<p>Our current evaluation of different IoT platforms has centered around Microsoft’s <a href="https://azure.microsoft.com/en-us/suites/iot-suite/">Azure IoT suite</a>. It hasn’t been nearly as easy to work with as the <a href="https://journal.missiondata.com/lab-notes-exploring-the-particle-iot-platform-3198fb22f1d#.b3vzgdd3i">particle.io evaluation we did previously</a>, but we will describe some of the challenges in a future post.</p><p>For now, we want to provide a solution to a challenge we overcame while attempting to correctly craft the connection and subscription strings needed for the Azure IoT Hub AMQP interface. Sticking with our other work, we wanted to transmit simple temperature data into Azure using what they call an <a href="https://azure.microsoft.com/en-us/services/iot-hub/">IoT Hub</a> and leverage the existing server we had created for particle.io. There are already <a href="https://github.com/Azure/azure-iot-sdks/blob/master/doc/setup_iothub.md">plenty of</a> <a href="https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-getstarted/#create-an-iot-hub">examples</a> of getting the IoT Hub created, so we will skip that part.</p><p>Right from the beginning it was clear we couldn’t leverage the exact same web-hook we have. Instead, we landed on using the <a href="https://azure.microsoft.com/en-us/services/service-bus/">Azure Service Bus</a> system and <a href="https://www.amqp.org/">AMQP messaging</a>. Using a message queue is a little more complicated than using a web-hook but provides more features like the ability to persist messages so they can be retrieved later. If your web-hook dies, the particle.io system will keep trying for a while, but it will eventually give up and you will lose whatever it was trying to send you.</p><p>We started out by digging around the Azure documentation to find any information on</p><p>how to connect the IoT Hub to an <a href="https://azure.microsoft.com/en-us/documentation/articles/event-hubs-overview/">Event Hub</a> since that seemed to be what was required. Ultimately, we figured out that the <a href="https://azure.microsoft.com/en-us/documentation/articles/iot-hub-devguide-messaging/">IoT Hub is actually an Event Hub</a>, so you can use it directly with the credentials found in your IoT Hub blade under the “Messaging” tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/1*IpkMRyCvrRIDYHE_Gk_1Uw.png" /><figcaption>Credentials are found under Messaging</figcaption></figure><p>With that information and the knowledge that an Event Hub can be accessed</p><p>using AMQP, we looked around and found a post on using <a href="https://azure.microsoft.com/en-us/documentation/articles/service-bus-amqp-python/">Python and AMQP</a>. From the article it was clear we needed to install the <a href="http://qpid.apache.org/download.html">Python Proton QPID library</a> to use AMQP from python. This was easy enough, and the version you can download is also available through pip so we took that route when installing the library.</p><p>So far so good, but then we ran into the first problem. The post lists a somewhat cryptic subscription string format:</p><pre>address = “amqps://[username]:[password]@[namespace].servicebus.windows.net/[entity]”</pre><p>It wasn’t easy, but after a good bit of digging we figured out how to construct this string. The first thing to know is where to find the username and password to use. When working with an IoT Hub those are going to be found in the “shared access policies” tab in the IoT Hub blade:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/1*FpNDTq7R11zpwDFu52mDcA.png" /><figcaption>username and password found here</figcaption></figure><p>You need to use a policy that has “service connect” permissions. In this example we will use the “iothubowner” policy that we created to own the IoT Hub. When you select a policy you will see something like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zW1ExX36Hq298trC." /></figure><p>The password you will be using is the “Primary key” from the details section. Going back to the subscription address from above, the policy name is the username and the primary key is the password. The only other thing to note is that you have to URL encode the primary key before using it.</p><p>Next in the subscription string is the “namespace” and that will come from the “Messaging” tab. The name you want is in the “Event Hub-compatible endpoint” box:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*bXotcVBbOF18TkkO9frbrg.png" /><figcaption>Find the namespace here</figcaption></figure><p>Note that the value in the box is more than just the namespace, it is the entire hostname. For example if you find “sb://somenamespacename.servicebus.windows.net” in that box then the part you need is just “somenamespacename”.</p><p>There is one remaining bit of the subscription address left to unravel and that is the “entity”. This one was probably the hardest to uncover and you will find the pieces you need in the same location as the namespace. You are interested in the “Partitions”, “Event Hub-compatible name” and the “Consumer groups” boxes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*ZBw9eIeISXhCWxYK-nye9w.png" /><figcaption>Other items needed for the subscription string</figcaption></figure><p>The format for the “entity” section is as follows:</p><pre>[Event Hub-compatible name]/ConsumerGroups/[Consumer group name]/Partitions/[partition id]</pre><p>The “Event Hub-compatible name” is the easiest part. The “Consumer group name” is going to be “$default” unless you have created a specific one. The “partition id” is based on the number of partitions you have and starts at 0. Each partition has a unique subscription so they all have to be added to get every message. If you have two partitions, your ids will be 0 and 1.</p><p>That is everything you need to know to construct the subscription strings. However there is one more hurdle to jump and that is, the example from the original post isn’t going to work. It turns out there is a bug in the way the QPID Proton library handles SASL requests that causes it to incorrectly respond with no authentication when setting up the subscriptions. Luckily we found a way of working around that to make this work. The following example code will demonstrate connecting to an IoT Hub with 2 partitions:</p><pre>#!/usr/bin/env python<br>import sys<br>import urllib<br>from proton.reactor import Container<br>from proton.handlers import MessagingHandler</pre><pre>class Recv(MessagingHandler):</pre><pre>  def __init__(self):<br>    super(Recv, self).__init__()</pre><pre>  def on_start(self, event):<br>    conn = event.container.connect(“amqps://iothubowner:xxxxxxxxxxx%2Bxxxxxxxxxxx%3D@somenamespacename.servicebus.windows.net:5671”, allowed_mechs=”PLAIN”)</pre><pre>    event.container.create_receiver(conn, “theeventhubcompatiblename/ConsumerGroups/$default/Partitions/0”)<br>    event.container.create_receiver(conn, “theeventhubcompatiblename/ConsumerGroups/$default/Partitions/1”)</pre><pre>  def on_message(self, event):<br>    print(event.message)<br>  <br>  try:<br>    Container(Recv()).run()<br>  except KeyboardInterrupt: <br>    pass</pre><p>Note the ‘allowed_mechs=”PLAIN”’ found in the example, this setting forces the QPID Proton library to use the “PLAIN” SASL authentication mechanism.</p><p>One thing we haven’t tried yet is point in time offsets. If we end up deciding to use those we will include another example in our final post on our Azure IoT Hub findings.</p><p>Hopefully others will find the above information and save a lot of digging. One final note — the Azure system is changing so quickly that a lot of information that is currently available is outdated. We hope that this article will be useful for a while, but the pace of change is something to keep in mind if something from the above doesn’t work.</p><figure><a href="https://cta-redirect.hubspot.com/cta/redirect/2399711/2c85370d-6a82-4f11-aee4-b5d3a2964e61"><img alt="Teaser graphic with text that states “Transform your business with innovative digital products.”" src="https://cdn-images-1.medium.com/max/700/0*JNVcLVl_jtSV-zHr.jpeg" /></a></figure><h3>About Mission Data</h3><p>We’re designers, engineers, and strategists building innovative digital products that transform the way companies do business. Learn more: <a href="https://www.missiondata.com/">https://www.missiondata.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3470852bc9e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/using-amqp-with-azure-iot-hub-c3470852bc9e">Using AMQP with Azure IoT Hub</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SXSW Reflections: From the Eyes of a Technologist]]></title>
            <link>https://medium.com/mission-data-journal/sxsw-reflections-carson-mcdonald-f93ce225c65?source=rss-e5ae04911211------2</link>
            <guid isPermaLink="false">https://medium.com/p/f93ce225c65</guid>
            <category><![CDATA[sxsw]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Carson McDonald]]></dc:creator>
            <pubDate>Fri, 06 May 2016 02:20:15 GMT</pubDate>
            <atom:updated>2016-08-19T17:49:08.659Z</atom:updated>
            <content:encoded><![CDATA[<p>Another year is well under way and another SXSW Interactive is behind us. Every year I’ve been to SXSW has been an interesting experience and is always informative. Overall this year felt similar to the past few but slightly less crowded for some reason. Reflecting back I had a few choice parts that I wanted to highlight.</p><p>First off my top three sessions:</p><p><strong>Iron Man Interfaces: Next Generation UI (Or UX)</strong></p><p><a href="http://schedule.sxsw.com/2016/events/event_PP55486">http://schedule.sxsw.com/2016/events/event_PP55486</a></p><p>The first part of this was all about what went into creating the on-screen Iron Man interfaces presented by the UI designer who worked on them. After hearing about the amount of detail put into the interfaces it is obvious that real work has gone into creating the fictional interfaces as if they were real. The second part was basically a Meta AR pitch for their new display system. It is certainly interesting technology but nowhere near as sophisticated as the Iron Man display of course. Even so it was a great combination to have presented together.</p><p><strong>Injecting Machine Learning Everywhere</strong></p><p><a href="http://schedule.sxsw.com/2016/events/event_PP54827">http://schedule.sxsw.com/2016/events/event_PP54827</a></p><p>This was a good overall machine learning talk put on by Wolfram Research. It didn’t dive too deep but there were plenty of real world examples. The Wolfram machine learning system looks like a great platform for experimentation and they have definitely put a lot of work into making it approachable. The breadth of examples given lived up to the talk title so it was definitely a good one to have seen.</p><p><strong>Crowdsourced GPS Data Means Smarter Cycling Cities</strong></p><p><a href="http://schedule.sxsw.com/2016/events/event_PP55741">http://schedule.sxsw.com/2016/events/event_PP55741</a></p><p>I went to this talk because of the work we have been doing with the Capital Bikeshare data not knowing exactly what to expect. It turned out to be a really good panel mix of technologists that like to cycle, a pro cyclist and lots of audience participation with varying levels of cycling experience. There was a good discussion of how Strava uses the crowd sourced data from their application to help cyclists navigate around potential hazards and the challenges associated with both the technical parts of that and privacy.</p><p>Each of these talks demonstrates something I noticed this year that I haven’t noticed as much in the past and that is talks that are half pitches for a specific company and half discussions on the topic in general. I wonder if I just happened into a lot more of these this year. I also don’t personally mind the format because they weren’t as bad as some that I’ve been to at other conferences where I have felt more ambushed by the company marketing part right off the bat. I feel like in each case this year they provided a good value by having a great panel or speaker start things off with a solid talk. I do think it can backfire, however, because I skipped a number of interesting sessions by Adobe that looked mostly like they might be advertisements for Adobe products but later heard that some of them had quite interesting speakers that came before the product pitch.</p><p>I usually try to attend at least one workshop each year. It is generally content that is much more technical so it is a nice break from what can be a crushing wave of widely varied information. This year I picked a <a href="http://schedule.sxsw.com/2016/events/event_PP51809">haptics workshop</a> since we have been doing some of our own haptics work and I figured it might be interesting to see how close we are to doing what people who focus on haptics are doing.</p><p>The workshop turned out to have a lot of valuable information. I learned that there have been studies done on certain touches <a href="http://socrates.berkeley.edu/~keltner/publications/hertenstein.2006.pdf">evoking specific emotions</a> and that will come in handy for future work. As the workshop progressed the instructor went over some examples of real devices:</p><ul><li>There is actually a device to help you stop habits by <a href="http://pavlok.com/hello.php">shocking you</a> that was probably the weirdest.</li><li>They showed a very interesting device that makes itself hot or cold to the touch based on the <a href="http://www.robb.cc/cryoscope">temperature</a> outside.</li><li>There was a feedback system that monitors the area around you for CCTV systems and alerts you to their <a href="http://booktwo.org/notebook/surveillance-spaulder/">presence</a>.</li><li>They also mentioned the Parihug that was part of the SX Create venue.</li></ul><p>The hands on part of the workshop used the same haptic motor that we have been using for our haptic projects so that was good reinforcement as well, you can see it here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XAEL-5J0HR0fYNtmw0PMfQ.jpeg" /></figure><p>The next highlight was the SX Create maker area. I always have to visit this area. It is usually held along with the gaming expo but this year they used the hall that is usually reserved for the gaming expo to hold SX Create (note: I was a little sad the gaming expo was held later in the week after we left, but there is so much content already I can’t miss it too much). This year it seemed like 3D printers got way bigger, varied and more plentiful. There was also a more mainstream electronics areas with a STEM flair for the student crowd. New this year was the electronic music area with the best being a huge drum machine that read music and then pumped out the beat. There was also a kind of startup area that I don’t recall from past years that had the <a href="https://www.facebook.com/parihug/">Parihug teddy bear</a> that garnered a lot of attention.</p><p>SX Create is great, almost like a mini trade show for me at least. I always like seeing it and the trade show to get ideas. The formal trade show was packed again this year with tons to see, that was not only organized by companies. They had booths by country, gadget type and university. Tops on my list this year had to be the <a href="https://www.vt.edu/sxsw.html">Virginia Tech display</a> with the massive animatronic RPi cluster that illistrated parallel computing in action. Everyone seemed to have VR this or that on display, one of the best was the <a href="https://www.youtube.com/watch?v=i7HpAkl9Ck8">Discovery Channel’s setup</a>. Other items I found interesting were:</p><ul><li><a href="https://xenoma.com/">Xenoma e-skin</a></li><li><a href="http://www.tbwa-hakuhodo-quantum.jp/eny/">ENY button</a></li><li><a href="http://www.artless.co.jp/">The acrylic display done by Artless</a></li><li><a href="http://lyric-speaker.com/">Lyric Speaker</a></li><li><a href="https://www.hengedocks.com/">Henge Docks</a></li></ul><p>Finally there are all the other activities to do but I’ll spare any party details and just talk about some of the interesting “houses” that popped up this year:</p><p><strong>IBM Cognitive Studio</strong></p><p>For this “experience” you start by registering with questions on a tablet. The questions are pretty basic but they associated the responses with a profile connected to a wristband they’ve handed you. Right off they direct you to a Watson backed interactive display that pulls information from your Twitter timeline to display various pieces of information about you. On top of that they had a drink station where Watson would have the bartender make you a “custom” drink. It got close enough to a drink that I like that I think it may have been a gimmick. Other than that they had a VR bike ride, <a href="https://www.aldebaran.com/en/cool-robots/pepper">Pepper robots</a> in a couple places, a robot that would play rock paper scissors with you and a brain controlled BB-8. Overall it was well put together and they made a quick video tour you can see <a href="https://www.youtube.com/watch?v=o4eLjH_5G-g">here</a>.</p><p><strong>Google Fiber Space</strong></p><p>Google always puts together a good display and even though it seemed a little less active this year it was still cool because they had a giant claw machine that would dispense prizes. Outside of that they had a Google Fiber area and a Google Fi display. Interestingly lacking was a Google Cardboard display but I guess they did that last year or I somehow missed it.</p><p><strong>Samsung Studio Experience</strong></p><p>Samsung’s studio was roughly the same as Google’s. They had a large display of devices both phones, tablets and wearables but nothing you can’t see in stores. The highlight was the <a href="https://youtu.be/3-hyRySG7Hc?t=1m32s">Gear VR rollercoaster</a> experience that had a massive line that I wasn’t going to wait in.</p><p>I would give this year’s experience a little higher rating than last year. It didn’t rain and I think that overall they found a way to make the conference flow better or at least it felt that way to me. I do wish they could find a way to re-integrate the gaming expo with Interactive but I won’t be too sad if they can’t next year. Keep an eye out for some of our future projects that will surely be influenced by what we saw this year at SXSW.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f93ce225c65" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/sxsw-reflections-carson-mcdonald-f93ce225c65">SXSW Reflections: From the Eyes of a Technologist</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>