Page 1 of 3

Toon app: Webcam

Posted: Tue Aug 28, 2018 8:37 pm
by makkie2002
Hi,

Please have a look at the "Webcam" application that I developed a long time ago. I now found the time to put it in a format so that it can be implemented in a package so that hopefully it will appear in the toonstore somewhere in the future :D .
The webcam functionality actually loads a jpg image from a webpage every two seconds ... so it is not capable of showning live streams, but it is a start!

Have fun and let me know what you think.

-- MOD EDIT --
Removed file, it's available via ToonStore.
-- MOD EDIT --

Re: Toon app: Webcam

Posted: Tue Aug 28, 2018 8:41 pm
by TerrorSource
Nice idea!

Will test the app soon. Although i need to find the jpeg stream for my ip-cam :)

Re: Toon app: Webcam

Posted: Tue Aug 28, 2018 8:43 pm
by makkie2002
TerrorSource wrote:Nice idea!

Will test the app soon. Although i need to find the jpeg stream for my ip-cam :)
Cooooool ... the app comes with a pre-programmed test stream from a village in Switzerland !

Re: Toon app: Webcam

Posted: Tue Aug 28, 2018 8:44 pm
by Toonz
Seems fine to include in ToonStore, will package it on Thursday (watching Ajax tonight and out tomorrow :-) )

Re: Toon app: Webcam

Posted: Wed Aug 29, 2018 1:52 pm
by angeloloi
I have it working to, now i see my front yard ;)
For the people who has a Foscam this was my solution.

http://ipadress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USERNAME&pwd=PASSWORD

Re: Toon app: Webcam

Posted: Wed Aug 29, 2018 4:29 pm
by TerrorSource
Got the app on my Toon and a few things come to mind.

1. no icon when i select it from the tiles menu
2. icon in dim state is bit large
3. no "save" button for the url
4. no manual refresh button for the stream

Looks like my IPcam does not have a unauthenicated jpeg stream so i guess i won't be able to use it.

Re: Toon app: Webcam

Posted: Wed Aug 29, 2018 10:11 pm
by makkie2002
TerrorSource wrote:Got the app on my Toon and a few things come to mind.

1. no icon when i select it from the tiles menu
2. icon in dim state is bit large
3. no "save" button for the url
4. no manual refresh button for the stream

Looks like my IPcam does not have a unauthenicated jpeg stream so i guess i won't be able to use it.
Thanks for the feedback !

1. the small icon in the tiles menu I can put back (I removed that image from the "drawables dir" because I didn't know anymore why it was there and I wanted to spare space ... please remark that the app was made more than a year ago :roll: ).
2. do not know how to change the icon in the dim state ... i will have to search the other apps to serve as example ... or someone can just tell me :D .
3. indeed ... thinking of it, it would be nice to have a save & cancel button ... but it is functional without the save button ... will look into that in my next iteration.
4. don't think there is a need to do a manual refresh as the image is reloaded every two seconds.

I upload now a new version with the only change that I have included the small icon.

-- MOD EDIT --
Removed file, it's available via ToonStore.
-- MOD EDIT --

Re: Toon app: Webcam

Posted: Wed Aug 29, 2018 10:30 pm
by TerrorSource
makkie2002 wrote:
Thanks for the feedback !

1. the small icon in the tiles menu I can put back (I removed that image from the "drawables dir" because I didn't know anymore why it was there and I wanted to spare space ... please remark that the app was made more than a year ago :roll: ).
2. do not know how to change the icon in the dim state ... i will have to search the other apps to serve as example ... or someone can just tell me :D .
3. indeed ... thinking of it, it would be nice to have a save & cancel button ... but it is functional without the save button ... will look into that in my next iteration.
4. don't think there is a need to do a manual refresh as the image is reloaded every two seconds.

I upload now a new version with the only change that I have included the small icon.
Toonz is an expert with Dim-state things.
Refresh/save/cancel would be easy to test te stream before applying it so you know it works.

Still a great idea though!

Re: Toon app: Webcam

Posted: Wed Aug 29, 2018 11:08 pm
by makkie2002
Solved the dimstate issue ... already a new version available that fixes this ...

-- MOD EDIT --
Removed file, it's available via ToonStore.
-- MOD EDIT --

Re: Toon app: Webcam

Posted: Thu Aug 30, 2018 7:10 pm
by Toonz
Hi makkie2002,

The webcam app is now available from the ToonStore. More versions to come I guess.....
Just some ideas: a config file with a list of webcam url's to select from, tiles with images from different webcams at the same time,...… :D

Kind regardz,

Toonz

Re: Toon app: Webcam

Posted: Thu Aug 30, 2018 11:09 pm
by makkie2002
Toonz wrote:Hi makkie2002,

The webcam app is now available from the ToonStore. More versions to come I guess.....
Just some ideas: a config file with a list of webcam url's to select from, tiles with images from different webcams at the same time,...… :D

Kind regardz,

Toonz
Nice ...

Indeed the things you propose are nice improvements ... we will see how it evolves !

Thanks

Re: Toon app: Webcam

Posted: Fri Aug 31, 2018 7:20 pm
by makkie2002
By the way ... my program-deploy-test cycles are very much delayed by the fact the I have to restart the qt-gui when I want to test a change in my program ... is there a way to load the program without having to restart ?

Re: Toon app: Webcam

Posted: Fri Aug 31, 2018 7:41 pm
by Toonz
makkie2002 wrote:.. is there a way to load the program without having to restart ?
No! That is how qt works.

What you can do is remove all other custom apps to speedup boot time...

Re: Toon app: Webcam

Posted: Sun Sep 02, 2018 8:40 am
by TheHogNL
Or run the toon software on faster hardware using qemu on your computer for example. However I'm not a qemu hero. I have tried to get the toon to boot up in qemu but never managed to get it working due to lack of experience I guess.

Would be nice if a new hero rises and is possible to start the toon in qemu. We only need it to run the QT, doesn't care if it complains about no working sensors etc.

Re: Toon app: Webcam

Posted: Tue Oct 23, 2018 2:33 pm
by Hemshak
Nice idea. It would be great if this one worked well for the users. I will try for this one. :)