python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Inconsistent results for nppi and cv::cvtColor
When I run nppi and cv::cvtColor for color conversion, I get different results.
// *data_ptr = 1, 1, 1, 1
cv::Mat image1(1, 2, CV_8UC2, data_ptr, 2*2);
cv::Mat image2;
cv::cvtColor(image1, image2, cv...
t9UhoI
Votes: 0
Answers: 1
How can I properly use nppiYUV422ToRGB_8u_C2C3R()?
I am trying to convert a YUV422 image into RGB image using CPU and GPU.
[On CPU] I tried using cv::cvtColor() as shown below:
cv::cvtColor(mat_UYVY, mat_bgr, cv::COLOR_YUV2BGR_UYVY);
And it works fin...
Jumogehn
Votes: 0
Answers: 1
Scale AVFrame by AV_PIX_FMT_CUDA format on GPU memory using FFMPEG
I've even tried the av_hwframe_transfer_data, transferring the hardware-decoded frame to RAM and got another frame format AV_PIX_FMT_NV12 but still the sws_scale can't resize it, saying the hardware p...
hameed abbasi
Votes: 0
Answers: 0