On Fri, Oct 17, 2014 at 8:03 PM, David Miller <[email protected]> wrote:

> Yes, I am using the same webcam as specified. It is working with 'Cheese'
> app as well as when activated from command line like you suggested. When
> running under X, I can see it detects faces and adds mustaches to them.
>

Great!


>
> Not sure if it is relevant, but when executing ./stache under X, I see
> some errrors like in http://pastebin.com/7V3PcsYt even though the camera
> streaming is still working.
>

Those notices at the bottom are harmless.

Sounds like it might be an Xauthority issue. Are you running Angstrom or
Debian? Reversing this patch might help if using Angstrom:
https://github.com/jadonk/stache/commit/c2c21510f11bc9cf254f89e1b66a265225d9c565

Have you tried running 'runstache'?


>
> David
>
>
>
>
> On Fri, Oct 17, 2014 at 4:41 PM, Jason Kridner <[email protected]> wrote:
>
>> On Wed, Oct 15, 2014 at 12:19 PM, David Miller <[email protected]>
>> wrote:
>>
>>> Hi Jason,
>>>
>>> I am trying to re-create the awesome demo
>>> http://beagleboard.org/project/stache. I have followed the instructions
>>> there to clone the github repo and 'make & make install' it. However, when
>>> double clicking the beagle icon on desktop or execute ./runstache from the
>>> command line nothing is running.
>>>
>>> I checked the log file and see this:
>>>
>>> root@beaglebone:~/stache# cat /var/log/beaglestache.log
>>> {"level":"info","message":"LED
>>> initialized","timestamp":"2012-11-22T12:06:20.265Z"}
>>> {"level":"info","message":"stache exited: 1 signal:
>>> null","timestamp":"2012-11-22T12:06:20.759Z"}
>>> {"level":"info","message":"LED
>>> initialized","timestamp":"2012-11-22T12:20:00.471Z"}
>>> {"level":"info","message":"End
>>> LED","timestamp":"2012-11-22T12:20:00.507Z"}
>>> {"level":"info","message":"stache exited: 1 signal:
>>> null","timestamp":"2012-11-22T12:20:01.003Z"}
>>> {"level":"info","message":"LED
>>> initialized","timestamp":"2012-11-22T12:29:54.564Z"}
>>> {"level":"info","message":"End
>>> LED","timestamp":"2012-11-22T12:29:54.601Z"}
>>> {"level":"info","message":"stache exited: 1 signal:
>>> null","timestamp":"2012-11-22T12:29:55.070Z"}
>>>
>>> It look like there's some error when the program exits. Do you have any
>>> pointer that I can use to troubleshoot this?
>>>
>>
>> Well, I guess we know that the 'runstache' script is running based on
>> tapping the 'beaglestache.desktop' icon and that it has successfully
>> launched 'node tweetstache.js'. It seems 'stache' is spawned, but dies
>> within a second of being launched. Given that the return code is a 1, it
>> seems it isn't reaching one of the error conditions that exit with an
>> alternative code.
>>
>> Question: Do you have a webcam installed and does it show up to Linux?
>>
>> You can attempt to start 'stache' manually by opening up a terminal under
>> X and running the app. You can do so remotely by using 'ssh -X
>> [email protected]' and then executing 'stache'. Please report what
>> you see on the terminal output.
>>
>>
>>>
>>> Thanks!
>>> David
>>>
>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to