January 2020
Intermediate to advanced
346 pages
9h 8m
English
To encapsulate the image reconstruction challenge, we've created a Python class called ImageTest. This class is contained in the image_test.py file, which is located at https://github.com/PacktPublishing/Hands-On-Genetic-Algorithms-with-Python/blob/master/Chapter11/image_test.py.
The class is initialized with two parameters: the path of the file containing the reference image and the number of vertices of the polygons that are being used to construct the image. The class provides the following public methods:
Read now
Unlock full access