Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoEmulation - Don't show image #13

Open
matiasfha opened this issue Sep 30, 2010 · 1 comment
Open

VideoEmulation - Don't show image #13

matiasfha opened this issue Sep 30, 2010 · 1 comment

Comments

@matiasfha
Copy link

(Sorry for my english)
I finally run the VideoEmulation app.
I run WebCamBroadcaster on OSX (using QTVideoCapture).
When i run the app on the emulator LogCat shows:

09-30 11:32:51.502: INFO/ActivityManager(58): Displayed activity msdark.proto/.VideoEmulation: 2702 ms (total 2702 ms)
09-30 11:32:51.502: INFO/ActivityManager(58): [ 09-30 11:32:52.233 531:0x219 S/CVJNI ]
09-30 11:32:51.502: INFO/ActivityManager(58): Total Time to cvHaarDetectObjects in findSingleFace: 0.695374
09-30 11:32:51.502: INFO/ActivityManager(58): [ 09-30 11:32:52.233 531:0x219 S/CVJNI ]
09-30 11:32:51.502: INFO/ActivityManager(58): FACES_DETECTED 0
09-30 11:32:51.502: INFO/ActivityManager(58): [ 09-30 11:32:52.233 531:0x219 S/CVJNI ]
09-30 11:32:51.502: INFO/ActivityManager(58): Total Time to findSingleFace: 0.984898
09-30 11:32:52.233: DEBUG/VideoEmulation(531): No faces were detected
09-30 11:32:52.233: DEBUG/VideoEmulation(531): [ 09-30 11:32:52.233 531:0x219 S/CVJNI ]
09-30 11:32:52.233: DEBUG/VideoEmulation(531): fileStep*height + headerSize=270054
09-30 11:32:52.263: WARN/dalvikvm(531): JNI WARNING: method declared to return '[B' returned '[Z'
09-30 11:32:52.263: WARN/dalvikvm(531): failed in Lmsdark/proto/OpenCV;.getSourceImage
09-30 11:32:52.273: INFO/dalvikvm(531): "Thread-8" prio=5 tid=7 RUNNABLE
09-30 11:32:52.273: INFO/dalvikvm(531): | group="main" sCount=0 dsCount=0 s=N obj=0x43e529f8 self=0x2870d8
09-30 11:32:52.273: INFO/dalvikvm(531): | sysTid=537 nice=0 sched=0/0 cgrp=default handle=2322232
09-30 11:32:52.273: INFO/dalvikvm(531): | schedstat=( 798459080 399601037 99 )
09-30 11:32:52.273: INFO/dalvikvm(531): at msdark.proto.OpenCV.getSourceImage(Native Method)
09-30 11:32:52.283: INFO/dalvikvm(531): at msdark.proto.VideoEmulation$1.run(VideoEmulation.java:226)
09-30 11:32:52.283: ERROR/dalvikvm(531): VM aborting

And nothing is displayed in the emulator screen.

@billmccord
Copy link
Owner

I was having trouble with this after I upgraded to a new laptop that only has Java 1.6. The QT libraries are apparently deprecated, but you can still make it work by forcing the QTWebcamBroadcaster to run in 32-bit mode. Add the following parameter to your VM options to force it to run in 32-bit mode:
-d32
I will update the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants