Ask Your Question

jameo's profile - activity

2015-03-08 17:34:21 -0500 received badge  Nice Question (source)
2014-11-27 00:13:41 -0500 received badge  Famous Question (source)
2014-04-28 07:32:56 -0500 received badge  Notable Question (source)
2014-01-13 14:28:02 -0500 received badge  Popular Question (source)
2013-03-11 08:56:42 -0500 commented answer Mirror Image on Android Front Camera

Its called now. This solution sortof worked for me

2013-03-02 03:55:14 -0500 received badge  Student (source)
2013-02-21 08:18:42 -0500 answered a question Static Linking OpenCV

What I ended up doing was changing my file to not include the mips (which I really didnt need anyway). So Now I build only for armeabi-v7a.

So to recap, I changed

APP_ABI := all


APP_ABI := armeabi-v7a
2013-02-13 12:26:17 -0500 commented answer Static Linking OpenCV

I have never seen that like that in the docs anywhere. Also, I just tried it and it didnt work. Any other ideas???

2013-02-13 11:28:52 -0500 asked a question Static Linking OpenCV

I would like to statically link OpenCV( to my project. Right now my looks like this

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

include /Users/jamiematthews/Documents/Android-Projects/OpenCV-2.4.3-android-sdk/sdk/native/jni/

LOCAL_MODULE    := jni_part
LOCAL_SRC_FILES := jni_part.cpp
LOCAL_LDLIBS +=  -llog -ldl
LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog 

Which throws the errors:

Android NDK: ERROR:/Users/jamiematthews/Documents/workspace/AuthentiGuard/jni/ LOCAL_SRC_FILES points to a missing file    
/Users/jamiematthews/Documents/android-ndk-r8d/build/core/ *** Android NDK: Aborting    .  Stop.
Android NDK: Check that /Users/jamiematthews/Documents/Android-Projects/OpenCV-2.4.3-android-sdk/sdk/native/jni/../libs/mips/ exists  or that its path is correct

Anyone know what this could mean?

PS if I remove the lines


it compiles fine, but then I cant statically link

2013-02-12 08:28:41 -0500 asked a question Rotating Android Camera to Portrait

I am implementing the Android OpenCV SDK to make a camera app. I would like it to work for multiple UI orientations. I am extending the JavaCameraView in SDK I am trying to figure out how to rotate the camera. I know what I have to do is write something like this


to get it to work in portrait, but I have tried it in multiple places, and none have worked for me. The camera still displays "sideways". If anyone has done a similar thing, please let me know

2013-02-12 08:10:32 -0500 commented answer Android camera image rotation

@matt.hammer I am using the JavaCameraView, there is no call to, any suggestions? I also have the S3 and have been frustrated with that line of code not actually changing the orientation

2013-02-11 08:28:03 -0500 received badge  Supporter (source)
2013-02-11 08:27:39 -0500 commented answer Android camera image rotation

@matt.hammer Where did you place this line of code???

2013-02-04 08:53:53 -0500 received badge  Editor (source)
2013-02-01 14:22:35 -0500 received badge  Necromancer (source)
2013-02-01 11:49:56 -0500 answered a question getting video to play fullscreen android

For anyone still looking for this, I have solved the issue (sort-of). I cannot seem to get this to work for OpenCV v 2.4.3. I have tried everything on the internet. However, in OpenCV they have added a way to set the camera size

mMaxHeight = //your desired height
mMaxWidth = //your desired width
connectCamera(mMaxWidth, mMaxHeight);

Check out the OpenCV Tutorial 5(not included in 2.4.3 version), specifically the SampleJavaCameraView -> setResolution Method

Edit: Also, make sure in your manifests, you have


I think if you don't it can sometimes shrink the size slightly, depending on the screen size