Adds cropping to detection square for QR and integrates QR based square detection into analyzer.analysisE