working without program (readCard) that requires openCV