You Are Here:

Community: Developer Discussion Boards

#1 Old NokiaCV - 2008-06-30, 11:08

Join Date: May 2007
Posts: 56
manugarrote
Offline
Regular Contributor
I'm very interested in Nokia Computer Vision Library. I signed and installed:
-pycamera
-PyMeLib
-PyNcvLib

When I execute PyMeLib_Demo i getsd this error:
"...
SymbianError: [Errno -46]
KErrPermissionDenied"

What have I to do? I usses my symbiansigned cer. Thanks
Reply With Quote

#2 Old Re: NokiaCV - 2008-06-30, 11:13

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Hi,

Apparently Cyke64 has found a workaround. See his post in this thread and download the sis files provided by him.
Reply With Quote

#3 Old Re: NokiaCV - 2008-06-30, 11:29

Join Date: May 2007
Posts: 56
manugarrote
Offline
Regular Contributor
Prblem continues so I wil wait for the fixed version. thank you
Reply With Quote

#4 Old Re: NokiaCV - 2008-06-30, 14:26

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by manugarrote View Post
I'm very interested in Nokia Computer Vision Library. I signed and installed:
-pycamera
-PyMeLib
-PyNcvLib

When I execute PyMeLib_Demo i getsd this error:
"...
SymbianError: [Errno -46]
KErrPermissionDenied"

What have I to do? I usses my symbiansigned cer. Thanks
As advised by Bogdan Galineceu you can try PyNcvLib it works perfectly if you download files on my site !
But I don't success to change PyMelib (but Nokia provide only one example for this library

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#5 Old Re: NokiaCV - 2008-07-01, 01:00

Join Date: Aug 2007
Posts: 37
Yingen_Xiong's Avatar
Yingen_Xiong
Offline
Forum Nokia Expert
The packages are updated with proper capabilities. Download and try again. http://research.nokia.com/research/p...acv/index.html.

Cheers!
Reply With Quote

#6 Old Re: NokiaCV - 2008-07-01, 01:02

Join Date: Aug 2007
Posts: 37
Yingen_Xiong's Avatar
Yingen_Xiong
Offline
Forum Nokia Expert
Quote:
Originally Posted by cyke64 View Post
As advised by Bogdan Galineceu you can try PyNcvLib it works perfectly if you download files on my site !
But I don't success to change PyMelib (but Nokia provide only one example for this library

BR
Cyke64
The packages are updated. Please download and try again.
Reply With Quote

#7 Old Re: NokiaCV - 2008-07-01, 11:28

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by yxiong View Post
The packages are updated. Please download and try again.
@yxiong (Author of NCVlib python bindings)
Thank you a lot for the quick update

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#8 Old Re: NokiaCV - 2008-07-01, 12:12

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Thank you yxiong for the updates.

Best Regards,
Croozeus
Reply With Quote

#9 Old Re: NokiaCV - 2008-07-02, 10:55

Join Date: May 2007
Posts: 56
manugarrote
Offline
Regular Contributor
I've downloaded files from here: http://research.nokia.com/research/p.../download.html

But I gets the same error running example. Any idea? Thanks
Reply With Quote

#10 Old Re: NokiaCV - 2008-07-03, 11:13

Join Date: Jun 2008
Posts: 9
pinkertc
Offline
Registered User
Hey,

Sorry for the re-post, dont know if anyone is still watching the other thread anymore.

I have been trying the python bindings out and I am trying to use the edge detection function within ImageOperation.py like this:

-----------------------------------------------

sourceImg = PyNcvLib.PyCNokiaCVImage()
targetImg = PyNcvLib.PyCNokiaCVImage()
imgOps = PyNcvLib.PyCImageOperations()

inputImg = None
outputImg = None

inputImg = sourceImg.NewLC()
sourceImg.CreateL('e:\\testImage.jpg')

outputImg = targetImg.NewLC()
size = sourceImg.Size()
mode = sourceImg.DisplayMode()
targetImg.CreateL(size[0], size[1], mode)
outBitmap = targetImg.Bitmap()
outImg = Image.from_cfbsbitmap(outBitmap)

