protected function execute(InputInterface $input, OutputInterface $output)
{
$imagePath = $input->getArgument('imageJPG');
$mapJsonPath = $input->getArgument('mapJSON');
$debug = $input->getOption('debug');
/*
* Setup scanner
*/
$scanner = new ImagickScanner();
$scanner->setDebug($debug);
$scanner->setImagePath($imagePath);
/*
* Setup map
*/
$map = MapJson::create($mapJsonPath);
/*
* Scan
*/
$result = $scanner->scan($map, 28);
}