RE: I/O device access
> Sent from Mail for Windows 10 I use Outlook 2013 (not my first choice!) and I get those strange symbols, too. Cheers, --Dave L. -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
RE: I/O device access
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Richard Z<mailto:r...@linux-m68k.org> Sent: Sunday, October 1, 2017 1:03 PM To: picolisp@software-lab.de<mailto:picolisp@software-lab.de> Subject: Re: I/O device access On Sat, Sep 30, 2017 at 03:26:52PM +, stayfirefo...@outlook.com wrote: > Hello everyone, > How can I access and receive signal from Camera and Microphone (and output > signal to microphone) purely in PicoLisp? in Linux webcams create device nodes, watch the output of dmesg. To actually access them it might be handy to pipe from ffmpeg or similar which will do all sorts of conversion, splitting into single images, motion detection and who knows what else - if you manage to follow all stackoverflow posts explaining how to do that:) Richard -- Name and OpenPGP keys available from pgp key servers -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: I/O device access
On Sat, Sep 30, 2017 at 03:26:52PM +, stayfirefo...@outlook.com wrote: > Hello everyone, > How can I access and receive signal from Camera and Microphone (and output > signal to microphone) purely in PicoLisp? in Linux webcams create device nodes, watch the output of dmesg. To actually access them it might be handy to pipe from ffmpeg or similar which will do all sorts of conversion, splitting into single images, motion detection and who knows what else - if you manage to follow all stackoverflow posts explaining how to do that:) Richard -- Name and OpenPGP keys available from pgp key servers -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: I/O device access
Hi, > Your reply is not appearing In English, but in weird symbols, I've attached a > screenshot, please look at it. Oh, sorry! This is probably due to the fact that PicoLisp can only handle UTF-8, and your symbols are probably not in that encoding. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: I/O device access
Hey! > Thanks for the answer, sir. No probelm sir ;) > I’m fine with GNU/Linux, it is an awesome operating system. Perfect! > Your projects sounds awesome, too. How many people are working in PilMCU > project? As of the moment, just me and Abu :) But AW is also planning to build one soon ;) > What OS does it use? Ah I think it should be also called PilOS coz its made by Abu ;) As of the moment the OS implemented in PicoLisp is composed of: Line editor, filesystem, debugger, benchmark.. and more useful tools :) You can also check out the mini PicoLisp running on a AVR based MCU? BR, Geo -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
RE: I/O device access
Thanks for the answer, sir. I’m fine with GNU/Linux, it is an awesome operating system. Your projects sounds awesome, too. How many people are working in PilMCU project? What OS does it use? Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: George Orais<mailto:gpor...@yahoo.com> Sent: Sunday, October 1, 2017 3:52 AM To: picolisp@software-lab.de<mailto:picolisp@software-lab.de> Subject: Re: I/O device access Hi stayfirefocus, Nice goal you got! From what I understand, there is no direct way or pure PicoLisp way to access camera/microphone coz it usually rely on existing libraries made by other languages like mainly in C. So I think your first step would be find those libraries then access them from PicoLisp ;) Another approach is to run PicoLisp bare-metal (PilOS for x86) and implement the I/O access in Assembly :) OR maybe you can try run PicoLisp on an RPi and have those I/O access by existing drivers and have those drivers access from PicoLisp? I want to suggest the on-going PilMCU (FPGA based) but I'm still working on the I/O too so hehe maybe next time ;) Will post a new video soon on the new progress :) BR, Geo On Sunday, October 1, 2017 5:44 AM, "stayfirefo...@outlook.com" wrote: -Original Message- From: picolisp@software-lab.de<mailto:picolisp@software-lab.de> [mailto:picolisp@software-lab.de<mailto:picolisp@software-lab.de>] On Behalf Of stayfirefo...@outlook.com<mailto:stayfirefo...@outlook.com> Sent: Saturday, September 30, 2017 11:19 PM To: picolisp@software-lab.de<mailto:picolisp@software-lab.de> Subject: RE: I/O device access -Original Message- From: picolisp@software-lab.de<mailto:picolisp@software-lab.de> [mailto:picolisp@software-lab.de<mailto:picolisp@software-lab.de>] On Behalf Of stayfirefo...@outlook.com<mailto:stayfirefo...@outlook.com> Sent: Saturday, September 30, 2017 10:54 PM To: picolisp@software-lab.de<mailto:picolisp@software-lab.de> Subject: RE: I/O device access Thanks so much for the answer, but I don't intend to access camera on Android, nor taking picture. The first step of building a vision system for AGI is inputting signals or video. Regenaxer, remember I am here because of only reason, the goal of building the first AGI in the world. I'm a small programmer, you guys have to babysit me :) I@R<mailto:I@R>f ) % l pj i ^ y T ˛ m I meant, the first step is accessing the camera, then organizing it to the thinking center. 5%H$HI��[h�'(�+)�ޕ��z˛��-R{.n�+�� Your reply is not appearing In English, but in weird symbols, I've attached a screenshot, please look at it.
Re: I/O device access
Hi stayfirefocus, Nice goal you got! >From what I understand, there is no direct way or pure PicoLisp way to access >camera/microphone coz it usually rely on existing libraries made by other >languages like mainly in C. So I think your first step would be find those >libraries then access them from PicoLisp ;) Another approach is to run PicoLisp bare-metal (PilOS for x86) and implement the I/O access in Assembly :) OR maybe you can try run PicoLisp on an RPi and have those I/O access by existing drivers and have those drivers access from PicoLisp? I want to suggest the on-going PilMCU (FPGA based) but I'm still working on the I/O too so hehe maybe next time ;) Will post a new video soon on the new progress :) BR,Geo On Sunday, October 1, 2017 5:44 AM, "stayfirefo...@outlook.com" wrote: -Original Message- From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf Of stayfirefo...@outlook.com Sent: Saturday, September 30, 2017 11:19 PM To: picolisp@software-lab.de Subject: RE: I/O device access -Original Message- From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf Of stayfirefo...@outlook.com Sent: Saturday, September 30, 2017 10:54 PM To: picolisp@software-lab.de Subject: RE: I/O device access Thanks so much for the answer, but I don't intend to access camera on Android, nor taking picture. The first step of building a vision system for AGI is inputting signals or video. Regenaxer, remember I am here because of only reason, the goal of building the first AGI in the world. I'm a small programmer, you guys have to babysit me :) I@R f ) % l pj i ^ y T ˛ m I meant, the first step is accessing the camera, then organizing it to the thinking center. 5%H$HI��[h�'(�+)�ޕ��z˛��-R{.n�+�� Your reply is not appearing In English, but in weird symbols, I've attached a screenshot, please look at it.
RE: I/O device access
-Original Message- From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf Of stayfirefo...@outlook.com Sent: Saturday, September 30, 2017 11:19 PM To: picolisp@software-lab.de Subject: RE: I/O device access -Original Message- From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf Of stayfirefo...@outlook.com Sent: Saturday, September 30, 2017 10:54 PM To: picolisp@software-lab.de Subject: RE: I/O device access Thanks so much for the answer, but I don't intend to access camera on Android, nor taking picture. The first step of building a vision system for AGI is inputting signals or video. Regenaxer, remember I am here because of only reason, the goal of building the first AGI in the world. I'm a small programmer, you guys have to babysit me :) I@R f ) % l pj i ^ y T ˛ m I meant, the first step is accessing the camera, then organizing it to the thinking center. 5%H$HI��[h�'(�+)�ޕ��z˛��-R{.n�+�� Your reply is not appearing In English, but in weird symbols, I've attached a screenshot, please look at it.
RE: I/O device access
-Original Message- From: picolisp@software-lab.de [mailto:picolisp@software-lab.de] On Behalf Of stayfirefo...@outlook.com Sent: Saturday, September 30, 2017 10:54 PM To: picolisp@software-lab.de Subject: RE: I/O device access Thanks so much for the answer, but I don't intend to access camera on Android, nor taking picture. The first step of building a vision system for AGI is inputting signals or video. Regenaxer, remember I am here because of only reason, the goal of building the first AGI in the world. I'm a small programmer, you guys have to babysit me :) I@R f ) % l pj i ^ y T ˛ m I meant, the first step is accessing the camera, then organizing it to the thinking center.
RE: I/O device access
Thanks so much for the answer, but I don't intend to access camera on Android, nor taking picture. The first step of building a vision system for AGI is inputting signals or video. Regenaxer, remember I am here because of only reason, the goal of building the first AGI in the world. I'm a small programmer, you guys have to babysit me :)
Re: I/O device access
On Sat, Sep 30, 2017 at 03:26:52PM +, stayfirefo...@outlook.com wrote: > How can I access and receive signal from Camera and Microphone (and output > signal to microphone) purely in PicoLisp? I do not know of a way to receive a "signal" from Camera or Microphone. In Android you use an 'Intent' to call an external app like a camera. See e.g. in @lib/android.l how to call the camera: (de takePicture (Dst Fun) (out Dst) (startActivityForResult Fun "android.media.action.IMAGE_CAPTURE" "output" (fileUri Dst) ) ) A usage example can be found in PilBox in pils/demo/camera.l (form NIL (gui '(+Able +Button) '(camera?) "Take Picture" '(takePicture (tmp "img") '((Intent) (setq *Picture (tmp "img")) (loadUrl (baseHRef) *SesId "demo/camera.l") ) ) ) () (gui '(+Var +Img) '*Picture NIL NIL 400 400) ) Pressing this button calls 'takePicture', and displays the result in the image component. The microphone can be accessed with the android.media.AudioRecord class. It needs an additional permission in PilBox/app/src/main/AndroidManifest.xml so you cannot use the pre-built PilBox App, but must build your own one. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe