fixed context save issue
add tests to render specified images in folder
Optimized to one detect using 2MP and 8MP boundaries