2020-01-13 05:58:45 -0600 | received badge | ● Popular Question (source) |
2017-10-29 06:43:42 -0600 | asked a question | Difference between two images light independent Difference between two images light independent Hello, I'm getting the difference between two images using the absdiff |
2017-04-25 08:00:20 -0600 | asked a question | Face detection looking down Hello, Does anybody have an idea of how detect faces when the person is looking down? I already tested a lot of haar cascades but they only work when the person is looking straight to the camera. Any tip will be very helpful, Thanks |
2016-10-28 06:52:08 -0600 | asked a question | FindContours returing only one contour for two objects Hello, I'm trying to count people with a motion detection code. It works fine if only one person is walking but, when they walk side by side, it counts two as one. I think the problem is in findContours, because it's returning only one contour. Here is my code: And here is a image of what's happening: I already tried to use the size of the contour to check if there are two persons but sometimes the size of one person is equal of the size of two. Does anybody have an idea of how to count two people if they are walking together? I was thinking about counting the heads, but I cannot find any way of doing that. Sometimes they walk so close that there is no space between their bodies, only between their heads. Do I have to check inside of the contour? Any tip will be very helpful, Thanks |
2016-10-26 07:47:56 -0600 | commented question | FaceRecognizer doubts I'm using version 2.4.9 and yes, I can create the instance. |
2016-10-25 14:20:06 -0600 | asked a question | FaceRecognizer doubts Hello, I'm developing an application that uses the OpenCV FaceRecognizer Java class to verify if a face is in a database of images. It works if I run my code only one time, but I want to update the database and remake the training multiple times. I'm having some doubts about doing this:
Sorry for the newbie questions but I'm really stuck and I cannot find any documentation about it :( Any tip will be very helpful, Thanks |
2016-09-30 15:48:06 -0600 | asked a question | Android findContours returning too many contours Hello, I'm trying to find the contours of the camera frame in a Android app. Here is the code: Here is an example of frame: It's working but my problem is that findContour is returning too many contours. Sometimes it returns more than 3000 contours and it takes too much time to draw them. In the frame there is a person. I would like to get only one contour with the person instead of many of them in each line of the face. Is there a way to approximate the little contours in a only one with the whole object? I'm looking for a way to reduce the number of contours, getting only the biggest of them. Any tip will be very helpful, Thanks |
2016-09-28 09:29:04 -0600 | commented question | OpenCV Android absdiff not working @berak Did this function changes accuImg type? I thought it would dump the result to img. |
2016-09-28 09:01:05 -0600 | commented question | OpenCV Android absdiff not working @berak Sorry, I copied the wrong code. It's already edited. |
2016-09-28 08:44:57 -0600 | asked a question | OpenCV Android absdiff not working Hello, I want to create a motion detector in a OpenCV Android app. First I accumulate the background with this class: And then I want to calculate the difference between the background and the camera frame. I tried this code: But it's always returning a blank frame. I think there is a problem with my absdiff code. Does anybody know if I did something wrong? I already tested with 3.1.0, 3.0.0 and 2.4.11 versions. Any tip will be very helpful, Thanks |
2016-09-21 08:46:32 -0600 | commented question | MatchParent not working with diferent angles and sizes @Eduardo I'm having problems with the image quality and the focus because I need to detect the object in movement. Is there a better detection method for objects in movement? |
2016-09-21 08:03:17 -0600 | asked a question | MatchParent not working with diferent angles and sizes Hello, I'm using this template to find a juice box in a camera capture: But I'm not getting good results. It only detects the box in this angle and size. Is there a better way to find a object in diferent angles and size? I already used a Haar Cascade Classifier. Is it better for video applications? Are there another methods? Any tip will be very helpful, Thanks |
2016-09-09 15:12:02 -0600 | asked a question | OpenCV Python detect camera's trepidation Hello, Is there a python code that can detect the trepidation of the camera? I have no idea how can I do it :( Any tip will be very helpful, Thanks |
2016-08-10 12:37:08 -0600 | commented question | Counting detected objects with Haar Cascade I'm thinking if there are some parameters that differ one person from the others. For example, if the distance between my eyes is 10 pixels, my algorithm can realize that I'm still in the video and don't count me again. What do you think @berak? Do you if there is a parameter or operation that I can use, like a histogram? |
2016-08-10 12:18:14 -0600 | commented question | Counting detected objects with Haar Cascade Is it too much hard? There are lot of videos: https://www.youtube.com/watch?v=qDK6n... |
2016-08-10 12:10:52 -0600 | commented question | Counting detected objects with Haar Cascade My main doubt is how to count only one time a object while it stays on the video. In all my attempts I counted multiple times the same object. |
2016-08-10 12:05:02 -0600 | commented question | Counting detected objects with Haar Cascade Sorry, my mistake @berak. You're right, I want to count the objects over several frames. |
2016-08-10 12:00:25 -0600 | commented question | Hardware requirements to run Opencv in a Android platform Thanks for your answer, @StevenPuttemans! I was worried about buying a smartphone with insufficient resources but now I think I can make the choice :) |
2016-08-10 11:54:59 -0600 | asked a question | Counting detected objects with Haar Cascade Hello, I'm using a Haar Cascade classifier to identify in a camera capture. Now I also want to count the detected faces, but I'm having some logical problems to do it. First I tried to add the number of the detected faces in every frame. It didn't work because the same face is added again after a new frame. Other problem is that the Cascade sometimes fails and the face is not detected. I don't want to count these instabilities or detections that happen in only one frame. Does anybody know how to implement a reliable algorithm to count objects detected by a Haar Cascade classifier? Any tip will be very helpful, Thanks |
2016-08-09 14:43:03 -0600 | asked a question | Hardware requirements to run Opencv in a Android platform Hello, I'm developing some apps using Haar Cascade for Android and I want to know which is the cheaper smartphone that can execute them. Does anybody know what are the minimum hardware requirements to run OpenCV in a Android platform? I searched in the docs but I couldn't find. Any tip will be very helpful, Thanks. |
2016-08-09 14:24:35 -0600 | received badge | ● Enthusiast |
2016-08-08 13:06:13 -0600 | answered a question | General People Cascade Classifier |
2016-08-04 20:04:07 -0600 | commented question | General People Cascade Classifier @sturkmen I added the image to the question :) I think I'm having problems because the camera is not capturing the head |
2016-08-04 17:13:10 -0600 | commented question | General People Cascade Classifier Thanks for your answer @sturkmen! I tried using the OpenCV ready classifiers, but they didn't work. I think it's because the position of my camera. Here is my image: http://i.imgur.com/aq1qWXL.png Do you know if there is a classifier that could work? Thanks |
2016-08-04 15:09:20 -0600 | asked a question | General People Cascade Classifier Hello, I'm training a Haar Cascade Classfier to identify people based on a set of samples. It works with the people from the pictures, but how can I assure that the classifier will work with different people? And what if they use different types of clothes? Is there a way to produce a general Cascade Classifier that can identify every kind of people? Here is the image I'm using: Any tip will be very helpful, Thanks |
2016-07-15 09:37:03 -0600 | asked a question | Haar Cascade instability Hello, I trained my Cascade Classifier to identify an object. It works, but not in all frames. Here is a frame missing one object: And here is other frame with all the objects: The images are almost the same. When I apply the cascade in a video, I can see the moments that the objects are not identified and it looks incomplete. Does anybody know how can I identify all the objects in all the frames, so the green rectangle will be permanent? Why it is happening, since the images are almost the same? Any tip will be very helpful, Thanks. |
2016-06-09 07:52:48 -0600 | received badge | ● Editor (source) |
2016-06-09 07:52:38 -0600 | asked a question | Running OpenCV in a Cloud Computing server Hello, Did anybody already run an OpenCV application in a Cloud Computing host? Do I need to expect too much differences between an usual computer? Does anybody suggests a provider for running OpenCV softwares? I wanna know about your experiences when using Cloud Computing servers. Any tip will be very helpful, Thanks. |
2016-05-26 12:14:06 -0600 | received badge | ● Student (source) |
2016-05-26 12:10:40 -0600 | commented answer | Haar cascade training Thanks for warning me @StevenPuttemans! Almost everything that I read about haar cascade traing uses this link. I'll read the book's chapter as you suggested.
My model is working better now with your advices, but it sometimes does not identify positive images. I'm facing this issue with black cars. Do you have any idea of how can I improve it? I though about adding more black car positive images. |
2016-05-25 14:21:33 -0600 | received badge | ● Supporter (source) |
2016-05-25 13:51:59 -0600 | asked a question | Haar cascade training Hello, I want to use a haar cascade classifier to detect objects in a image. I have 18 positive images and 24 negative images. Their size is 50 x 30. With them, I used this command to generate 1500 samples:
After merging, I started the haar cascade training with this command:
But it's converging too soon and it hangs in the third state: I used this link as a reference: http://coding-robin.de/2013/07/22/tra.... Does anybody know which parameter can I change to improve the training? Do I need to use more positive or negative images? Any tip will be very helpful, Thanks. |
2016-05-25 07:02:19 -0600 | commented answer | Identifying black cars with OpenCV in Python Thanks for your answer! Yes, I have each vacancy's ROI. As you suggested, I'm trying the haar cascade solution, according to this link: http://coding-robin.de/2013/07/22/tra... But, in the haar cascade training, I realized that it's converging too soon:
Do you know what is wrong? I assured that the width x heigh ratio is the same of the images. I'm using this command:
Am I missing any parameter? |
2016-05-24 00:53:10 -0600 | asked a question | Identifying black cars with OpenCV in Python Hello, I'm using OpenCV in Python to identify cars in a parking lot. It works fine when the color of the car is different than black. Here is my code. It basically applies a canny and counts the white points: Here is the result for a white car: But the code doesn't work well with the shadows of the others cars: And even worst with black cars: How do I fix this problem? Do I need to change my method? Maybe the canny isn't the best. I'm using this image of the parking: Any tip will be very helpful, Thanks |