Are you over 18 and want to see adult content?
More Annotations
![A complete backup of enterprisebanking.com](https://www.archivebay.com/archive2/c748fb32-5c10-4c92-9fd6-3bbd2571461a.png)
A complete backup of enterprisebanking.com
Are you over 18 and want to see adult content?
![A complete backup of thedinnerdetective.com](https://www.archivebay.com/archive2/fe9d5adc-39d8-4d7c-b5bf-2a84d532a1df.png)
A complete backup of thedinnerdetective.com
Are you over 18 and want to see adult content?
![A complete backup of sasquatchchronicles.com](https://www.archivebay.com/archive2/fa0adb2c-f637-4dcf-9841-23f9712ddec6.png)
A complete backup of sasquatchchronicles.com
Are you over 18 and want to see adult content?
![A complete backup of aeroportoditorino.it](https://www.archivebay.com/archive2/c890e171-5aa8-4fb9-b3dc-25372c3b6697.png)
A complete backup of aeroportoditorino.it
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of https://notredamedeparis.fr](https://www.archivebay.com/archive6/images/c81d8618-8c54-4341-a397-cc570fb68e37.png)
A complete backup of https://notredamedeparis.fr
Are you over 18 and want to see adult content?
![A complete backup of https://zicht.nl](https://www.archivebay.com/archive6/images/a2f8cc70-7c9f-4b42-b0d8-f6f0dee64847.png)
A complete backup of https://zicht.nl
Are you over 18 and want to see adult content?
![A complete backup of https://ikonen.tk](https://www.archivebay.com/archive6/images/c172d212-a086-4dff-8422-00736558b258.png)
A complete backup of https://ikonen.tk
Are you over 18 and want to see adult content?
![A complete backup of https://krutoyoblom.com](https://www.archivebay.com/archive6/images/55dea67b-43de-4444-9adf-5db834d3fd9b.png)
A complete backup of https://krutoyoblom.com
Are you over 18 and want to see adult content?
![A complete backup of https://themoneycharity.org.uk](https://www.archivebay.com/archive6/images/34b3e9ac-e568-476d-8f25-ce615baa071e.png)
A complete backup of https://themoneycharity.org.uk
Are you over 18 and want to see adult content?
![A complete backup of https://deepelm.com](https://www.archivebay.com/archive6/images/2d24ac9c-aa9e-4dfe-9b36-e49d79974b94.png)
A complete backup of https://deepelm.com
Are you over 18 and want to see adult content?
![A complete backup of https://aaatowing.com](https://www.archivebay.com/archive6/images/6aad7321-5c4d-4abf-a23a-5e7da1134762.png)
A complete backup of https://aaatowing.com
Are you over 18 and want to see adult content?
![A complete backup of https://minobrnauki.gov.ru](https://www.archivebay.com/archive6/images/09f2cea2-f6f2-41a6-8943-d5a9a38ed094.png)
A complete backup of https://minobrnauki.gov.ru
Are you over 18 and want to see adult content?
![A complete backup of https://4programmers.net](https://www.archivebay.com/archive6/images/3c360ee2-c74e-4528-8e14-6988ff848c66.png)
A complete backup of https://4programmers.net
Are you over 18 and want to see adult content?
![A complete backup of https://south-insight.com](https://www.archivebay.com/archive6/images/b54ab719-262a-47fa-af16-2094e402605e.png)
A complete backup of https://south-insight.com
Are you over 18 and want to see adult content?
![A complete backup of https://metroparks.net](https://www.archivebay.com/archive6/images/10311085-6d56-4836-a279-789c2a5f04e9.png)
A complete backup of https://metroparks.net
Are you over 18 and want to see adult content?
![A complete backup of https://wildflowerbread.com](https://www.archivebay.com/archive6/images/103f1d75-74a1-46a7-8072-117a70124697.png)
A complete backup of https://wildflowerbread.com
Are you over 18 and want to see adult content?
Text
axis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input MAPPING A DISK TO A SQUARE In this post, we've seen how to discretize an arbitrary rectangle using a nonlinear mapping method based on the roots of unity. There are many other mapping methods that can accomplish this task, but we've focused on this one as it is really simple to implement. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input MAPPING A DISK TO A SQUARE In this post, we've seen how to discretize an arbitrary rectangle using a nonlinear mapping method based on the roots of unity. There are many other mapping methods that can accomplish this task, but we've focused on this one as it is really simple to implement. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input MAPPING A DISK TO A SQUARE In this post, we've seen how to discretize an arbitrary rectangle using a nonlinear mapping method based on the roots of unity. There are many other mapping methods that can accomplish this task, but we've focused on this one as it is really simple to implement. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. RAY TRACING WITH NUMPY AND AUTOGRAD Ray tracing is a tool used in many physics discipline since high frequency waves can accurately be approximated by rays. Typical applications include 3D rendering (think povray), lens design or acoustic wave simulation (which is what I do professionally).To trace rays, you usually start with a source and follow reflexions and refractions until some the end of the tracing (exiting the scene OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input MAPPING A DISK TO A SQUARE In this post, we've seen how to discretize an arbitrary rectangle using a nonlinear mapping method based on the roots of unity. There are many other mapping methods that can accomplish this task, but we've focused on this one as it is really simple to implement. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to try pitch extraction (to tune my guitar, for example).In that context, I've encountered the cepstrum representation. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB The API documentation states that to connect sankey diagrams together, we need to provide the following arguments: prior which is an index of the prior diagram to which this diagram should be connected; connect which is a (prior, this) tuple indexing the flow of the prior diagram and the flow of this diagram which should be connected; Basically prior is the zero based index of the previous UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN The faces dataset consist of 400 images depicting 40 subjects in a variety of poses: open and closed eyes, smiling or not. The data can be accessed trough the keys below: ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING Using this figure, we can appreciate the two main properties of filtering windows: the main lobe width, which is the location where the mainlobe ends and "dives down MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON In this post, we'll have a look at stereograms, in particular autostereograms.. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to try pitch extraction (to tune my guitar, for example).In that context, I've encountered the cepstrum representation. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB The API documentation states that to connect sankey diagrams together, we need to provide the following arguments: prior which is an index of the prior diagram to which this diagram should be connected; connect which is a (prior, this) tuple indexing the flow of the prior diagram and the flow of this diagram which should be connected; Basically prior is the zero based index of the previous UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN The faces dataset consist of 400 images depicting 40 subjects in a variety of poses: open and closed eyes, smiling or not. The data can be accessed trough the keys below: ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING Using this figure, we can appreciate the two main properties of filtering windows: the main lobe width, which is the location where the mainlobe ends and "dives down MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON In this post, we'll have a look at stereograms, in particular autostereograms.. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN The faces dataset consist of 400 images depicting 40 subjects in a variety of poses: open and closed eyes, smiling or not. The data can be accessed trough the keys below: SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF.The problem to be solved is that of a wave propagating on a string, just like in the case of aguitar.
WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA When working with images, the discrete Laplacian operator is often used for edge detection.. Intuitively, if you want to find the edges of an image, you compute the Laplacian and threshold it A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION Now on to the machine learning part. Let's build a Keras model with our data. Actually, before we do that, let's do some preprocessing first, using the scikit-learn pipelines (inspired by this great post on scalable Machine Learning by Tom Augspurger).. The idea behind pipelining is that it allows you to easily keep track of the data transformations applied to our data. CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC In the wake of the first week of the course about plasma physics, we will use some simple integrations to plot different trajectories of charged particles in magnetic and electric fields. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION In this post, I would like to discuss something that struck me a couple of months ago: why doesn't Python have a builtin argmax function? The argmax points of a function are the ones that maximize the value of the function over a given domain. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input MAPPING A DISK TO A SQUARE In this post, we've seen how to discretize an arbitrary rectangle using a nonlinear mapping method based on the roots of unity. There are many other mapping methods that can accomplish this task, but we've focused on this one as it is really simple to implement. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
CHARGED PARTICLE TRAJECTORIES IN ELECTRIC AND MAGNETIC The equation of motion for a charged particle in a magnetic field is as follows: d v → d t = q m ( v → × B →) We choose to put the particle in a field that is written. B → = B e x →. We thus expect the particle to rotate in the ( y, z) plane while moving along the xaxis. Let's
WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
SOLVING THE HEAT EQUATION LIKE IN HARVARD'S COOK MY MEAT Two years ago, I've had the pleasure to take a Harvard class entitled Science & Cooking: From Haute Cuisine to Soft Matter Science (part 1) on edx, a MOOC platform.. This has lead me to do some fun kitchen science, in particular trying to cook an egg using math formulas (spoiler: I was not successful).. One of the tools introduced by the class is the Cook my Meat App. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. RAY TRACING WITH NUMPY AND AUTOGRAD Ray tracing is a tool used in many physics discipline since high frequency waves can accurately be approximated by rays. Typical applications include 3D rendering (think povray), lens design or acoustic wave simulation (which is what I do professionally).To trace rays, you usually start with a source and follow reflexions and refractions until some the end of the tracing (exiting the scene OPTIMIZING YOUR CODE WITH NUMPY, CYTHON, PYTHRAN AND NUMBA The key is to eliminate interaction with Python through different ways. A first one is to declare our input image is an array. %%cython -a import numpy as np cimport numpy as cnp def laplace_cython(cnp.ndarray image): """Applies Laplace operator to 2D image, then tresholds the result and returns boolean image. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. HOW TO CREATE A GAME BOY SOUND IN PYTHON? In this post, we're gonna do the following: first, we investigate the unit sounds the Game Boy is capable of producing; we then move on to applying what we have learned to the synthesis of simple melodies, using the well-known "Nokia composer" format as our input WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. OPTIMIZING A FUNCTION WITH CYTHON, COMPLEX NUMBERS AND Last week, I had the pleasure to dive deep into the Cython world in order to solve a physics problem involving complex numbers. This post describes some of the things I've learnt concerning Cython, complex numbers and parallelization. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. UNDERSTANDING THE KARPLUS-STRONG WITH PYTHON (SYNTHETIC The Karplus-Strong algorithm, named after its two creators, was originally published in 1983 as the following paper (full paper here):Karplus, Kevin, and Alex Strong. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. MAKING YOUR OWN AUTOSTEREOGRAMS USING PYTHON Making Your Own Autostereograms using Python. In this post, we'll have a look at stereograms, in particular autostereograms. This post will introduce two methods of creating illusions of depth. The first one consists of using a pattern and shifting it repeatedly along the horizontal axis. The second one uses a depth map and a pattern andshifts
A SHORT TUTORIAL ON CEPSTRAL ANALYSIS FOR PITCH-TRACKING A Short Tutorial on Cepstral Analysis for Pitch-tracking. In this blog post, I'm going to write a short tutorial on cepstrum processing for pitch extraction. For context, I'm currently working on a side-project that involves spectrograms, so I'm naturally wanting to ON THE USE OF WINDOWS IN DIGITAL SIGNAL PROCESSING On the use of windows in digital signal processing. Thu, 29 Oct 2015. Digital Signal Processing Music MOOC Fourier Transform. I'm currently following a class on signal processing applied to audio on Coursera. It's awesome and I learned quite a number of things in it. In particular, I realized how important analysis windows are when workingwith
SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the IMPLEMENTING THE K-MEANS ALGORITHM WITH NUMPY Implementing the k-means algorithm with numpy. Fri, 17 Jul 2015. Mathematics Machine Learning. In this post, we'll produce an animation of the k-means algorithm. The k-means algorithm is a very useful clustering tool. It allows you to cluster your data into a given number of categories. WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument.GITHUB PAGES
Introduction to Bayes's theorem in times of the Coronavirus. Wed, 24 Jun 2020. In these times of Coronavirus, I've been bit by the Bayes's bug. This post is meant as a short introduction to Bayes's theorem using several examples. It closes with an application taken from Allen Downey's book Think Bayes, the audience problem. UNDERSTANDING BRANCH CUTS IN THE COMPLEX PLANE What we see in the above plot is that our square root has a discontinuitiy along the real negative line. This is due to the choice of the argument as explained in the previous section and is what is properly called the branch cut of this function.. However, now that we know where this comes from, we can choose to introduce this discontinuity at other locations. A TUTORIAL ABOUT DRAWING SANKEY GRAPHICS USING MATPLOTLIB In this section, we first import the necessary matplotlib tools. In : # import matplotlib %matplotlib inline import matplotlib.pyplot as plt from matplotlib.sankey import Sankey. We now build a Sankey with an input flow and an output flow of 1. The flows are specified with the flows argument, while labels are provided using labels. SMILE RECOGNITION USING OPENCV AND SCIKIT-LEARN Smile Recognition Using OpenCV and scikit-learn. Wed, 07 Jan 2015. Machine Learning OpenCV. In this post, we're going to dab a little bit in machine learning and face recognition to predict if an image from a live webcam shows a smiling subject or not. First, we will use an existing dataset, called the "Olivetti faces dataset" and classify the TESTING THE HUMAN RANDOM NUMBER GENERATOR ALGORITHM I came across the "Human RNG" blog post today. Its author analyzes the distribution of random numbers given by 8500 students and proposes the following algorithm for generating approximately random numbers when querying humans for random numbers: - Ask a person for a random number, n1. - n1=1,2,3,4,6,9, or 10: - Your random number is n1 - Ifn1
SIMULATING A 1D WAVE ON A STRING USING FINITE DIFFERENCES Simulating a 1D Wave on a String Using Finite Differences. The goal of this notebook is to implement a simple 1D wave propagation simulation, as explained by Hans-Petter Langtangen in his class INF5620 and more precisely in this PDF. The problem to be solved is that of a wave propagating on a string, just like in the case of a guitar. WHAT WOULD MAXWELL PLOT? (A REPLICATION WITH MATPLOTLIB What would Maxwell plot? (a replication with matplotlib) In this post, we investigate the static electric field defined by a set of discrete particles. We go on to try and reproduce a famous graph originally published by James Maxwell, the famous 19th century physicist, usingmatplotlib.
WHY PYTHON IS MISSING A BUILT-IN ARGMAX FUNCTION So, to wrap this article up: there is an argmax function builtin with Python, but it doesn't say it's true name. you can use it with the key optional argument. the likely reason this is so is that it makes it very close in functionality to the list.sort function, that also accepts an optional key argument. A CONVOLUTIONAL NEURAL NETWORK FOR FACE KEYPOINT DETECTION A Convolutional Neural Network for Face Keypoint Detection. Yesterday, I read this recent article on medium about facial keypoint detection. The article suggests that deep learning methods can easily be used to perform this task. It ends by suggesting that everyone should try it, since the data needed and the toolkits are all open source. REMOVING THE BACKGROUND FROM AN IMAGE USING SCIKIT-IMAGE In this notebook, we're going to discuss a problem that can be encountered with images: removing the background of an image. Our study will focus on the image presented in this stackoverflow question.We'll use scikit-image to remove the background of thefollowing image:
Frolian's blog
* About
* Archive
TESTING THE HUMAN RANDOM NUMBER GENERATOR ALGORITHMWed, 03 Jul 2019
In this short article, we examine if the algorithm for random number generation with human input proposed by another blogger works asadvertised.
Read more →
Mathematics
Probability
SOLVING THE TENSIONED STRING EQUATION IN TIME DOMAIN AND FREQUENCYDOMAIN
Thu, 28 Mar 2019
In this blog post, we will look at the tensioned string equation and solve it using two different mathematical methods, both widely used in the industry: a time-domain finite differences as well as a frequency-domain modal solution.Read more →
Waves Physics
Numerical Physics
Animations
MOOC
SCRIPTING ANKI USING ITS API TO LIST JAPANESE KANJISat, 23 Mar 2019
In this blog post, I use the Anki API to script my Anki flashcards database and extract a list of Japanese vocabulary words associated to the kanji I have learned.Read more →
Anki Japanese
ANKI AND THE MOOC FUNDAMENTALS OF WAVES AND VIBRATIONSWed, 06 Mar 2019
I recently finished a MOOC called Fundamentals of waves and vibrations, from Ecole Polytechnique. It was the first time I combined a MOOC with Anki, a well-known flashcard applications. In this post, I'll try to say what I liked about this experience, as well as aboutthe course.
Read more →
MOOC Coursera
HARMONIC WAVES, STANDING WAVES AND GROUP VELOCITYMon, 04 Feb 2019
In this post, we examine standing waves as well as propagation in dispersive media using harmonic waves.Read more →
Waves Physics
Animations
MONOPOLES, DIPOLES AND QUADRUPOLE ANIMATIONSTue, 29 Jan 2019
In this post, we animate well known sound sources: monopole, dipoleand quadrupole.
Read more →
Animations Waves
Complex Numbers
UN GÉNÉRATEUR DE MOT DE PASSE DANS LE STYLE D'XKCD27/01/2019
Un petit outil de génération de mot de passe inspiré d'XKCD et adapté à la langue française.Read more →
XKCD Langue française PLOTTING THE WORLD OIL RESERVESWed, 02 Jan 2019
In this blog post, we're using data from Wikipedia to reason about the world oil reserves. We then apply the Hubbert model to predict world oil dynamics (in a very unaccurate way!).Read more →
Oil Dataviz
Web Scraping
RAY LENS INTERACTIONS IN OPTICSMon, 23 Apr 2018
Since I'm now learning photography, I've been reading and researching optics foundations. In this post, I'll do a bit of computations and ray tracing for a spherical lens.Read more →
Optics Physics
PREPARING FOR THE 2018 GOOGLE HASHCODE (THE PIZZA PROBLEM)Wed, 07 Feb 2018
In this blog post, we tackle the training problem for the 2018 Hashcode programming competition, which is about cutting pizza. We implement a solution using a greedy algorithm and optimize it to runfast using Pythran.
Read more →
Programming
Hashcode Fast Python← Past
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0