Переворачивание изображения для получения зеркального эффекта ⇐ C++
-
Anonymous
Переворачивание изображения для получения зеркального эффекта
I am working on a video processing project which needs some flipping of frame. I tried using cvFlip but doesnt seem to flip along y axis (x axis working...) and results in segmentation fault. Is there any other option??
cv::Mat dst=src; //src= source image from cam cv::flip(dst, dst, 1); //segmentation fault shown imshow("flipped",dst);
Источник: https://stackoverflow.com/questions/149 ... ror-effect
I am working on a video processing project which needs some flipping of frame. I tried using cvFlip but doesnt seem to flip along y axis (x axis working...) and results in segmentation fault. Is there any other option??
cv::Mat dst=src; //src= source image from cam cv::flip(dst, dst, 1); //segmentation fault shown imshow("flipped",dst);
Источник: https://stackoverflow.com/questions/149 ... ror-effect
Мобильная версия