2021-06-22 08:00:26 -0600 | received badge | ● Notable Question (source) |
2020-02-11 08:50:27 -0600 | received badge | ● Popular Question (source) |
2019-10-29 05:26:04 -0600 | received badge | ● Notable Question (source) |
2019-09-26 16:43:06 -0600 | received badge | ● Popular Question (source) |
2018-12-14 14:01:53 -0600 | received badge | ● Popular Question (source) |
2017-09-11 16:42:25 -0600 | marked best answer | C++ - Y'CbCr422 to RGB - convert from raw data file Hello, I am trying to process YCrCb data from file and convert it to RGB. The good RGB image taken from the camera is the following: while the generated image is: The data.raw file has been generated from the following gst-launch pipeline execution: while the What's wrong with my code and how can I solve this problem ? EDIT: changing the code as follows: #define DEFAULT_FRAME_Y 288 #define DEFAULT_FRAME_X 544 produces this image: which is still wrong. |
2017-09-11 10:49:24 -0600 | commented question | C++ - Y'CbCr422 to RGB - convert from raw data file Solved. After the last edited code, I must use CV_YUV2BGR_YUY2 value in cvtColor. |
2017-09-11 10:40:49 -0600 | edited question | C++ - Y'CbCr422 to RGB - convert from raw data file C++ - Y'CbCr422 to RGB - convert from raw data file Hello, I am trying to process YCrCb data from file and convert it t |
2017-09-11 09:54:04 -0600 | edited question | C++ - Y'CbCr422 to RGB - convert from raw data file C++ - Y'CbCr422 to RGB - convert from raw data file Hello, I am trying to process YCrCb data from file and convert it t |
2017-09-11 09:51:41 -0600 | asked a question | C++ - Y'CbCr422 to RGB - convert from raw data file C++ - Y'CbCr422 to RGB - convert from raw data file Hello, I am trying to process YCrCb data from file and convert it t |
2017-09-07 05:39:56 -0600 | asked a question | Doubt with OpenCV VideoCapture and gstreamer pipeline Doubt with OpenCV VideoCapture and gstreamer pipeline Hello, To make VideoCapture be able to open a gstreamer pipeline |
2017-08-29 03:58:04 -0600 | asked a question | OpenCV 3.3 - CMake cannot find ffmpeg libraries OpenCV 3.3 - CMake cannot find ffmpeg libraries I am trying to cross compile opencv libraries with FFMPEG support but Op |
2017-08-25 03:13:19 -0600 | commented question | OpenCV 3.3 - gstreamer and libva error Good to know it. I am recompiling it. Do you know if I have to use a pipeline as gstreamer ? |
2017-08-25 02:33:30 -0600 | commented question | OpenCV 3.3 - gstreamer and libva error Do you mean to try FFMPEG as an external program ? I tried and it generates the video, but I don't have enough space to store some GB of images to make a video of a bunch of MB. This is not the best solution. Perhaps using libav directly from the code leads to better results.. |
2017-08-23 11:56:12 -0600 | commented question | OpenCV 3.3 - gstreamer and libva error No. Sorry but actually I am noob with gstreamer & I don't know how to execute it (complete cmd syntax). What is the cmd I have to try ? |
2017-08-23 07:56:20 -0600 | commented question | OpenCV 3.3 - gstreamer and libva error Hello, actually |
2017-08-22 07:05:41 -0600 | asked a question | OpenCV 3.3 - gstreamer and libva error Hello, I am trying to use H264 codec using the following initialization for VideoWriter: and I run into the following exception: The video file is neither created. As I understand after googling a while, it could be an error related to the filename, but I cannot understand what's really wrong with my code.. EDIT The gstream error seems to be corrected with the following VideoWriter initialization: but now I fall into libva error: What is the correct way to initialize VideoWriter object for H264 ? |
2017-08-10 03:02:19 -0600 | asked a question | Tracking closed countours surfaces Hello, In my application I use a standard way to get contours and display on the frame, for example: But I would like to track/enumerate each enclosed countour surface. Is there already some OpenCV feature for this task ? |
2017-04-15 08:59:07 -0600 | commented question | Unable to stop the stream: Inapproriate ioctl for device - ARM Hello Steven, I tried enabling libv4l and not, but the problem persisted. I will try with ffmpeg support. Thank you. |
2017-04-13 07:54:42 -0600 | asked a question | Unable to stop the stream: Inapproriate ioctl for device - ARM Hi, I am working on Linux systems with both ARM (arm32 and arm64) and x86/x86_64 arquitectures and I am experiencing a problem while I try to open a video file (in this case is an avi file), just on ARM arch (bot 32 and 64) . Once I try to open the file, the following error is fired up: Looking into the source code, it seems a problem related to libv4l, since the error message it's executed at least from one of these files:line Since the error is fired only on ARM system (verified on Beaglebone Black and DragonBoard 410c), I understand this is a problem related with libv4l and not with opencv libs. Or maybe just the interaction with both under ARM arquitecture (perhaps some macro not properly defined ?). I don't know. Do you already know this issue ? If so, do you know a workaround for this ? Thank you. |
2017-01-18 12:39:00 -0600 | asked a question | What is the most efficient way to read the frame rate from a camera ? I need to process real time images using my laptop camera and a Logitech C270 USB, and I need to determine the frame rate. For video files the solution is very trivial, just use for cameras, seems to be not as easy. The program I am writing will run on a Linux platform and the solution I wrote and testing is this one (resumed): I implemented the initialisation timeout becuase I noticed that the camera need a frames fflush before the timeout used for frame rate. Comparing the results with VLC player, it gives 30 frames per second for the laptop camera and 25 for the USB camera. My program sometimes agrees with VLC, sometimes it doesn't, returning different results (16 for the USB camera, 31 for the laptop camera etc.). Do you know a more efficient way to read the frame rate from a video camera ? |
2017-01-17 10:46:15 -0600 | commented answer | Put two or more frames in one output window I modified the previous comment. Thank you. |
2017-01-17 10:34:37 -0600 | commented answer | Put two or more frames in one output window Yes. Problem solved for it. Thanks But, the foreground and postfgmask are shown entirely black in merged while are shown correctly in a separate |
2017-01-17 09:55:17 -0600 | commented answer | Put two or more frames in one output window Hi, thank you for your help but changing the code as suggested (of course is correct as you write) does not change the situation. Same error. |
2017-01-17 08:10:14 -0600 | asked a question | Put two or more frames in one output window I have 4 frames I would like to put all them in one window.. I am following this tutorial which should be perfect for my objective .. but my code is not working (I don't know if the code of the blogger works..). This is the code I am working on (resumed) But when I execute the program, it crashes giving this errror to the output: It seems that the error is due to frames size .. But the dimensions are quiet clear and the output window is doubled in size so it can fit 4 frames.. So how do I have to change my code to make it works ? |
2017-01-17 07:54:59 -0600 | marked best answer | what is the role of mask passed to calcHist argument ? I have a doubt regarding the calcHist function: From here I read: "Optional mask. If the matrix is not empty, it must be an 8-bit array of the same size as images[i] . The non-zero mask elements mark the array elements counted in the histogram." Is not clear to me how can be used the mask. |
2017-01-17 07:54:34 -0600 | marked best answer | Stauffer & Grimson algorithm Looking at the original paper (http://www.ai.mit.edu/projects/vsam/P...), and at this page http://docs.opencv.org/trunk/db/d5c/t..., the question is: There is already an implementation of the Stauffer & Grimson algorithm in opencv ? |
2017-01-17 07:54:18 -0600 | marked best answer | Problem setting pixel value I know this is a well known topic but for all the solutions I tried (major of them from stack overflow Q&A), I cannot set a pixel value as I want. Given this code: the pixel values are not set to one. The istruction: neither works. So how do I have to change my code to make it works ? |
2017-01-17 07:54:02 -0600 | marked best answer | Shapes processing and tracking in C++ Until now I can draw shapes from a binary image maskFrame into lastFrame as follows: which should be the standard way.. Now, I would need to track these shapes for at least two frames. If I have a shape in frame(n), I would like to know if this shape is also present in frame(n - 1) by some possible information I could get, as area of the shape & position inside the frame. Is it possible to achieve this whit some other class ? |