Featured

Real Time Face Emotion Detection Using Deep Learning

I have tested this project which use convolutional neural networks to recognise 7 emotions - angry, disgusted, fearful, happy, neutral, sad and surprised. Algorithm: The haar cascade method is used to detect faces in each frame of the webcam feed.The region of image containing the face is resized to 48x48 and is passed as input to the CNN.The network …

Continue reading Real Time Face Emotion Detection Using Deep Learning

Real Time Face Detection in Python

Hi, recently I have tried to do face detection using python with OpenCV and Dlib. I have use A guide to Face Detection in Python's article's code to test it out. Started from from installing the OpenCV library and Dlib toolkit. Below code example is based on Haar Cascade classifier and CNN (Convolutional Neural Network). …

Continue reading Real Time Face Detection in Python

Sorting An Array of Objects

Example to sort array below using name property: Below will be the methods to sort Asc/ Desc: To call the method:

Querying a stylized list with dynatable

 Example to query a table for a certain value: query from dynamic generated drop down list from the array of objects. var dyna = $j('#serverDetails') .dynatable({ dataset: { records: window.xData, //array of objects perPageDefault: 20 }, features: { paginate: true, sort: true, pushState: false, //must be false if not got error search: false, recordCount: true, …

Continue reading Querying a stylized list with dynatable

How to convert an array of key-value tuples into an object

An array of many sub arrays. Converting each sub array into an object:

Designing Table and Data For Folder Structure To Be Use On User Interface

I need to design a web page where it involve tree structure/ directory structure, each folder / file will be a record. So what will be the best way to query what I needed? Below have a solution which is quite useful.   Requirement will be like this: > categoryA [dir] > hostA [dir] > …

Continue reading Designing Table and Data For Folder Structure To Be Use On User Interface

Distinct an array of objects using JavaScript

I have an array of objects where I wanted make a list of array which is unique while at the same time adding different values to sub property into the distinct object. Example below is an array of a mixture of folders and files, together with it are it details include used size, access users …

Continue reading Distinct an array of objects using JavaScript