combine rmagick and opencv into ruby