Daniel Leightley

A blog by Daniel Leightley PhD, a researcher based in the United Kingdom with interests in computer vision, machine learning, big data little data and deep learning.

Face and Eye Detection with Python - Static Image

Detecting the face and eyes of a static image in the frontal plane is a straightforward Computer Vision task. We are able to use the pre-trained cascade models which come with OpenCV; these are based on trained Haar features. I wanted to provide a copy of the syntax I use. Whenever I approach a problem, I always use a basic syntax first, as a baseline comparison. In this post, I will detail how to identify any face and/or eyes using Python and OpenCV using static images. I will make a follow-up blog post for how to identify face and eyes using a web camera in real-time. It is very important that you have both setup on your system, otherwise...

Using MEAN - Choosing the stack for InDEx

Identifying the role that technology plays now and in the future is crucial. We should always seek to future-proof our developments to ensure they remain relevant in the short/medium term. We are at the start of the InDEx project project; where we are mindful of selecting the most suitable technology platform to take us into the future. One of the first decisions we have to make is: which full-stack (otherwise development/production environment) should develop with. For the uninitiated, the term full-stack means working with all the layers from the back-end to the front-end technologies. For many years, the standard environment was referred to as the LAMP and it primarily involved Linux, Apache, MySQL and PHP or Perl or...

InDEx App: A Medical Research Council Funded Project

Information about Drinking for EX-serving personnel (InDEx) InDEx is a project funded by the Medical Research Council to develop an effective electronic alcohol intervention delivered via a hybrid app. The aim is to help people leaving the Armed Forces to lower their alcohol consumption. This is done by sending user-level personalised messages via email, SMS and push-notifications. In addition, the app provides support for the user during the intervention. The InDEx app is being developed at the King's Centre for Military Health Research (KCMHR), and the project is led by Dr Laura Goodwin. The project website is now live at https://www.index-app.org and we hope to be updating the website as the project progresses. Aim and Scope It...

Journal of Biomedical and Health Informatics - Paper Accepted and Published

Great news, my first ever journal paper has been accepted to appear in the Journal of Biomedical and Health Informatics (J-BHI). I am over the moon and very pleased. The paper is the culmination of my PhD, bringing together motion capture, 3D feature representation, big data, little data and machine learning. J-BHI was choosen for submission as its aims and objectives fitted well with our work. The paper focuses on quantification of human motion to support clinicians in the decision-making process. We proposed a framework that automatically recognises and evaluates human mobility impairments using a depth sensor. The framework is composed of two parts. Firstly, it recognises motions, such as sit-to-stand or walking 4 metres, using feature representation techniques and...

Its a new layout and a new blog

I have had this website up and running for more than 5 years. In that time more than 50,000+ unique visitors have landed on the site (according to Google Analytics). However, it was time for a change, time to be more transparent, discuss my work and research. You are now reading this blog on a new platform, with weekly (time permitting) content being published detailing my research, presenting code and general research ramblings. My first blog post accompanying this website will explain why I made the choice to use Ghost, the design and other technical aspects (like https and CloudFlare). I'd love any feedback you may have on any aspect of this post, the site and its general usability....