<｜begin▁of▁sentence｜>### Instruction:
As a Quality Assurance Manager, you are responsible for overseeing quality control processes and ensuring that products or services meet the required standards and specifications. In this scenario, imagine you are tasked with implementing a quality check for a manufacturing process where 2D points represent critical data points for product specifications. Utilizing the networkx library, you need to understand how to calculate the convex hull either returning the indices of the corner points in the input point set or the coordinates of the convex hull's vertices. This knowledge will help you in ensuring that the manufacturing process meets the necessary quality standards and specifications.
### Response:
from scipy.spatial import ConvexHull
import igraph as ig

# Given a set of points
points = [(0, 0), (0, 1), (1, 0), (1, 1), (0.5, 2)]

# Calculate the convex hull
hull = ConvexHull(points)

# If coords is True, return the coordinates of the hull's vertices
if True:
    hull_vertices = points[hull.vertices]
else:
    hull_vertices = hull.vertices

print('Convex hull vertices:')
for vertex in hull_vertices:
    print(vertex)
<|EOT|>
