Ask Your Question

Mohamed Gad-Elrab's profile - activity

2019-03-28 15:14:06 -0600 received badge  Notable Question (source)
2016-04-30 02:01:44 -0600 received badge  Notable Question (source)
2015-08-03 05:39:44 -0600 received badge  Popular Question (source)
2014-11-30 19:09:39 -0600 received badge  Popular Question (source)
2013-07-16 19:20:07 -0600 asked a question Native Camera stop retrieving frames from Samsung S4 Camera

When running sample Tutorial-1- Camera preview and switch to native camera preview. It works for some time then stop retrieving frames. This happens randomly.

We tried getting frames in C Native level using VideoCapture.grap()/retrieve() as well as Java level same code and we still getting the same behavior.

Here is the error we always get : 07-17 02:16:04.136: E/OpenCV_NativeCamera(30730): CameraHandler::Notify: msgType=1 ext1=200 ext2=0 07-17 02:16:04.591: W/BufferQueue(30730): freeAllBuffersLocked called but mQueue is not empty

So what does this error mean and how can we fix it?

2012-12-28 14:58:08 -0600 received badge  Scholar (source)
2012-12-27 12:34:06 -0600 received badge  Editor (source)
2012-12-27 12:32:40 -0600 asked a question Access Mobile Camera From Native C++ vs Android

Which is better to access camera from native C++ code using openCV capture or to access it using normal android preview methods (Like in Tutorial 4 in samples)?

According to speed of process? controlling capture like number of frames, focus and resolution ? re display the image in android surface?

2012-12-27 12:04:05 -0600 commented question Android Native Camera Focus Mode With 2.4.3 & Samsung Galaxy S2

Do you have a sample for accessing mobile Camera from NDK using opencv ? thank you

2012-12-14 16:51:40 -0600 received badge  Supporter (source)
2012-12-12 10:40:07 -0600 received badge  Student (source)
2012-12-06 08:42:54 -0600 commented answer How to filter FREAK+BruteForceMatcher result?

1st, thank you 2nd, I cannot get the difference between out matches and good matches why you count both. Also I cannot see the x threshold is it 0.2?

2012-12-03 05:35:09 -0600 asked a question How to filter FREAK+BruteForceMatcher result?

I have 2 questions about FREAK implementation in opencv I really need to know to continue:

  1. I cannot get what the 64 values (columns) returned for each keypoint ? FREAK should return binary values as I understand?

  2. I used BruteForceMatcher<hamming> like in FREAK_demo.cpp in opencv samples. however it always give matches that may be wrong .. so I want to filter result ... I want to use the distance variable in the DMatch object returned but I cannot get what it representing in case of Hamming distance?.. should I take the big distances or small ?? what is the expected range for it ? I cannot find in any documentation