Pinned Repositories
ajisegiriganiyu.github.io
ApexTopicwiseProblems
Topicwise Problems Solved using Apex Language, to enhance the knowledge and gain expertise in Apex.
cpm-python
Data-Science-For-Beginners
10 Weeks, 20 Lessons, Data Science for All!
DevCopadoDemo
Created for Demo
Django-Project
ebikes-lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
Emotion-Detection-in-Videos
The aim of this work is to recognize the six emotions (happiness, sadness, disgust, surprise, fear and anger) based on human facial expressions extracted from videos. To achieve this, we are considering people of different ethnicity, age and gender where each one of them reacts very different when they express their emotions. We collected a data set of 149 videos that included short videos from both, females and males, expressing each of the the emotions described before. The data set was built by students and each of them recorded a video expressing all the emotions with no directions or instructions at all. Some videos included more body parts than others. In other cases, videos have objects in the background an even different light setups. We wanted this to be as general as possible with no restrictions at all, so it could be a very good indicator of our main goal. The code detect_faces.py just detects faces from the video and we saved this video in the dimension 240x320. Using this algorithm creates shaky videos. Thus we then stabilized all videos. This can be done via a code or online free stabilizers are also available. After which we used the stabilized videos and ran it through code emotion_classification_videos_faces.py. in the code we developed a method to extract features based on histogram of dense optical flows (HOF) and we used a support vector machine (SVM) classifier to tackle the recognition problem. For each video at each frame we extracted optical flows. Optical flows measure the motion relative to an observer between two frames at each point of them. Therefore, at each point in the image you will have two values that describes the vector representing the motion between the two frames: the magnitude and the angle. In our case, since videos have a resolution of 240x320, each frame will have a feature descriptor of dimensions 240x320x2. So, the final video descriptor will have a dimension of #framesx240x320x2. In order to make a video comparable to other inputs (because inputs of different length will not be comparable with each other), we need to somehow find a way to summarize the video into a single descriptor. We achieve this by calculating a histogram of the optical flows. This is, separate the extracted flows into categories and count the number of flows for each category. In more details, we split the scene into a grid of s by s bins (10 in this case) in order to record the location of each feature, and then categorized the direction of the flow as one of the 8 different motion directions considered in this problem. After this, we count for each direction the number of flows occurring in each direction bin. Finally, we end up with an s by s by 8 bins descriptor per each frame. Now, the summarizing step for each video could be the average of the histograms in each grid (average pooling method) or we could just pick the maximum value of the histograms by grid throughout all the frames on a video (max pooling For the classification process, we used support vector machine (SVM) with a non linear kernel classifier, discussed in class, to recognize the new facial expressions. We also considered a Naïve Bayes classifier, but it is widely known that svm outperforms the last method in the computer vision field. A confusion matrix can be made to plot results better.
End-to-End-ML-Project
This project is a complete end to end project with HTML, CSS, Flask and Python Code which can now be deployed to production.
Genetic_algortithm
algorithm
ajisegiriganiyu's Repositories
ajisegiriganiyu/ajisegiriganiyu.github.io
ajisegiriganiyu/ApexTopicwiseProblems
Topicwise Problems Solved using Apex Language, to enhance the knowledge and gain expertise in Apex.
ajisegiriganiyu/cpm-python
ajisegiriganiyu/Data-Science-For-Beginners
10 Weeks, 20 Lessons, Data Science for All!
ajisegiriganiyu/DevCopadoDemo
Created for Demo
ajisegiriganiyu/Django-Project
ajisegiriganiyu/ebikes-lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
ajisegiriganiyu/Emotion-Detection-in-Videos
The aim of this work is to recognize the six emotions (happiness, sadness, disgust, surprise, fear and anger) based on human facial expressions extracted from videos. To achieve this, we are considering people of different ethnicity, age and gender where each one of them reacts very different when they express their emotions. We collected a data set of 149 videos that included short videos from both, females and males, expressing each of the the emotions described before. The data set was built by students and each of them recorded a video expressing all the emotions with no directions or instructions at all. Some videos included more body parts than others. In other cases, videos have objects in the background an even different light setups. We wanted this to be as general as possible with no restrictions at all, so it could be a very good indicator of our main goal. The code detect_faces.py just detects faces from the video and we saved this video in the dimension 240x320. Using this algorithm creates shaky videos. Thus we then stabilized all videos. This can be done via a code or online free stabilizers are also available. After which we used the stabilized videos and ran it through code emotion_classification_videos_faces.py. in the code we developed a method to extract features based on histogram of dense optical flows (HOF) and we used a support vector machine (SVM) classifier to tackle the recognition problem. For each video at each frame we extracted optical flows. Optical flows measure the motion relative to an observer between two frames at each point of them. Therefore, at each point in the image you will have two values that describes the vector representing the motion between the two frames: the magnitude and the angle. In our case, since videos have a resolution of 240x320, each frame will have a feature descriptor of dimensions 240x320x2. So, the final video descriptor will have a dimension of #framesx240x320x2. In order to make a video comparable to other inputs (because inputs of different length will not be comparable with each other), we need to somehow find a way to summarize the video into a single descriptor. We achieve this by calculating a histogram of the optical flows. This is, separate the extracted flows into categories and count the number of flows for each category. In more details, we split the scene into a grid of s by s bins (10 in this case) in order to record the location of each feature, and then categorized the direction of the flow as one of the 8 different motion directions considered in this problem. After this, we count for each direction the number of flows occurring in each direction bin. Finally, we end up with an s by s by 8 bins descriptor per each frame. Now, the summarizing step for each video could be the average of the histograms in each grid (average pooling method) or we could just pick the maximum value of the histograms by grid throughout all the frames on a video (max pooling For the classification process, we used support vector machine (SVM) with a non linear kernel classifier, discussed in class, to recognize the new facial expressions. We also considered a Naïve Bayes classifier, but it is widely known that svm outperforms the last method in the computer vision field. A confusion matrix can be made to plot results better.
ajisegiriganiyu/End-to-End-ML-Project
This project is a complete end to end project with HTML, CSS, Flask and Python Code which can now be deployed to production.
ajisegiriganiyu/Genetic_algortithm
algorithm
ajisegiriganiyu/go-webapp-sample
golang, echo, gorm
ajisegiriganiyu/hello-world
greetings to people
ajisegiriganiyu/hellonode
A Hello World HTTP server in Node, with a Dockerfile and a Jenkinsfile
ajisegiriganiyu/html-css-js-website-smooth-scroll
Simple website created using HTML, CSS & Javascript with smooth scroll effect
ajisegiriganiyu/inventorymanagement
ajisegiriganiyu/linux-basics-course
ajisegiriganiyu/planets
ajisegiriganiyu/planets-leeds
ajisegiriganiyu/Presentations
Mesa presentations
ajisegiriganiyu/QR-code-component
To build out this QR code component and get it looking as close to the design as possible
ajisegiriganiyu/Script-Trigger-Solved-Problems
Solution of Apex Trigger and Script Questions
ajisegiriganiyu/Spoon-Knife
This repo is for demonstration purposes only.
ajisegiriganiyu/SuperCars-web
My favourite Supercars
ajisegiriganiyu/testing
ajisegiriganiyu/vision
Datasets, Transforms and Models specific to Computer Vision