Login  Register

(no subject)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

(no subject)

frankl1_miky
18 posts
Hi !

I'm new on pharo and I realy like its vision. To learn more about the system I decide to write a package that handle Webcam. The package should be able to :

- start webcam
- take photo
- record a video.

The wonderfull thing is that I don't know where to start, Every advice is welcome.

Thanks!
.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: (no subject)

Ben Coman
5447 posts
On Tue, May 10, 2016 at 8:52 PM, Franklin Mike
<[hidden email]> wrote:

> Hi !
>
> I'm new on pharo and I realy like its vision. To learn more about the system
> I decide to write a package that handle Webcam. The package should be able
> to :
>
> - start webcam
> - take photo
> - record a video.
>
> The wonderfull thing is that I don't know where to start, Every advice is
> welcome.

I guess you will need to interface to some library, so for Pharo 5
have a play with its new UFFI interface.
A quick google around shows opencv to be a common base for FFI...
http://opencvlover.blogspot.com.au/2011/07/accesing-camera-using-opencv.html

but I also found this...
http://itseez.com/tags/openvx/
Note that NativeBoost was an FFI implementation for Pharo 4.

cheers -ben

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: (no subject)

philippeback
3147 posts
In reply to this post by frankl1_miky
There is a camera plugin in the source tree of the VM.

pharo-vm/platforms/win32/plugins/CameraPlugin

You can copy the dll in the Pharo directory and load the dll with:

NativeBoost forCurrentPlatform loadModule: 'CameraPlugin.dll'

Anyone having the FFI calls?

Maybe Phratch has it built in.

Phil




Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: (no subject)

stepharo
5159 posts
In reply to this post by frankl1_miky
Welcome

I hope that you will have fun.

you have ways:

     - use /extend/write a VM pluggin (check the old one)

     - use FFI there is a chapter in PharoInProgress on github on how to
use the new FFI with Pharo 50.

     - ask for help.


Stef


Le 10/5/16 à 14:52, Franklin Mike a écrit :

> Hi !
>
> I'm new on pharo and I realy like its vision. To learn more about the
> system I decide to write a package that handle Webcam. The package
> should be able to :
>
> - start webcam
> - take photo
> - record a video.
>
> The wonderfull thing is that I don't know where to start, Every advice
> is welcome.
>
> Thanks!
> .


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: (no subject)

frankl1_miky
18 posts
Thanks for all your answers, It's true that pharo community is active.

I'll give you feedback about my progress.

I'm having fun with Pharo Mooc at this period.

Thanks for your help!
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: (no subject)

stepharo
5159 posts


Le 29/5/16 à 12:04, frankl1_miky a écrit :
> Thanks for all your answers, It's true that pharo community is active.
>
> I'll give you feedback about my progress.
>
> I'm having fun with Pharo Mooc at this period.

I'm happy to see that all the energy I put in the mooc is useful :)

>
> Thanks for your help!
>
>
>
> --
> View this message in context: http://forum.world.st/no-subject-tp4894192p4897990.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>