10 Things to know about drones

If you are new and curious about Drones or UAV (Unmanned aerial vehicle) technology then, you are on right stop. Here, I have gather my some of the basic Question answer which I have given on different social media platform. I have combine them with some modification, maybe it will help you to get a basic idea about this emerging technology:

What is Drone? In a very simple manner:

A flying computer without a pilot.


Now imagine the power of a computer which if flying:) Imagine what it can do?

Reason of recent surge in commercial drone Tech?

Technically Miniautirization enable drone assembling easy and hobbyist took some great works from it. Now giant company trying hard to excel in this industry. Its not future actually, its present and you have endless possibility to use this technology in numerous fields. Consider the example of Rwanda where it is delivering the vaccine to remote areas as there are not good road infrastructure. 

It means drones are important? How drones are using for business?

Yes, drones are important, there is a growing demand about drone acquired data in day to day in numerous business operations and for instance, you can also check this:


  • CyPhy | Persistent Aerial Solutions
  • Flyability — Safe Drones for Inaccessible Places
  • Kespry Automated Drone System | Kespry

OpenCV Basics Part I - How to read Image with OpenCV

  OpenCV (Open Source computer vision library) is one of the popular library for machine learning, image processing and computer vision. It is available for different platforms like Windows, Linux, Mac OS, iOS and Android and it is also available with  C, C++, Python and Java interfaces. Clearly, we are not here to discuss What OpenCV is? and why it used? and if you still insisting me to tell what exactly it is then,  I will recommend you to read and understand this (nvidia guide) or this (Intel guide) or this (a blog).


Background:
The aim of this tutorial series is to teach and learn some basics of the OpenCV as I am not an expert of OpenCV, learning it myself and sharing my learning so that I can grasp this skill. This tutorial assumes you have basic knowledge of python. Remember, I am not a regular or experienced python programmer. My primary language is C# and Unity Game-engine while occasionally I code in JS, PHP, and python. The reason to mention my background is that a beginner python developer can follow this tutorial  (as I am a beginner) and expert of python and OpenCV can correct/imporve this tutorial.
So without further ado, we jump to the code and in this tutorial, we simply learn that how can we read and display an image in OpenCV.

