2020-04-24 20:50:52 -0600 | received badge | ● Popular Question (source) |
2016-04-07 11:20:20 -0600 | received badge | ● Supporter (source) |
2016-04-07 11:06:32 -0600 | commented answer | which class can show an image in java? I think |
2016-04-07 11:04:28 -0600 | commented answer | imshow equivalence in Java This does not work anymore since |
2016-03-10 02:57:10 -0600 | received badge | ● Enthusiast |
2016-03-09 04:42:31 -0600 | asked a question | Broken ffmpeg settings when writing video I have an OpenCV (2.4.9) application written in C++, which takes a video as input, processes it, and records the results as video as well. It works for 3 out of 4 videos on mine, but with 1 video it does not record, which is weird. I initialize the writer object like this: and then after the processing step, I write it with: and of course, at the end I finish with: The videos I process are all mp4 files with around 1-2 minutes. Normally this works, but with 1 specific video I get the following error: And obviously it does not record. Any thoughts? |
2015-10-28 09:32:20 -0600 | received badge | ● Nice Answer (source) |
2015-10-28 03:17:46 -0600 | received badge | ● Scholar (source) |
2015-10-27 10:57:00 -0600 | received badge | ● Student (source) |
2015-10-27 10:49:37 -0600 | received badge | ● Teacher (source) |
2015-10-27 10:36:36 -0600 | received badge | ● Self-Learner (source) |
2015-10-27 09:51:29 -0600 | commented question | OpenCV: Masking Operation Does not Function Properly @berak You were right. I populated the matrix with zeros before feeding into the |
2015-10-27 06:21:23 -0600 | asked a question | OpenCV: Masking Operation Does not Function Properly I have an image which I want to crop, for this I am using masking operation with However, there is something really weird with this. I get different outputs from each run. Sometimes it works and sometimes it does not. Let me explain with snapshots: This is the correct mask which I generate: This is the correctly applied mask, after the operation: And these are the ridiculously applied masks, after the operations: As you can see, sometimes the masking operation works, and sometimes it does not. I don't know what the hell is wrong with OpenCV, but this shouldn't happen. Same code with same input should not create different output on each run. I suspect that Any thoughts? |
2015-06-10 06:55:29 -0600 | received badge | ● Critic (source) |
2015-06-10 06:54:55 -0600 | commented question | Calculating the tilt in pixels I am not allowed to modify the hardware of the boat, it does not belong to me and I am supposed to solve the problem using a vision approach. Thanks though. |
2015-06-08 03:06:58 -0600 | commented question | Calculating the tilt in pixels My vehicle is a boat sailing on the sea surface, so there is no climbing. However the tilt happens all the time. And if the sea is wavy, the tilt becomes even higher. The thing is not only understand whether there is tilt or not, but also how much we tilt. |
2015-06-05 02:18:47 -0600 | commented question | Calculating the tilt in pixels My Kalman filter works with the center of the detected object's bounding box. My problem is not with Kalman filter actually, it works just fine. The stuff which I want is, when the camera tilts, the center of bounding boxes should be updated accordingly to the tilt. |
2015-06-03 07:05:23 -0600 | asked a question | Calculating the tilt in pixels I have a working object detection&tracking system already implemented in OpenCV. It detects, tracks and maps the objects in the world frame. However, since my camera is mounted on a moving vehicle, it tilts and therefore the coordinates of the tracked objects are changing drastically in the image frame, which results in wrong mapping of objects in the world frame. Is there a way to understand how much the camera tilts between frames, so that I can add or subtract the amount of tilting for the coordinates of the detected objects? Things to keep in mind:
What I tried so far:
Thanks in advance. |
2015-05-28 09:27:35 -0600 | commented question | Calculating distance to an unknown object with single camera This is what I see and out of this field, I am trying to get the distance to the dynamic targets. I did not understand what you meant by "just compute the distance from boat to the object on water", that is what I am wondering anyway, I mean that is the question that I pose. Calculating the distance to the object on the water surface. |
2015-05-28 06:56:29 -0600 | commented question | Calculating distance to an unknown object with single camera Thank you for your rapid answer. Yes, unfortunately the targets have different sizes. They could be small jet-skis, kayaks, fishing boats or huge container ships. Therefore going over the size parameter would not work in my case. |
2015-05-28 06:46:47 -0600 | asked a question | Calculating distance to an unknown object with single camera Hi all, The title says it all, I have a camera mounted on a moving boat and I want to know the distance of the detected targets. Here is the scenario:
Give these, is there a way to find how far is the detected target from me? Any help is appreciated. Thanks |
2015-05-28 06:39:54 -0600 | received badge | ● Editor (source) |
2015-05-28 06:38:31 -0600 | asked a question | Tilting Camera, calculating the shift Hi all, I have the following scenario:
Now, in order to calculate the world coordinates of the detected targets, I have to know their image coordinates. However, due to tilting, the image coordinates are changing greatly. This messes up the calculation of image-to-world coordination. In order to overcome this, I need an algorithm which could tell me how much does the camera tilt, so that I can add this up to the image coordinates and get the correct calculation. Is there such an algorithm already implemented in OpenCV? Would be glad if you could share. Thanks. Note: Using gyroscope is out of option. |