Showing posts with label #Microsoft. Show all posts
Showing posts with label #Microsoft. Show all posts

Thursday, June 14, 2018

Creating a PowerApp with a SharePoint list as its datasource

PowerApp is a Microsoft service that lets you quickly create apps for displaying and manipulating data. In this blog post, we will be going through how to create a PowerApp for saving, viewing, and editing, info that is saved as a SharePoint list and is accessible to everyone in an organisation.

First, we will look at creating a SharePoint list from an Excel sheet.

1. Open an existing Excel sheet that you want to use for your PowerApp. Select the data in the Excel sheet and format it as a table.




2. Login to SharePoint. From the New tab, select App.




3. Search for “Spreadsheet” and click Import Spreadsheet from the search result.




4. Browse the Excel sheet you used in Step 1 and click Import.



NOTE: You might face one of these issues when trying to import the Excel sheet to SharePoint as a list.
- Error: “Specified file is not a valid spreadsheet or contains no data to import.”
Solutions that worked for me: add SharePoint URL to your browsers trusted sites list.
- Error: “This feature requires a browser that supports ActiveX controls.”
Solution that worked for me: as I was using Google Chrome on a Windows machine, installing the Internet Explorer (IE) tab extension on Google Chrome, then open SharePoint from the IE tab. The IE tab is not available for OSX.

You have successfully imported the Excel sheet table as a list in SharePoint.



5. We will now use this list to create a PowerApp. To do this, from your list, click on the PowerApps drop-down control, on the menu bar, and select Create form app.



A new PowerApp with the SharePoint list as datasource will be automatically generated. This PowerApp displays a list of items. You can view the item details by clicking on (>) next to each item. You can also edit the details of an item using this PowerApp.



Your PowerApp is now ready to be published so that it can be useful to everyone in the organisation.

Sabina Pokhrel

Sunday, April 29, 2018

Adding AI to Mixed Reality

Over the last few months I have had the privilege of helping numerous Microsoft Partners get started with building Artificial Intelligence into their Mixed Reality applications.

It might help you to understand what I mean by Artificial Intelligence, as it is a heavily overloaded term used to describe everything from an algorithm to predict what you might like to buy next, through to a future technology that will run the world and take all of your jobs. For the purpose of this article I will limit the term of AI to describe a set of algorithms to help determine a result of a specific query with a certainty high enough to be useful by the customer making the query. For example, given a sentence spoken by a customer, the algorithm has an 80% (or greater) confidence that the intention of the sentence was to order a specified item for delivery at a given time.



One of the aspects of almost all AI is that software developers are no longer working with clear binary results (1 or 0, on or off), instead, with AI algorithms, the result is a percentage of certainty of correctness, often termed confidence.

Working with this confidence, the application can modify the experience for the customer.
You might be asking why this is interesting for a Mixed Reality application?
With the example I just provided, of understanding the intention of a spoken command, a Mixed Reality application can become far more useful. If you have ever worn a headset, VR, AR, or MR, you will know that the controls for input are limited. Either using hand controllers or simple hand gestures is often not enough to control a complex application or environment. Speech is a great way to enhance the interface. When the speech can be in the form of natural language input that an algorithm can translate into an intention the application can act upon the experience for the customer is greatly improved.

In the one week workshops, the developers learn how to use computer vision services to recognize the objects that a camera is seeing, translate text between languages, understand the intention of a natural language command, and even build their own machine learning algorithm from scratch. The developers then take these lessons and build out a demo or proof of concept application they can take back to their workplace.



One thing that is becoming clear is that while 5 years ago you would have struggled to find things you use every day that utilize some form of AI, in the coming years you will find it hard to find any technology that doesn’t take advantage of some form of AI.

Dr. Neil Roodyn

Monday, April 23, 2018

Experiences with Microsoft’s Azure Face API

In the last few weeks I have been working with Microsoft’s Azure based Face API.

If you have never used the API you might well be surprised by how extensive the information about each face returned by the API can be. Here is just a small part of the information that comes back:
1. The coordinates of the face inside the scene.
2. The amount the face is tilted.
3. A guess of the person’s age.
4. How much the person is smiling.
5. Whether the person is wearing glasses or not.
6. Whether the person has facial hair or not.
7. Whether the person is male or female.
8. A guess at the emotional state of the person.

All the above as well as very detailed information about positions of features in the face can be obtained.

The way in which the API is used has been designed to be very straightforward.

To be able to recognize a face, the Microsoft engine in Azure needs to have some sample images of the face. The set of samples is called the training set, and the project I worked on started by sending a set of images to Azure for each of the people we wanted to recognize later in our project.

When the time came to recognize people, we set up a camera connected to a PC and every few seconds sent the current camera image to Azure asking the Face API to tell us if any faces were in the image.