Why did Python become so popular?

             As a programmer, my first experience with python was miserable due to the bracket less syntax of the program , indention based code, lack of knowledge about the Good Python IDE and QGIS environment where I have to code in python and I was already confused with the dozen of features of QGIS and working mechanism (still I don't know about it). Although enjoyed my time and work because I love to work on new technologies and specially on Python due to its growing popularity and acceptance in data science field.
Python is a general purpose language. Recently, Python has become so popular as:


Source: octoverse github



Source: Stackoverflow survey 2017



source: IEEE spectrum


The success of python not only stop here, StackOverflow recent trends are also depicted the  popularity of Python as you can see below graph, Python has already surpassed Java and close to JavaScript.
source: stackoverflow trends
So, in number game python heading towards more popularity but what make him so popular while its first release happened in 1991? This urge me to know the reason of Python popularity and without particular order I have found these facts about python:

Readability:

It resembles with English language and mostly use common English words like in, None, not, def for definition, import etc. It not use curly bracket or special keywords to delimit code blocks instead use white-space indention (but I personally prefer curly brackets). Additionally, it use fewer code to program, like if you want to print Salam World you can write simply
print("Salam World")
But what will happen if you want to write same code  in C# or Java or C/C++?? Developers are  better know about #Include, or System namespace, or Main function etc etc, that are necessary to run single line of code.

Library:

One of my colleague asked me that how to install a package/Library/Framework in python? I told him to write this (pip install yourDesiredPacakgeName) in command line. Then, it took hardly one minutes to complete and my friend yell! This is very simple!. Yes, it simple and there are huge numbers of libraries framework available you can install in a minute. Python provide large number of third party libraries related to data science, web development game dev etc and these libs are super easy to install.

Data-Science Support:

Python has become no 1 choice in data science and recently surpassed it close contender "R". It has great support of libraries including sciPy, NumPy and Pandas.

Other reasons includes:

  1. Mostly use in scientific domain, academic research and most schools/university are adopting it as first place language.
  2. Python has strong, active and huge community and Giant Sponsors.
  3. Python Success in different areas
  4. Great documentation by third party.
  5. Python extensively using in most platform and fields like embedded devices(RaspberryPi App), Web, Desktop, Data science, game (pygame), server configuration etc.
  6. Easy for newcomers, with little efforts they can write working piece of code.
  7. Able to run on Cross platform (windows, Linux, Mac OS)
  8. Google, the corporate backer of the language.

Conclusively, I can say that python is popular due to its simplicity, huge library support, acceptance in research and universities/schools, and finally its immense support and use in data science field.

If I have forget any important aspect of python popularity please inform met, i will be happy to learn and share it.

Access Rendering path settings in Unity3d

In unity5.4 or in earlier version, we usually access Rendering path from player settings
(go to Edit -> Project Settings-Player -> Other Settings Tab) Some like this:
Accessing  Rendering Path in Unity 5.4
 But from Unity5.6, Reding path settings has significantly changed and now its available in  Graphics Settings (go to Edit -> Project Settings -> Graphic). something like this:


Accessing  Rendering Path in Unity 5.6.2

Coding Forums for Programmers - Programmers should Join

As a programmer you defineatly google to solve your coding issues and did you ever notice that you mostly find your solution on coding forums. Yes, coding forums like stack overflow, code project or game dev etc. For me, joining a programming forum is essential therefore, I mostly recommend programmers to stick with at least one programming forums as it has significant advantages like:
  1. You can instantly get answer of your programming issues (but before posting the question on forum, you must do some research otherwise, the forum can close your duplicate question)
  2. You find new perspectives to solve a problem
  3. Opportunity to learn from other codes
  4. Sometime you talk with world class develoeprs
  5. Maybe you can find new business partners or friends
  6. Beside getting answer of your question, you can help others and can strong your coding skills

I am an active member of stack overflow and I have also joined different other programming forums like game dev, code project, software engineering stack exchange etc. profile for Mohammad Faizan Khan on Stack Exchange, a network of free, community-driven Q&A sites

For programmers, I have combined several programmiing forums link in this post. Without a particular order, here is the list:

3DWalker - 3D Environment explorer for Unity3d Projects

Unity3d is one of the most popular game-engine use for game development, simulation, training and architecture visualizations. In most 3D projects, specially related to architecture, simulation and training, we require feasible, friendly, effective and robust methods to navigate in the 3D environment. In unity, we use cameras for rendering and exploring 3D world and usually navigate camera in order to show or explore the 3D environment. Conventionally, we develop and use different kind of cameras like Fly camera, Walk camera, Orbit Camera, Point Camera etc. These camera are use to watch and navigate 3D projects.

There are plenty of paid and free solution available that provides easy ways to run your 3d projects with different cameras. But there is a general requirement to develop such a workspace (or working environment)  that help every newbie or expert unity developer to quickly set and play unity project. The workspace should be developed and form over some main principles like effective navigation systems, intuitive UI and run-time 3D object manipulation and multi language support. For this reason, I have just stared an open source project named 3DWalker at GitHub with these aims & objective. Obviously, the aim of 3DWalker is to improve user experience regarding 3D world navigation with bunch of other features like 3D environment manipulation at run-time. All Unity3d developers are allow to participate in this project so together we can provide better 3D experience to over end-users.

5 Steps to Run your custom map in CS GO

Love to play Counter strike and want to load some custom maps (Like aim training maps etc). Then, you are at right place. Here is the five simple step guide to run your custom map in counter strike global offence (CSGO). But remember don't waste your all the time in gaming, life is precious. Play honestly, patiently and for learning and fun.


  1. Download the desired map (remember the map extension should be .bsp);
  2. Copy the downloaded Map (.bsp file)
  3. Go to the location where you have installed CS go and Go to maps folder (e.g., Counter-Strike Global Offensive\csgo\maps)
  4. Paste or drag the .bsp file (downloaded map in 1st step) in the maps folder
  5. Now Open CSGO and go to console (usually ~ button press will bring console window)
  6. Type map and then your downloaded map name (e.g, map customMapName)


Have fun!

C or HTML - What should i choose? A guide for beginners.

         You are newbie in programming field and interesting to start learning but confuse with language like C and html. A lots of newbie confused that how to start with programming or which language I should select either C or html? In this post, i will try to clear all your confusion about c and html.

         First thing I want to tell you that don't mix both things (C & html). They are separate : How ? You need to understand that if you are willing to learn programming then you should choose C And If you are willing learn to learn rendering language then, its HTML. Still confusing? No problem! You need to understand the difference between programming language and rendering language. Programming language allow you to do mathematical and logical operations.

For example, you provide two numbers to C language (programming language) 4 , 3 with positive (+) operator then, C will perform a mathematical operation and it will return 7. The statement should be like this 4+3 and the answer will be 7. It simply add both numbers and return the result but if you try to perform same operation with HTML then the result will 4+3. What? 4+3? This is exactly the same what we provide! Yes, it is same that's why we called it rendering language. It simply render the content you provide. It didn't apply mathematical operation. while in programming language you are able to perform mathematical and Logical operator (we are not going deep in logical operator like "AND", "OR").

How to solve "npm not recognized as internal or external command"

You have downloaded and installed npm and then, typed npm command but getting the error
"npm not recognized as internal or external command"
OR You want to know how to download and use npm? Then, you are at the right place! This short post will teach you the simple steps in order to successfully install and run npm. So, here are the steps.
First, download and install npm from here [chose Windows Installer(.msi)]. If you have tried npm command after installation, you will get this error "npm not recognized as internal or external command". In order to solve this problem, follow below steps:
  1. Go to MyComputer Properties.
  2. Click Advanced System Settings from the Left bar of Window.
  3. Now you have System Properties window. Click Advanced
  4. Then, Click Environment Variable... button
  5. Now you have Environment variable window: From User Variable, Select Path
  6. Click Edit
  7. Now in Variable Value, add the path of where you have installed npm. Like I have installed it in C drive (C:\Program Files\nodejs\). If you have installed in other drives then please act accordingly.
  8. OK all open dialogue
  9. Now the final step, Restart your computer.
  10. Congrats you have done, now you can use npm commands

Drones - Next Common thing you will see everyday

Postal delivery with drone. . . Crime scene film with drone. . First-aid with drones . . Agriculture with drones . . Its all about drone, drone and drone. Yes, the next big and common thing you will see everyday around you, will be the Drone or Unmanned Aerial Vehicles (UAVs) technology. Drones are actually flying robots that can fly autonomously or they can be control remotely. According to Dictionary.com drone :
"an unmanned aircraft or ship that can navigate autonomously, without human control or beyond line of sight ".
Drones usually have embedded systems that work in conjunction with on-baord sensor and GPS.

I am here again (after AI tweets collection),  collected some of the cool tweets that will educate us about the different perspectives of drone technology including its adoption and development and latest progress. Actually drone technology is one of the leading trend that is quickly evolving with AI.

What is Drone

Drone Technology Latest Progress

Drone is Mega Trend

Drone Industry Getting Large

Drone Prices Getting Small

Drone's Problems/Issues 

Drone Applications


Drone Aerial View is Important

What you need to know about 5G


  • 5G means, Fifth Generation
  • Fifth generation of wireless technology
  • Newest mobile wireless standard based on the IEEE 802.11ac standard of broadband technology
  • New generation means new encoding methods, faster speed, low latency, fast download
  • 100 times faster than 4G
  • No mobile device yet for 5G
  • Maybe started in 2018 or 2020s but Huawei is planning to launch the first 5G pilot network with its partners in 2018. And UK also testing it.

  • AT&T and Verizon's pre-5G is coming this year
  • 5G connect many devices
  • It will play an immense role to enable the self-driving cars concept.
  • Enable heavy machinery control through networks.
  • Enable the concept of Doctor virtual Visit for patient treatment
  • Life 360 views for your favorite games using VR.
  • Life for IoT, 5G will enable IoT because cellular network Latency limits many IoT applications.

Free Speech to Text Service for developers

One of our teacher share that 
Indeed tech giants like Apple, Microsoft etc have moved for voice first apps. Now,  as a developer did you consider implementing voice based interaction for your app? No? Why ? You should consider it right now! And For this, you first need to understand that how to convert user words to an action? But wait, actually you  first required to understand that how to convert user voice to text and then text to an action.
Remember the sequence:
"user voice to text then, text to an action".
And in this post, we are going to deal with the first part i.e., user voice to text. I am not an AI expert nor I have designed any algorithm to share with you. We are going to share with you a cloud services for this purpose.
If I ask you to suggest me some speech to text service or API for my project, then, What will you do? Maybe you will first google and answer or you will refer Google Speech API or IBM Watson Speech to Text or Bing Speech Service etc etc.  That is fine, but theses services are Free?
Maybe to some extent (like free trail or limited free access) but they are not free for production work where you have to handle tons of requests.!
What if I tell you about a surprising service that will provide Speech to Text without any cost? Sounds amazing! but wait, first we look the top speech to text services that are proudly present by google search engine.

Watson Speech to Text - IBM

IBM provide you one month free trail and its basic pricing model given below:
  1. Usage: < 250K minutes a month: $.02 per audio minutes transmitted
  2. Any usage > 250K to 500K minutes a month: $.015 per audio minutes transmitted
  3. Any usage > 501K to 1MM minutes a month: $.0125 per audio minutes transmitted
  4. Any usage > 1MM minutes a month: $.01 per audio minutes transmitted

Unity Tips and Tricks (Editor, Performance, Build Tips and Tricks) Part IV

In our previous post we shared different coding tips and tricks related to Unity game engine. In this post, we gather different tips and tricks related to Unity Editor, Performance and Unity Build.

Unity Editor Tips and Tricks















Performance/Optimzation Tips and Tricks




Unity Build Tips

See Also:

Unity Tips and Tricks (Unity Coding Tips and Tricks) Part III

 In our previous article we presented different unity tips and tricks related to Unity scene organization, managmgent and inspector etc. In this article we have gather differnt coding tips and tricks form twitter.

Unity3d Coding Tips and Tricks






Unity Tips and Tricks (Scene Tips and Tricks) Part II

In our previous article, we gather and present kinds of tips and tricks from twitter but from now, we have a plan to present Unity tips and trick base on categorization (like scene, coding, editor , build etc). Therefore, in this article we are sharing with you some of the tips and tricks related to unity scene management and inspector etc. (we have repeated some of the tips from our previous post).

Scene Tips and Tricks



See Also:  Unity Tips and Tricks Part I