2020-02-25 02:01:59 -0600 | received badge | ● Popular Question (source) |
2017-04-16 01:00:56 -0600 | commented answer | Removing noise from Contour features in Real time Thank for your reply! I tried using your code with a random generation of points. However, I am not able to understand, how to use it! I am sharing my code here: https://gist.github.com/denoza/13412cc470445c60cc3b7f5009519a2f (https://gist.github.com/denoza/13412c...) The output is something like this: Before[1804289383, 846930886] After[1804289383, 846930886] Before[1681692777, 1714636915] After[1681692777, 1714636915] Before[1957747793, 424238335] After[1957747793, 424238335] Before[719885386, 1649760492] After[719885386, 1649760492] |
2017-04-16 01:00:41 -0600 | commented answer | Removing noise from Contour features in Real time Thank for your reply! I tried using your code with a random generation of points. However, I am not able to understand, how to use it! I am sharing my code here: https://gist.github.com/denoza/13412cc470445c60cc3b7f5009519a2f (https://gist.github.com/denoza/13412c...) The output is something like this: Before[1804289383, 846930886] After[1804289383, 846930886] Before[1681692777, 1714636915] After[1681692777, 1714636915] Before[1957747793, 424238335] After[1957747793, 424238335] Before[719885386, 1649760492] After[719885386, 1649760492] |
2017-04-15 02:49:36 -0600 | commented question | Removing noise from Contour features in Real time Thank you very much for your response Steven! Even applying erosion doesn't give me a good response. I have uploaded a video on youtube which shows the jitter. You can see it at: https://youtu.be/5bpoDsImkvM I differentiate the distance between red and blue spots in order to get the feature velocity. The velocity vector besides the image window (red text on black) shows the change, which should be zero since the camera is at rest. |
2017-04-13 23:13:18 -0600 | asked a question | Removing noise from Contour features in Real time Hi, In my project, I apply findcontours function to detect a rectangular object within a region of interest in the image. I am doing it in real time. Subsequently, I enclose the detected contour by a boundedrect which gives me its four vertices. However, the position of these vertices is not stable, it is changing very fast. Looks like the contour area is growing and shrinking, and have variations which causes the vertices' position to change. I have tried following solutions, but to no avail.
I am including my code snippet where I find contours below: I would appreciate any help in this regard. I have tried googling a lot but couldn't find a good post which might direct me towards removal of noise from detected contours in real time. I think the nature of noise is Impulse. |
2016-12-19 03:25:09 -0600 | commented answer | traincascade - Train dataset for temp stage can not ... Hi Steven, I am also facing the same problem. However, I get the error at training stage 2. Even after trying your solution, if I set the -numStages to 3, my training stops at 1. I am using below command to train my classifier: opencv_traincascade -data HOG -vec Final_Positives/pos-samples.vec -bg data.txt -numPos 627 -numNeg 1500 -numStages 3 -w 80 -h 140 -featureType HOG -precalcValBufSize 4048 -precalcIdxBufSize 4048 -numThreads 8 -minHitRate 0.999 -maxFalseAlarmRate 0.5 I would be highly grateful if you could provide some guidance. Thanks! |