Crop mode: controled by 'crop_flag', default is True; For Large input image size, crop Face ROI firstly
Caculating the IN-Polygon Pixels is time consuming for large image size.
ESC - exit, crop selected Rectangular region and enter into Segmentation mode
Segmentation mode:
a - switch to Green Brush, adding new Face region
r - switch to Red Brush, removing region
ESC - exit and save
Left button down and hold: Drawing(Segmentation mode) or Create Rectangular box(Crop mode)
Left button up(Release): Finish a bounding box selection(Crop mode, you can re-draw a box just by press and hold Left button again); Finish selecting a region, calculating the selected pixel area.