add params.setPreviewFrameRate
1.add readme.txt
2.fixed process_input() function