imgOps.EdgeDetect(inputImg, outputImg, 1)

canvas.blit(outImg)

-----------------------------------------------

Running this code results in a good output image which has the edges extracted but when I exit the application i get the following error:

"E32USER-CBase 71"

So I think that something is not being pop'd off the CleanupStack, but I don't know what. Any Ideas?

Thanks.
Reply With Quote

#11 Old Re: NokiaCV - 2008-07-03, 15:37

Join Date: Jun 2008
Posts: 9
pinkertc
Offline
Registered User
Quote:
Originally Posted by pinkertc View Post
Hey,

Sorry for the re-post, dont know if anyone is still watching the other thread anymore.

I have been trying the python bindings out and I am trying to use the edge detection function within ImageOperation.py like this:

-----------------------------------------------

sourceImg = PyNcvLib.PyCNokiaCVImage()
targetImg = PyNcvLib.PyCNokiaCVImage()
imgOps = PyNcvLib.PyCImageOperations()

inputImg = None
outputImg = None

inputImg = sourceImg.NewLC()
sourceImg.CreateL('e:\\testImage.jpg')

outputImg = targetImg.NewLC()
size = sourceImg.Size()
mode = sourceImg.DisplayMode()
targetImg.CreateL(size[0], size[1], mode)
outBitmap = targetImg.Bitmap()
outImg = Image.from_cfbsbitmap(outBitmap)

imgOps.EdgeDetect(inputImg, outputImg, 1)

canvas.blit(outImg)

-----------------------------------------------

Running this code results in a good output image which has the edges extracted but when I exit the application i get the following error:

"E32USER-CBase 71"

So I think that something is not being pop'd off the CleanupStack, but I don't know what. Any Ideas?

Thanks.
Found a Solution for the problem, I had been running the code fragment above inside a function, but for it to run without errors you need to place the following outside the function as declarations:

------------------------------------------

sourceImg = PyNcvLib.PyCNokiaCVImage()
targetImg = PyNcvLib.PyCNokiaCVImage()
imgOps = PyNcvLib.PyCImageOperations()

inputImg = sourceImg.NewLC()
outputImg = targetImg.NewLC()

------------------------------------------

Basically put calls to NewLC() in the main body of your script and it seems to run fine :-)

Cheers guys.
Reply With Quote

#12 Old Re: NokiaCV - 2008-07-04, 09:27

Join Date: May 2007
Posts: 56
manugarrote
Offline
Regular Contributor
So, where can I download fixed libs? Does demo works yet? Thanks
Reply With Quote

#13 Old Re: NokiaCV - 2008-07-04, 13:04

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by manugarrote View Post
So, where can I download fixed libs? Does demo works yet? Thanks
They have been updated.

http://discussion.forum.nokia.com/fo...10&postcount=5

Br,
Croozeus
Reply With Quote

#14 Old Re: NokiaCV - 2008-12-15, 19:03

Join Date: Aug 2007
Posts: 37
Yingen_Xiong's Avatar
Yingen_Xiong
Offline
Forum Nokia Expert
A new version of PyCamLib (PyCamLib-1.2) has been released on NokiaCV open source website http://research.nokia.com/research/projects/nokiacv/. Flash control functions are added in this version. The library can be installed either c: or e: now
Last edited by Yingen_Xiong : 2008-12-15 at 19:55.
Reply With Quote

#15 Old Re: NokiaCV - 2008-12-16, 12:48

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by Yingen_Xiong View Post
A new version of PyCamLib (PyCamLib-1.2) has been released on NokiaCV open source website http://research.nokia.com/research/projects/nokiacv/. Flash control functions are added in this version. The library can be installed either c: or e: now
Hello Yingen_Xiong

I have downloaded and installed new version 1.2 but at the installation it is displayed 1.00 instead of 1.2

How to use flash control in this version
I find FlashOn and FlashOff function only but no SetFlash() function

Is it possible to release C++ source code now ?

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
NokiaCV: Nokia's Computer Vision Library vrs762 Mobile Design and User Experience 114 2009-11-05 09:05

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia