Microsoft Cognitive Services - Speech API

Apart from Vision API another interesting part of Cognitive Services is Speech API. Here we can use Bing Speech API to convert text to speech, custom speech API or Speaker Recognition API. Let’s look at the last one. Read More

Microsoft Cognitive Services - Vision API

Vision API allows us to get insights from images and videos. In this category we have services like: Computer Vision, Content Moderator as well as Emotion, Face and Video API.

Computer Vision

The most broad is Computer Vision. It allows to extract a set of features from images. We can get a general description of the image, tags with the information that image contains, general information about faces present in the image. It can also recognises celebrities. To enable that we need to put that into details parameter.

Vision API recognises Steven Seagal

To control what API returns, we can use VisualFeatures query string parameter.

Interesting values is Adult, which analyses and image whether it might be NSFW. If you get a lot of links of images which you don’t know whether should be displayed on work computer you might want to run it by Vision API and check adult section

There are parameters that values close to 1 might indicated that the content might not be suited for work. Quite a nice feature of Microsoft Vision API.


Faces API focus only on one element of the images – mainly recognising people’s faces that are present on images. If you remember a Nikon advertisements that presents it’s new Face priority focus – this is what you get from this feature.

Nikon's ad

But that’s not all. We get additional information about ears, nose, eyebrows are mouth.

Faces API in use


That’s one is simple – we get the person’s emotions on that picture. Pretty awesome.

Emotions API in use


This one allows us to get insights into the video providing features like face or motion detection, image stabilisation. It is also possible to use before mentioned features on the provided video. Navigate to and check the example located in the “Analyze in Near Real-Time” section. It. Is. Amazing.

Do you know what was the rant, a couple of months ago, about this picture?

Computer Vision example image

Or do you wonder how that calculates (correctly or not) your age works? If you are interested in – the read on. Read More

Why my Visual Studio zoom is at 150%?

If you happen to see my Visual Studio at my normal day work you might notice that my font is big. Is my sight that bad? And it’s not that I’m sitting 10 meters from the screen. Not at all…

Read More

What is LuaFun?

Last time I was shortly describing LuaJIT a fast implementation of Lua Just-in-time compiler. This time lest quickly look at LuaFun library.

Read More

Farewell BlackBerry

My blackberry is not working. When I heard those words in the BBC One show I knew there would be something funny. And indeed it was. Unfortunately as of today I need to say those words too. My BB is dead.
Read More

What is LuaJIT?

It’s a Just-In-Time compiler for Lua. It is supported on all major platforms including: Windows, Linux and macOS. It’s been used as a scripting language in games, graphical apps, trading systems as well as in embedded devices like smartphones.

Read More

Lua - visibility rules

The visibility of variables in Lua is a bit different than in C#. The same variable name can be used within the inner block without any naming issues. Lets see how this is in practice

Read More

Lua - garbage collector

C programmers think memory management is too important to be left to the computer. Lisp programmers think memory management is too important to be left to the user.

Lets see what Lua programmers think on this topic. Read More