move detect mask code to plateMaskDetector.py