Skip to main content

The Neural Spark on my brain

Its simply a result of passionate work, obsessive thoughts and enormous effors of dedication . Its simply may not possible without the love for your passion!!

The idea sparked on my mind within maybe Dec 10~20, 2018 !!

Within this small amount of time, I hae been solving enormous amount of technical and business challenges on my company!! But its technically related to the thing I work with. On my company, I have developed a computer vision based surveillance software which recognizes people by their face and vehicles by their license plate. It has been working well, but have been looking for something more challenging to explore. I was quite amazed by the capabilities of . l of Generative Adversarial Networks that can generate photo realistic visuals learning from large data. So why not it can unmask a masked face learning from facial features?

Then I have started to dig deeper.
   1. First attempt-> Unmasking with color with Black mask
    2.Unmasking Greyscale with Black mask
    3.Dual GAN, one for unmasking and another for smoothing

All of them failed terribly. The resultant face were not getting a match bellow 0.6 threshold on LFW dataset. I have been kept busy within, !!

One in a lazy afternoon after 1 day returning from the tour, I was experimenting the GAN again. This time, the dataset size was 50K approx. I quickly decided to change the colorspace that would be easy for A.I. I kept the face image greyscale, but the mask as "RED". This time the results were better, but not as much as I expected for FR. Then I accadentally realized that the surroundings of the face impacts the Generator profoundly. I quickly cropped the face to closest region and kept the RED mask upon for training with only 3K images. And then its the turn for success!!!

I was also keeping in mind for alternative options, like adding FR error to D_loss but the pytorch seems difficult for me right now. I have generated preety realistic face of myself and tommy. Then I have SR ed it and put it on WC for mass level recognition>> It was a huge success with a match < 0.6. The 1:N matching was realistic with > 78% accuracy.

Then I have dared to do it in reverse, that means RT Face unmusing. The pipeline was already been clumsy, but who dares to give birth to your brainchild??

I have attempted it on 14 Feb, went so far but the image preprocessing pipeine stucked me on head.I am banned on StackOverflow and tereby couldn't ask questions. Then Ive moved to Opencv for all the preprocessing that was needed for seperate bash script execution. But I was disheartened to learn that OpenCv color to greyscal coluldn't latr add color channel!!

Today when I awas in office, I have successfully automated the boot sequence of the JT Server after months after months of trial. The success ignited me by inspiring for a new light of perseverence!!

During my return to home Uber on Bike, I was thinking that what if I convert the greyscale to BGR back and then apply the RED mask? I rushed to home and immediately sitted on my pc for tuning the thing and YES, it worked

The execution of pytorch inside qt also took a lot of patience, but I was keeping a laser focus to the ray of light on the other side of the tunnel I hae been digging for months!! And when I have switched to python 3 and better QPRocess exec API reference, the code worked like a charm.

So with adequate light, the AI can now successfully Unmask and recognize HUman face !!! PROVED!! My curiosity bloomed with knowledge. That was the most recent eureka moment in quite some time.

A Successful day after multiple succeessful days !! Rocket can go high, but imaginations go higher!!

Comments

Popular posts from this blog

Virtual Immortality

We all know the immense pain of losing someone close to our heart to death. When the dead person also remains our Facebook friend, its hard to admit that they won’t replay back to them anymore. What if people could chat with the dead person on his/her “Remembering” page to better know about their values & interests? It might sound fancy, but technological revolutions enable us to make fictions into reality. The idea of “Virtual Self” isn’t very new, but the implementation would be significant. “Virtual Self” is a Deep Learning based technology which can replicate someones reply if trained on his/her chat history on social medias, specially Facebook. We have created a Character level language model with deep neural network which could be trained with anyones Facebook data, specifically chat history. After some parametric optimization, the language model works pretty well creating “reply message” to user queries by itself. The “Virtual Self” model could be furt...

No one remain hidden

You must have known that the first major legal challenge in the UK over police use of automated facialrecognition surveillance has begun in Cardiff just yesterday. In other side, police in London conducted a public street trial with facial recognition cameras. A man who covered his face as he walked by the cameras was stopped by officers, forced to submit to being photographed, and then arrested on a charge of public disorder after complaining loudly. In US, opposition to Amazon's sale of its facial recognition technology to US police forces is set to come to a head at its annual general meeting on Wednesday. San Francisco , long at the heart of the technology revolution, took a stand against potential abuse on Tuesday by banning the use offacial recognition software by the police and other agencies. We can really see that the mass facial recognition technologies  are facing serious controversies as opposed to China, where social credit system relies on facial recogni...

What I've felt, what I've known!!

Abu Anas Ibn Samad has been graduated in Mechanical Engineering from Bangladesh University of Engineering and Technology. The founder and CEO of the startup is Abu Anas Ibn Samad, an expert in Mechatronics, Robotics and Artificial Intelligence investing his skills and experience on developing such high end product. He has been developed numerous projects from and outside academic curriculum during his undergraduate years. He has been participated on IRC Techfest 2013, the most enigmatic Robotics competition in South Asia as a team leader. He has some deep research experiences in applying machine learning in automotive industry with publications on renowned conferences and journals. During his undergraduate years, he had a technical paper published on the SAE 2015 World Congress and Exhibition, the most prestigious Automotive conference in the World. Moreover, for his undergraduate thesis paper, he was recognized as a Highly Commended entrant on the Undergraduate Awards 2015 which is t...