FutureLearn uses cookies to enhance your experience of the website. All but strictly necessary cookies are currently disabled for this browser. Turn on JavaScript to exercise your cookie preferences for all non-essential cookies. You can read FutureLearn's Cookie policy here.
This practical shows how to pre-process (by reshaping) a batch of images, then extract feature information in the form of HOG features.
All the instructions are in the attached pdf in the Downloads section below.
We would encourage you to type the code in as you follow the practical through, to get in the practice of writing your own code.
However, if you want it, the sample script practical2.py containg all the code used in the practical can be downloaded from our Github repository at https://github.com/LAR/PhenoDataCampp/tree/main/MachineLearning.
Please let us know how you get on in the comments below.
Create an account to receive our newsletter, course recommendations and promotions.