If a single person walked up to the camera, the response would be that there is one face in the image we had sent. The Face API is quite capable of picking up many faces in a single image (for instance where the image shows a number of people seated around a table).

Once we know there are faces in an image, we need to use a different function in the Azure Face API where we send just the area around a face to Azure and ask whether that face belongs to someone in our training sets. The response we get back is not just a yes/no response, but a probability of how likely it is that the face we sent matches someone. Generally, we would choose the highest probability match (if there is one).

In our project we wanted a PC app to trigger an activity whenever someone the app knew came into range of the camera. In effect we would also know when they had left as we would stop seeing them through the camera.

The Face API made it easy for us to set up the project and begin testing. At that stage, we began to realize it was not all quite so simple.

The first sign was that people who walked past the camera in profile were not recognized. Actually, they weren’t even detected as faces! After some investigation it was possible to determine a list of circumstances that were likely to have an impact on whether someone was going to be matched.

The first step in getting a match as noted above is to detect that there is a face in an image. This step, we discovered can be affected by quite a few things. Here is a partial list:
1. A person’s head should not be turned away from the camera by more than about 45 degrees.
2. If the camera is positioned too far above the mid-line of the face, no face is detected. Similarly, even if the face and camera are at the same level but the person turns their face too far up or looks down too far, no face is detected.
3. If the face is tipped too far from vertical with respect to the camera, a face will not be detected.
4. The mouth should not be covered.
5. The nose should not be covered.
6. Each eye should be visible or at most obscured just by no more than a finger width.
7. Ears, forehead and chin do not need to be visible.
8. Placing a hand against the side of the head or chin does not prevent detection.
9. Beards, moustaches and glasses do not prevent detection.
10. Strong backlighting (e.g. A large window behind a person) can make detection impossible.

Even if a face is detected, the face may fail to match against the training set due to other problems:
1. If the place/camera where the training set was collected is different to the where the recognition is to be done, the success rate in matching may be lowered.
2. If the resolution of the cameras used for training and for recognition are very different, the success rate in matching may be lowered.
3. If the camera resolution is high (e.g. 1920x1080), matching is easily achieved at 2 metres distance from the camera. If the camera resolution is low (e.g. 640x480), matching at 2 metres from the camera becomes difficult.
4. If the facial expression at recognition time is too different to the expression used in the training set (e.g. mouth open at recognition, while the training images all had mouth closed), recognition may fail.

Achieving a reliable result in a project once you know more about the characteristics of the API becomes not just a matter of putting some code together. The project design may need to juggle with the position of the camera, perhaps using more than one camera. Some thought will also need to go into lighting and possibly devising techniques to compensate for perfectly normal face obscuring activities such as people simply turning their heads.

Peter Herman

Wednesday, April 11, 2018

Designing for Mixed Reality

At nsquared, we are working very closely with Microsoft to build training material to help you build the best Mixed Reality (MR) applications. One of the topics which we cover in our training material, is how to design for MR, and knowing when to optimise your 3D assets.

Designing for MR can be a daunting challenge, but crucial to the successful performance of an application. The main goal of optimisation, is finding a balance between beautiful 3D assets and making sure assets do not hinder the performance of an application. Optimisation can be considered and applied when modelling, UV mapping, texturing and exporting 3D assets, but it is important to understand when to use the correct method.

Generally, when building 3D assets for game engines, such as Unity, it is important to keep the polygon count as low as possible. The lower the polygon count, the more efficiently an application can run, reducing lag. This is even more important when building 3D assets for MR as the performance requirements are higher.

Before reducing the polygon count of your 3D assets, there are a few key questions you need to keep in mind. This ensures that you are creating a well optimised application, while ensuring that the user experience is maintained.

Ask yourself the following questions:


The key is to understand what needs to be detailed, and what does not. Knowing which assets need more detail will help you prioritise the assets that need the greatest number of polygons, so time and effort is not spent on assets of lower importance.

Wednesday, September 13, 2017

Security and nsquared documents

One of the questions commonly asked about nsquared documents is around the security of the NFC tags and the associated PIN.

It is difficult to know how much we should disclose about the way we secure your authentication information. Therefore I will keep this post at a fairly high level and explain the concepts that keep your details safe.
First the obligatory disclaimer; nothing is truly safe. Seriously, if you believe you have a system that is 100% secure you are naïve. In order for encrypted data to be useful it needs to be decrypted. The encryption and decryption is done in software using mathematical algorithms to make it hard for people without the correct corresponding components to access the data. The question, with security, is how hard do you make it for "bad" people to access your information? At nsquared we believe we have made it difficult for anyone to access your data without substantial effort.

