kallyani1989 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

IplImage. pointerBy Reference and CV_PI is not defined and can't be found #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Can't compile my program
2. Every lib from javaCV has been added as external Jar
3. My program implementing face detection works well. But memory leak results 
in slowing down my machine

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
javaCV 2.3.1, Ubuntu

Please provide any additional information below.

I have tried both eclipse and netbeans

Ask for help. Thank you for your response

Original issue reported on code.google.com by lumin.zh...@gmail.com on 16 Sep 2011 at 6:45

Attachments:

GoogleCodeExporter commented 8 years ago
Images returned by normal functions like cvCreateImage() and cvCloneImage() do 
not get garbage collected. Either use cvReleaseImage() on them, or in the case 
of cloning and created, images created with IplImage.clone() and 
IplImage.create() will get garbage collected. After adjusting this, can you 
confirm that memory leaks get plugged? thank you

As for PI, just use Math.PI instead.. Or you can declare a CV_PI constant 
somewhere if you would like to avoid refactoring.

Original comment by samuel.a...@gmail.com on 19 Sep 2011 at 8:40

GoogleCodeExporter commented 8 years ago
Cool. I also found the same things from the example programs. THank you.

Original comment by lumin.zh...@gmail.com on 21 Sep 2011 at 9:15

GoogleCodeExporter commented 8 years ago
Great to hear it's working!

Original comment by samuel.a...@gmail.com on 30 Sep 2011 at 1:25