Comments (19)
Hello,
Sorry for not replying earlier. Apparently, by default, Google Code does not
notify
project owners about new issues... I will have to figure out how to use this
system
properly..
In any case, yes samples, documentation, etc. would be nice. I am not sure
if/when I
will get around this, but one I idea I just had would be to port to Java the
samples
in C from OpenCV. It shouldn't be too hard.
BTW, if anyone creates samples they would like to check in the JavaCV
repository, let
me know
Samuel
Original comment by [email protected]
on 20 Mar 2010 at 7:45
from javacv.
Hi Samuel
I was trying the first example in your quickstart and I had this error when
running
it in netbeans 6.8 on my 32-bit x86 CPU:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (0xe06d7363), pid=444, tid=1200
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86
)
# Problematic frame:
# C [kernel32.dll+0x12afb]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\Agustin\My Documents\Uniandes\Desarrollo de
aplicaciones
de realidad mixta\Taller4\hs_err_pid444.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
OpenCV Error: Null pointer (NULL array pointer is passed) in unknown function,
file
..\..\..\..\ocv\opencv\src\cxcore\cxarray.cpp, line 2376
Java Result: 1
I know you said "Concretely, this means you should try to recompile OpenCV
without
SSE instructions before asking me why JavaCV crashes." But honestly I don't
understand what you are saying, I mean I just downloaded the
OpenCV-2.1.0-win32-vs2008.exe and installed it in the default directory on my
windows
XP. I don't know what to do to solve this error. Can you help me? Thank you
Kind regards,
Agustin Conde
Original comment by [email protected]
on 11 Apr 2010 at 10:26
from javacv.
Are you sure a file named "test.png" existed in the current directory?
Original comment by [email protected]
on 12 Apr 2010 at 4:57
from javacv.
Hi,
You make an amazing work and I'm glad to see someone trying to get OpenCV in
Java.
I have the same problem as the others. I can't make it working: I think we
definitely
need more documentations. When it crashes, I can't debug anything and the error
message doesn't mean anything for me:
* OpenCV Error: Unspecified error (The node does not represent a user object
(unknown
type?)) in cvRead, file C:\User\VP\ocv\opencv\src\cxcore\cxpersistence.cpp,
line 4722
=====> c:\User doesn't exist on my computer.
I tried every samples given on this site, nothing works for me :-(. I have Win
XP
32b, OpenCV 2.0 installed and my Eclipse project is configured as you
described. It
would be really nice to get a quickstart that may start on any machine.
I hope you can find time to write some documentation soon.
Kind regards,
Alexandre
Original comment by [email protected]
on 20 Apr 2010 at 6:30
from javacv.
The new Test2 sample from the README.txt file should work on any machine...
Since you
are using OpenCV 2.0 on 32-bit x86, your problems are most likely related to
SSE,
also clearly indicated in the README.txt file.
Original comment by [email protected]
on 21 Apr 2010 at 4:45
from javacv.
I experienced a similar issue when using cvLoad and solved it by inserting the
following lines before using it:
IplImage dummy = cvCreateImage(cvSize(1, 1), IPL_DEPTH_8U, 1);
cvErode(dummy, dummy, null, 1);
dummy.release();
This seems to do some necessary initialisations...
Original comment by [email protected]
on 21 Apr 2010 at 8:15
from javacv.
Hi Samuel,
I read the README.txt file. In fact, it's not only SSE problems. I got a
precompiled
version from here : http://code.google.com/p/pyopencv/downloads/list
So, SSE problems were solved for me, it's the reason I post my reply. I think
the
problem is now there : http://opencv.willowgarage.com/wiki/FaceDetection (step
11)
and now, I don't see any solution :-(.
Be sure that we understand you're doing an amazing job :-). Maybe can I help
you to
write a documentation "How to make it works on Windows?" but for now, face
detection
doesn't work (other functions work).
Kind regards,
Alexandre
Original comment by [email protected]
on 29 Apr 2010 at 7:18
from javacv.
It works fine for my under Windows. If you have any specific problems, please
provide
more details...
Samuel
Original comment by [email protected]
on 30 Apr 2010 at 2:04
from javacv.
Ah, let me correct that... it /used/ to work fine under Windows, but I have just
tried it again and it didn't work anymore (giving me that darn cvLoad() error).
Moving the call to cvLoad() a bit later seems to fix it. The updated sample
code on
the main page now works. (I will eventually update the README.txt file as
well...)
Samuel
Original comment by [email protected]
on 30 Apr 2010 at 2:47
from javacv.
Hello,
Would it be possible to have an example of individual pixel access? Since
cvGet2D is not recommended.
I appreciate your efforts very much.
Regards,
Greg.
Original comment by [email protected]
on 20 Nov 2010 at 3:32
from javacv.
Just remembered to ask, What would be more efficient for individual pixel
access? Should the whole image be converted to a BufferedImage and then access
with bufferedImage.getRGB(x, y);? Would individually accessing through the
jni interface be much more costly?
Greg.
Original comment by [email protected]
on 20 Nov 2010 at 3:37
from javacv.
Just access directly, the same as in C, the raw buffer returned by
IplImage.getByteBuffer(), but obviously the syntax is a bit different in Java.
You can find examples of this in the JavaCV.adaptiveBinarization() method here:
http://code.google.com/p/javacv/source/browse/trunk/javacv/src/com/googlecode/ja
vacv/JavaCV.java#310
Original comment by [email protected]
on 20 Nov 2010 at 3:53
- Changed state: Accepted
from javacv.
Can you please give one simple example on how to use ARToolKitPlus in JavaCV.
May be a page on wiki.
Original comment by [email protected]
on 2 Dec 2010 at 6:38
from javacv.
I use it in the MarkerDetector class, so you could start by looking at this
code:
http://code.google.com/p/javacv/source/browse/trunk/javacv/src/com/googlecode/ja
vacv/MarkerDetector.java
Original comment by [email protected]
on 2 Dec 2010 at 8:00
from javacv.
Hi Samuel, thanks for your prompt reply.
I used your MarkerDetector class to detect markers but it always returns an
array of Marker objects with length 0.
I tried using a camera stream and also this image:
http://www.burncg.cn/burnblog/attachments/month_0903/t2009314114342.jpg
Any suggestions on what I might be doing wrong?
Thanks.
Original comment by [email protected]
on 4 Dec 2010 at 10:57
from javacv.
I've hardcoded MarkerDetector to use BCH codes. To use templates, you'll need
to change the line:
setMarkerMode(t, MARKER_ID_BCH);
and load your templates using arLoadPatt() or something
BTW, can you post on the mailing list instead? This isn't not an issue with
JavaCV, it's a question about how to use JavaCV, so you should post on the
mailing list, thank you
Original comment by [email protected]
on 5 Dec 2010 at 10:28
from javacv.
[deleted comment]
from javacv.
This issue is about needing more JavaCV samples. If your comment has nothing to
do with samples, please *DO NOT* post here, thank you
Original comment by [email protected]
on 5 Dec 2010 at 11:02
from javacv.
Latest version adds a few samples. Changing status to "Done", but please reopen
if you feel this is still a big issue.
Original comment by [email protected]
on 19 Feb 2011 at 3:52
- Changed state: Done
from javacv.
Related Issues (20)
- FFmpegFrameGrabber won't grab till the end of video. HOT 12
- Conversion of audio in FFMpegFrameGrabber HOT 6
- Cached value of CvMat.fullSize and *Buffer fields might get incorrect HOT 85
- Missing default metadata in FFmpegRecorder HOT 4
- .so files gets deleted on Build&Run (Android) HOT 4
- Execution error HOT 1
- capture problem HOT 4
- Clear documentation on how to use callbacks from FFMpeg and OpenCV in JavaCV using JavaCPP HOT 30
- Memory leaks HOT 2
- Cannot find class file javax.swing.JFrame HOT 1
- FFMpegFrameRecorder is sending an unusually high keyframe rate HOT 4
- IPImage's use of awt classes are causing crashes on some device. HOT 1
- cvSetImageROI() and cvWarpAffine() made false color image HOT 15
- Get duration base on the audio track HOT 9
- EXCEPTION_ACCESS_VIOLATION HOT 2
- cvLoadImage is not work in my android app HOT 15
- Problem using ffmpegframegrabber with a remote camera that needs login HOT 2
- Reconnect problem on Android HOT 1
- Problems with android devices having Android 3.0 or lower version but works well with Android 4.0 and higher version HOT 5
- error: javacv for android on eclipse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javacv.