#AI – MineRL, play #Minecraft to benefit science!

Hi !

I’ve write a couple of time about project Malmo and Minecraft, so if you like Minecraft and Artificial Intelligence, MineRL will make your day. Let’s start with some basis:

MineRL is a large-scale dataset on Minecraft of seven different tasks, which highlight a variety of research challenges including open-world multi-agent interactions, long-term planning, vision, control, navigation, and explicit and implicit subtask hierarchies.

There are 2 main ways to be involved with MineRL, entering the AI (DL) competition, or playing Minecraft (to create more source data to train and test models!)

In the play more, MineRL want to solve Minecraft using state-of-the-art Machine Learning! To do so, MineRL is creating one of the largest datasets of recorded human player data. The dataset includes a set of tasks which highlights many of the hardest problems in modern-day Reinforcement Learning: sparse rewards and hierarchical policies.

There is plenty of information and details on the main website, and as soon as I finish some of my current work and personal projects, I’ll for sure spend more time here!

More information http://minerl.io/about/

Happy coding!

Greetings @ Toronto

El Bruno

Advertisements

#Event – See you @ChicagoCodeCamp on May 11, 2019 for some Deep Learning and Custom Vision experiences

Hi !

I’m very lucky to be at the next Chicago CodeCamp with another session around Custom Vision:

How a PoC at home can scale to Enterprise Level using Custom Vision APIs

It all started with a DIY project to use Computer Vision for security cameras at home. A custom Machine Learning model is the core component used to analyze pictures to detect people, animals and more in a house environment. The AI processing is performed at the edge, in dedicated hardware and the collected information is stored in the cloud. The same idea can be applied to several CCTV scenarios, like parking lots, train stations, malls and more. However, moving this into enterprise scale brings a set of challenges, which are going to be described and explained in this session.

More Information: https://www.chicagocodecamp.com/ and remember that we will be also talking about Deep Learning.

Greetings @ Toronto

El Bruno

#Windows10 – Windows #VisionSkills sample UWP App

Hi!

Yesterday the Windows Team announced the preview version of Windows Vision Skills. So today I was browsing the samples in Github and I’ve created a simplified version of the Skeleton tracker using a live feed from a webcam.

Here are some notes about my GitHub sample

  • The UWP App must be Windows 10 version 1809
  • I added the NuGet packages [Microsoft.AI.Skills.Vision.SkeletalDetectorPreview] and [Microsoft.Toolkit.Uwp.UI.Controls]
  • The MainView uses the CameraPreview control from the [Microsoft.Toolkit.Uwp.UI.Controls] toolkit.
  • Each frame is processed and I use a SkeletalBinding to detect Skeletons / bodies
  • The core detection is performed here
        private async Task RunSkillAsync(VideoFrame frame, bool isStream)
        {
            m_evalPerfStopwatch.Restart();

            // Update input image and run the skill against it
            await m_skeletalDetectorBinding.SetInputImageAsync(frame);
            await m_skeletalDetectorSkill.EvaluateAsync(m_skeletalDetectorBinding);

            m_evalPerfStopwatch.Stop();
            m_skeletalDetectionRunTime = m_evalPerfStopwatch.ElapsedMilliseconds;

            await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
            {
                m_bodyRenderer.Update(m_skeletalDetectorBinding.Bodies, !isStream);
                m_bodyRenderer.IsVisible = true;
                UISkillOutputDetails.Text = $"Found {m_skeletalDetectorBinding.Bodies.Count} bodies (took {m_skeletalDetectionRunTime} ms)";
            });
        }
  • There is also a BodyRenderer.cs class used to draw the skeletons on top of the CameraPreview Image control. It draws lines in an empty canvas.

You can download the sample code from here https://github.com/elbruno/Blog/tree/master/20190501%20VisionSkills%20Skeleton%20Sample

Greetings @ Burlington

El Bruno

References

#Windows10 – Windows Vision Skills (Preview), an amazing set of AI APIs to run in the edge!

Hi!

Today’s announcement is a big one if you are interested on move AI capabilities to the Edge. The Windows team make public the preview of Windows Vision Skills framework:

Windows Vision Skills framework is meant to standardize the way AI and CV is put to use within a WinRT application running on the edge. It aims to abstract away the complexity of AI and CV techniques by simply defining the concept of skills which are modular pieces of code that process input and produce output. The implementation that contains the complex details is encapsulated by an extensible WinRT API that inherits the base class present in this namespace, which leverages built-in Windows primitives which in-turn eases interop with built-in acceleration frameworks or external 3rd party ones.

The official blog explain the basic features of the framework and describes a set of scenarios like Object Detector, Skeletal Detector, and Emotion Recognizer.

We have UWP Apps in the repo samples, and it only took 1 min to setup everything to get the App up and running. In the following image, it smoothly detects a person and a chair.

The next image is the sample for Skeletal detector (as a old Kinect dev, this really makes me happy!)

This is an big announcement, because all of this APIs are native , and that means we can easily use them in

Greetings @ Toronto

El Bruno

References


#AI – AI for Earth, AI tools in the hands of those working to solve global environmental challenges

Hi !

When I was in Ohio @CodeMash, I was lucky enough to meet Jennifer Marsman, Principal Engineer & speaker on the AI for Earth team at Microsoft (@jennifermarsman). She hosted an amazing session where she shared details about some projects on AI for Earth.

AI for Earth puts Microsoft cloud and AI tools in the hands of those working to solve global environmental challenges

See references

The work that the AI for Earth teams are doing are amazing, and I was really impressed by the “Mexican whale story”. The team uses image analysis to identify individual animals in regular persons photos or videos, and using meta data like date and location of a photo or a video, they can generate paths of animal migration. And yes, the photos came from public social media spaces like Facebook, Instagram or YouTube.

