Toon app: Webcam

Forum about forum-provided applications on Toon

Moderator: marcelr

Toon app: Webcam

Postby makkie2002 » Tue Aug 28, 2018 7:37 pm

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.
Attachments
webcam-1.0.0.zip
(288.1 KiB) Downloaded 11 times
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby TerrorSource » Tue Aug 28, 2018 7:41 pm

Nice idea!

Will test the app soon. Although i need to find the jpeg stream for my ip-cam :)
TerrorSource
Member
Member
 
Posts: 154
Joined: May 2017

Re: Toon app: Webcam

Postby makkie2002 » Tue Aug 28, 2018 7:43 pm

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 !
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby Toonz » Tue Aug 28, 2018 7:44 pm

Seems fine to include in ToonStore, will package it on Thursday (watching Ajax tonight and out tomorrow :-) )
Toonz
Advanced Member
Advanced Member
 
Posts: 686
Joined: December 2016

Re: Toon app: Webcam

Postby angeloloi » Wed Aug 29, 2018 12:52 pm

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.f ... d=PASSWORD
angeloloi
Starting Member
Starting Member
 
Posts: 5
Joined: June 2018

Re: Toon app: Webcam

Postby TerrorSource » Wed Aug 29, 2018 3:29 pm

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.
TerrorSource
Member
Member
 
Posts: 154
Joined: May 2017

Re: Toon app: Webcam

Postby makkie2002 » Wed Aug 29, 2018 9:11 pm

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.
Attachments
webcam-1.0.1.zip
(289.15 KiB) Downloaded 6 times
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby TerrorSource » Wed Aug 29, 2018 9:30 pm

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!
TerrorSource
Member
Member
 
Posts: 154
Joined: May 2017

Re: Toon app: Webcam

Postby makkie2002 » Wed Aug 29, 2018 10:08 pm

Solved the dimstate issue ... already a new version available that fixes this ...
Attachments
webcam-1.0.2.zip
(283.08 KiB) Downloaded 10 times
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby Toonz » Thu Aug 30, 2018 6:10 pm

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
Toonz
Advanced Member
Advanced Member
 
Posts: 686
Joined: December 2016

Re: Toon app: Webcam

Postby makkie2002 » Thu Aug 30, 2018 10:09 pm

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
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby makkie2002 » Fri Aug 31, 2018 6:20 pm

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 ?
makkie2002
Member
Member
 
Posts: 66
Joined: August 2017

Re: Toon app: Webcam

Postby Toonz » Fri Aug 31, 2018 6:41 pm

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...
Toonz
Advanced Member
Advanced Member
 
Posts: 686
Joined: December 2016

Re: Toon app: Webcam

Postby TheHogNL » Sun Sep 02, 2018 7:40 am

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.
TheHogNL
Member
Member
 
Posts: 416
Joined: August 2017


Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 0 guests