Hi

Quick version:
Web page gives 'gradients' in example, but 'gradients' not found in
ocroscript.

Long version:

I see from http://ocrocourse.iupr.com/image-processing an example of
the Canny edge detector.  The sample program includes the command
'gradients':
   read_image_gray(byteimage,arg[1])
   image:copy(byteimage)
   gauss2d(image,3.0,3.0)
   gradients(gradm,gradx,grady,image)

I'm using the ocroscript that comes with ocropus-0.2:
   [EMAIL PROTECTED]:~/ocropus-0.2/ocroscript$ ocroscript -v
   OCRoscript (interactive)

But gradients does not seem to be defined:
[EMAIL PROTECTED]:~/Desktop$ ocroscript canny.lua
ocroscript: canny.lua:11: attempt to call global 'gradients' (a nil
value)
stack traceback:
        canny.lua:11: in main chunk
        [C]: ?
[EMAIL PROTECTED]:~/Desktop$

I looked for gradients in the .pkg files, but didn't find it.  Looked
around in the subversion server, particularly image.pkg, and didn't
see anything there either.

Is 'gradients' something that existed in a previous release?  Is there
an equivalent function in ocropus-0.2?

Thanks,
--Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to