When you log in to one of your cloud document stores (OneDrive, Dropbox etc) the service responds with a token that enables the software to access that cloud store. Somehow nsquared documents needs to store that token. We don’t need to store your username and password. In fact we don’t even have access to your username and password. That is hidden by the login screens provided by the cloud store providers (Microsoft and Dropbox). Even if we did have that data we wouldn’t store it, as we don’t need it.
We then associate an NFC tag to that token. The NFC tag contains a unique ID, nothing else. We do not store the token or your PIN on the tag. The tag is like a locker number. It uniquely identifies a place your data is stored. Except it is encrypted. So even with that unique number on your tag your still need to know how to decrypt it in order to find the locker.
So what about the PIN? We never store your PIN anywhere. The only place the PIN is stored is in your head. Please don’t write it down somewhere, your security will be lower. The PIN is a bit like your locker key. We use the PIN in combination with your tag ID to identify who you are, where your data is stored and how to decrypt your data.
If you lose your tag and are concerned about the fact your PIN was written on a sticky note on your desk (yes, you know who I am talking about). Then you can go to your cloud store provider and disable access for nsquared documents to access your store. You can then create a new tag using nsquared documents and this will generate a whole new setup.
If you are using a Surface Hub please download the free trial of nsquared documents from here. 
If there are any features you would like to see added to nsquared documents please let us know.

Thursday, May 11, 2017

The Bots Are Coming

How will you interact with the technology in your life in the coming year?

Currently we are forced to interact with computers in unnatural ways. Humans are forced to learn how to use their technology. What if the technology could learn to interact with us on our terms?

This is a future we are building here at nsquared. One of the many ways this future will come true is through the use of conversational agents, also called chat bots, or just bots.

The team at nsquared has been working closely with Microsoft on their Bot Framework,Language Understanding Intelligence System (LUIS), and other machine learning technologies. These technologies enable us to build rich conversational software applications that talk to our customers on the channels they are already using to communicate with each other; Skype, Slack, Facebook, SMS, and others.

At nsquared we have been building Bot applications, as well as training materials to teach developers how to build better conversational bots.

Contact us at enquiries@nsquaredsolutions.com to find out how we can help you.

Thursday, May 4, 2017

Git Event

Tripti Wani who is a team member here at nsquared attended a learn to git event in the Microsoft Store in the Sydney CBD on the 27th April.
She joined the Women Who Code Sydney for food and drinks (kindly provided by the Microsoft Azure  dev. team) followed by a hands-on workshop on the essentials of Git.
She started off for a dinner at the ChatThai in Westfield, where attendees caught up and the first timers were introduced and soon jumped into the conversations. Needless to say everyone hit it off.
The event then moved to the Pitt St Microsoft Store and for the next 2 and ½ hours, attendees experienced Git commands and how to use them in the terminal, and the use of applications like SourceTree and Git Extensions.
Attendees learnt how to:
• work with Git
• clone a repository 
• create a branch and with those
• commit changes  
• push changes
• merge origin masters
• merge back into master 

• resolve merge conflicts 
• push your changes to origin 

.. and just understand what all the above means…
All that attendees needed was a laptop, background knowledge of Git and that it's used for version control. But no programming experience was required.
Tripti thoroughly recommends anyone to come and attend the next event. It only takes a few hours of your time which goes by so fast, but you still seem to be so much in a relaxed social atmosphere.
For more information from the event click here

Here are some of Tripti's photos from the event:

  

Tuesday, May 2, 2017

Microsoft Build 2017 Conference In Seattle, Washington State


Only a few more sleeps till the exciting (well we find it exciting) Microsoft Build 2017 conference in Seattle, Washington State, to kick off on May 10th to 12th.

Dr Neil Roodyn will be attending deep technical sessions, learning new technologies and getting advance notice of Microsoft’s new plans. 

He will be meeting and learning, from more than 5,000 developers in the industry, from all over the World and yes, the place will be a buzz with it’s own tech speak.

The Build up is underway. Announcements are thick and fast. You can feel the excitement. We’ve had updates to Cognitive Services that help developers build apps that understand people and the world around us.  The current SDK for the Windows Creators Update feature was shipped. Also announced Azure Managed Disks and VM scale sets, for ease of use and scale benefits to PaaS to IaaS developers.

Microsoft Build 2017, May 10-12 in Seattle, in person or Live Streamed will teach you as developers, how to put these latest and coming innovations to create:

·       AI-powered apps we have yet to imagine
·       Apps that make your customers more productive
·       Cutting edge, intelligent cloud apps
·       Mixed-reality experiences
·       Mobile experiences for nearly any device
·       Simplified end-to-end development ops experiences

There will be keynotes, deep technical sessions, hackathons and opportunities to collaborate and code with your fellow technologists and engineers. 

There’s never been a more exciting time to be a developer.
 Click here to watch the conference via live stream