2016-06-15 08:37:34 -0600 | received badge | ● Editor (source) |
2016-06-15 07:52:25 -0600 | asked a question | Face recognizer with camera in portrait mode Hello. I am running the following https://github.com/ayuso2013/face-rec... in Android Studio (Through the link found in the Readme.md). I am not sure what the fault is that is why i am putting in all the project, thanks in advance for your understanding for that. When the application runs the front camera can only be used in landscape mode. What i am trying to achieve is the same functionality in portrait mode.Please see the following photos in order to better understand what i am saying
landscape mode
portrait mode and call through mOpenCvCameraView.flippareTo(); inside public void onCreate(Bundle savedInstanceState) {. What am i doing wrong here? |
2015-02-14 04:00:07 -0600 | commented question | dct 2-D not working Thanks again. One last question: At some point at my program i want to access the Mat object's specific position as in std::vector vector1[i][j]. Is that possible? I get the error: expression must have pointer to object or handle-to-C++/CLI array type |
2015-02-14 03:24:33 -0600 | commented question | dct 2-D not working Thanks again for all your time. in your first example both ocv_y and dct_result would not be 1-D? |
2015-02-14 03:12:28 -0600 | commented question | dct 2-D not working I am sorry but i am kinda confused. I understand that this can be implemented with a Mat. But in documentation it mentioned also std::vector. The vector mentioned above is flat (1-D). So why do we need the Mat? |
2015-02-14 03:05:31 -0600 | commented question | dct 2-D not working Seems very interesting. Even though how can i do the above with an std::vector<int> y_values (height * width); ?? |
2015-02-14 02:22:02 -0600 | commented question | dct 2-D not working Hello and thanks for your quick answer. The y_values is nothing more than a vector: std::vector< std::vector<int> > y_values(height, std::vector<int>(width)); , containing values. The extraction of the pixel values has not happened with open_cv library, so i only need to implement the dct using open_cv. |
2015-02-14 02:13:36 -0600 | asked a question | dct 2-D not working Hello to all.I am trying to implement a cv::dct on c++ language inside visual studio 2012. My code is :
The error is: OpenCv error: Assertion failed (0 <= i && i < (int)(vv.size()) in cv::InputArray:getMat. Thanks for your time |