From c79a4b8dc798fd79c1b9b7212e1e7f6118035d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20BUSSIERE?= Date: Sun, 19 Feb 2023 19:35:14 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4808aba..231408b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This project has an objective of determine the heartrate of a person by analysing a 1 minute long video taken by a computer camera. -##FIRST STEP - Get the video +##FIRST STEP - Get the video## To get the video, we need a normal camera ( like a laptop camera ) and record a ~1min long video of ourselves, in this case : Rémi. Then, we use the ffmpeg package* to convert this video into a 15fps, 640x480 video. @@ -11,7 +11,7 @@ Then, we use the ffmpeg package* to convert this video into a 15fps, 640x480 vid -##SECOND STEP - Get the ROI position +##SECOND STEP - Get the ROI position## The ROI ( Region of interest ) is important here because we only need the average color of the person's head, the surrounding is considerate here as noise. @@ -24,7 +24,7 @@ The haarcascades is a pre-train model of machine learning developped for OpenCV -##THIRD STEP - Calculate the average color +##THIRD STEP - Calculate the average color## Then, we have the coordinates, and we compute the average between each red composents of each pixel inside the square, and we repeat it for blue and green. Then, we have as an output one color/frame.