Skip to main content

All Questions

Tagged with
0 votes
1 answer
61 views

What is the best way to draw an CV_8UC1 matrix image with Cairo?

I have a matrix image in the format CV_8UC1, i.e. one byte per pixel of monochrome image data. I need to draw this matrix image using Cairo, i.e. to a Gtk drawing area. Speed is critical, as this ...
user2062604's user avatar
0 votes
0 answers
35 views

cvSaveImage compilation error on C OpenCV 3.4.20

Hello I try to get into OpenCV for my project. I download the version 3.4.20 that includes the deprecated C headers because my code is on C. #include<stdio.h> #include "opencv/opencv/...
Валентин Д.'s user avatar
0 votes
0 answers
38 views

How to successfully introduce OpenCV when compiling a C project with Clion

I configured OpenCV through Cmake in Clion, but "error core.hpp header must be compiled as C++" occurred when building and compiling. This problem is in vs2022. I know how to deal with it. ...
Jiang's user avatar
  • 1
1 vote
0 answers
67 views

How do i access pixel values of frames in deepstream pipeline

I am using probe to get data to a custom function and I need to access pixel value of the frames. I am trying to average video frames. How do I access it? gst_pad_add_probe (osd_sink_pad, ...
Pratham's user avatar
  • 11
0 votes
0 answers
46 views

OpenCV-dnn make fails: 'calling a __device__ function("operator float") from a __host__ function("clipped_relu_eltwise_sum_2_inplace") is not allowed'

I am following these instructions to build open-cv with GPU support: https://techzizou.com/setup-opencv-dnn-cuda-module-for-linux/ My build command is cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
sixtytrees's user avatar
  • 1,211
1 vote
2 answers
952 views

Using opencv in the zig, error: lld-link: undefined symbol: cv::imread

I’m trying to use opencv withing the zig programming language, I tried to follow what I read on this stackoverflow post to use the opencv c++ library in the zig language, I created a opencv_binding.h ...
Mhhany's user avatar
  • 301
0 votes
0 answers
53 views

Send video stream from a webcam to a websocket in C

I'm trying to send the video stream from my webcam to a websocket in C. I've already etablish the websocket, but the video capture doen't work. I'm trying to use mutex, but I get error during ...
Baekeland's user avatar
1 vote
0 answers
198 views

Opencv calls the onnx model and reports an exception

I use yolov5 to train a data set myself, and then get an error through opencv: C:\Users\admin\.conda\envs\yolov5\python.exe D:\Demo\yolov5\test_onnx.py [ERROR:[email protected]] global onnx_importer.cpp:1054 ...
user21499510's user avatar
1 vote
0 answers
818 views

How to compile project with qcc

I'm on Ubuntu 20.4.6, I try to compile OpenCV using the qcc QNX compiler. In OpenCV build from source instructions they use the following command to generate their build files: cmake -...
Gal Hadar's user avatar
0 votes
0 answers
69 views

smoothening image boundaries for NxN kernel size

In my open source project ( https://github.com/mmj-the-fighter/GraphicsLabFramework ) i am trying to add a image smoothening box filter for NxN kernel size. I have already implemented the algorithm ...
mmj's user avatar
  • 139
0 votes
1 answer
291 views

how to compile c file using gcc and compile hpp using g++ in one project

I have C project needs to link opencv library, the c code must compile with gcc, if I compile the project using gcc then it report errors that opencv hpp header file must be compiled as C++. so, any ...
luer L's user avatar
  • 1
0 votes
1 answer
3k views

How to use Opencv in C ( Gcc )

Hi. my problme is in the Opencv Library how can i use the Opencv Module in C coding Language ? Is this library for Python , C# and C++ only? can I use it in C ? how can i downloaded it for C language ...
Mahdi Hosseini's user avatar
0 votes
0 answers
754 views

Output image data from HDMI port using C/C++/opencv on a windows 10 PC

I am working with a DMD (digital micromirror array) device Provided from TI (DLP3010EVM-LC). It is basically a projector that can be controlled through USB and HDMI. The HDMI is used to input external ...
b. ahmad's user avatar
0 votes
1 answer
415 views

C Win32 API display Opencv Image cv::Mat + Resizing, results in distorted, wrong colored images

So I've been looking for some simple code, on how I can display opencv images in a windows window, without using extra libraries. Most solutions that I have found use the StretchDIBits() method of the ...
Ambadrant's user avatar
1 vote
0 answers
153 views

How to catch ffmpeg stream with OpenCV C API?

I would like to read an ffmpeg stream from OpenCV C API. The streamer I want to catch is generate using ffmpeg -f avfoundation -i "1" -pix_fmt uyvy422 -f mpegts udp://192.168.1.110:5000 I ...
Phil's user avatar
  • 115

15 30 50 per page
1
2 3 4 5
87