So, I got this information as a draft for a while, and now I get some more details and it makes sense to share it. The project name is Wild Me:

Wild Me is using computer vision and deep learning algorithms to power Wildbook, a platform that can identify individual animals within a species.  They also augment their data with an intelligent agent that can mine social media. 

And as usual, a video is the best way to explain this:

Besides Wild Me, there are other amazing projects like SilviaTerra or FarmBeats. You can find the complete list of projects and challenges here (link).

Happy Coding!

Greetings @ Burlington

El Bruno

References

#Office – #Clippy is back in Office for Windows and Mac (powered by #AI)

Hi !

So, after my post yesterday, about the suggestions in Outlook based on an email content, somebody asked me why they don’t see this in Outlook.

I was sharing my experience in Outlook for Mac, in Windows we can find a [Suggested Meeting] option on top of the email content.

And then, when we expand the section, we may find the related meeting information

Happy coding!

Greetings @ Toronto

El Bruno

My posts

#Office – Clippy is back in Office (powered by #AI)

Hi !

I’ve already share some of the new AI features in Office, like Excel Ideas or real-time captions / subtitles in PowerPoint.

Today I’ll switch to Office editor, to share something amazing. I added Clippy to this post title and the idea is similar to the Clippy intents a long time ago:

An AI assistant will analyze the text while you are writing it or reading it, and it will suggest actions related to this text.

A single image is the best way to show this

I received this email last week and I notice that part of the text was automatically highlighted and show an amazing suggestion. It seems that the Word, Outlook editor is becoming more and more intelligent.

And I’m really looking forward to some extensibility SDK, so someone can really bring back Clippy at 100%

Happy coding!

Greetings @ Toronto

El Bruno

My posts

#Office – Ideas Tool para Microsoft Excel basado en AI (#Excel, #AI)

Buenas !

Hoy voy a cambiar a Excel para compartir algunas de las otras increíbles características de Inteligencia Artificial en Microsoft Office: Excel Ideas.

Excel Ideas es esta nueva herramienta que tenemos en Excel que nos permitirá obtener algunas ideas sobre información seleccionada en una hoja de trabajo. Para utilizar esta herramienta, necesitamos seleccionar un conjunto de datos y hacer clic en el botón [ideas] en la cinta de opciones

Microsoft Excel Ideas.jpg

Para escribir este post, he descargado un conjunto de muestra de datos espaciales de SpatialKey (ver referencias). El archivo de seguro de muestra contiene 36.634 registros en Florida para 2012 de una compañía de muestra que implementó un plan de crecimiento agresivo en 2012. Hay columnas de valor asegurado total (TIV) que contienen TIV de 2011 y 2012, por lo que este conjunto de datos es ideal para probar la característica de comparación. Este archivo tiene información de dirección que puede elegir para geocodificar, o puede usar la latitud/longitud existente en el archivo.

Una vez que seleccioné el conjunto completo de datos, es bueno ver las siguientes ideas

Si usted es un usuario de PowerBI, este tipo de información y análisis será familiar. Para mí es bueno ver que tenemos estas capacidades en un solo clic en una herramienta popular como Excel.

Hay más de + 40 Insights y es agradable para navegar por ellos y encontrar que en el Condado de Miami Dade, el deducible del sitio es mayor para las construcciones de marco de acero y hormigón armado.

Microsoft Excel Ideas Sample 03

Con 2 clic podemos analizar algunos datos abiertos relacionados con el tráfico en Ontario y ver cómo el tráfico aumenta lentamente en Hwy 69 desde 1988 hasta 2010.

Microsoft Excel Ideas Sample 04

Una herramienta increíble dentro de Excel para obtener rápidamente información sobre nuestros datos.

Happy coding!

Saludos @ Toronto

El Bruno

References

My posts

#Office – Ideas Tool for Microsoft Excel powered by AI (#Excel, #AI)

Hi !

Today I’ll switch to Excel to share some of the other amazing AI features embedded in Microsoft Office: Excel Ideas.

Excel Ideas is this new tool we have in Excel which will allow us to get some insights about the selected information in a worksheet. In order to use this tool, we need to select a set of data and click the [Ideas] button in the Ribbon.

Microsoft Excel Ideas.jpg

In order to write this post, I downloaded a sample set of spatial data from SpatialKey (see references). The sample insurance file contains 36,634 records in Florida for 2012 from a sample company that implemented an agressive growth plan in 2012. There are total insured value (TIV) columns containing TIV from 2011 and 2012, so this dataset is great for testing out the comparison feature. This file has address information that you can choose to geocode, or you can use the existing latitude/longitude in the file.

Once I selected the full set of Data, is nice to see the following insights

If you are a PowerBI user, this type of information and analysis will be familiar. To me is nice to see that we have this capabilities in a single click in a popular tool like Excel.

There are over +40 insights and it’s nice to browse them and find that in Miami Dade County, the site deductible is higher for Steel Frame and Reinforced Concrete constructions.

Microsoft Excel Ideas Sample 03

With 2 click we can analyze some Open Data related to traffic on Ontario and see how the traffic slowly increases in Hwy 69.

Microsoft Excel Ideas Sample 04

An amazing tool inside Excel to quickly get insights on our data.

Happy coding!

Greetings @ Toronto

El Bruno

References

My posts

#Event – Disrupt AI: #Hackathon

disrupt ai banner

Buenas !

DisruptAI es un hackathon de dos días patrocinado por Microsoft que te reta a crear soluciones de industria usando IA y datos, muchos datos.

¡ Voy a aprender y a guiar equipos para hackear y construir cosas asombrosas!

Más información y registro: https://www.eventbrite.ca/e/evoke-disruptai-hackathon-tickets-54971356808

Saludos @ Toronto

El Bruno