maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] Mirror (https://talk.maemo.org/showthread.php?t=33098)

attila77 2009-10-19 12:50

[ANNOUNCE] Mirror
 
Mirror is a simple utility that shows a real-time mirror image of the built-in user-facing camera. To call this an application is a bit of an overstatement, but it has been requested by several users in various threads, so, there. Comments welcome, just don't ask me to turn it into a a full-blow image processing thing, or to automatically remove skin blemishes :)

http://maemo.org/downloads/product/Maemo5/mirror/

Developers: https://garage.maemo.org/projects/mirrorapp/

Version 2 changelog: has zoom, can toggle between 16:9 (screen) and 4:3 (camera), can fullscreen, remembers it's settings, and, last but not least, stops when not in foreground.


EDIT: Special thanks to daperl for the original gstreamer chain idea/example. Sorry for the missing README :(

EDIT: Diablo version is on hold. I just remembered why I'm a Qt guy. There are just too many syntax changes in PyGTK/hildon between Maemo 4 and Maemo 5. Feel free to pick-up the code and adapt it to Maemo 4.x syntax if interested.

lcuk 2009-10-19 13:05

Re: [ANNOUNCE] Mirror
 
cannot install the gstreamer0.10-plugins-good package

go look at http://maemo.org/packages/package_in...0-0maemo8+0m5/

kryptoniankid17 2009-10-19 13:13

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351158)
Mirror is a simple utility that shows a real-time mirror image of the built-in user-facing camera. To call this an application is a bit of an overstatement, but it has been requested by several users in various threads, so, there. Comments welcome, just don't ask me to turn it into a a full-blow image processing thing, or to automatically remove skin blemishes :)

It's currently in Fremantle extras-testing, try it out, vote up if you find no problems so it could get into extras (and thus general users). I'll hack together a Diablo version for N8x0 users, too.

http://maemo.org/packages/package_in...l/mirror/1.0-2

any screen shots?

lcuk 2009-10-19 13:15

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by kryptoniankid17 (Post 351178)
any screen shots?

*facepalm*

kryptoniankid17 2009-10-19 13:18

Re: [ANNOUNCE] Mirror
 
would it be able to make the background look like the actual reflective surface of a mirror.

attila77 2009-10-19 13:23

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by kryptoniankid17 (Post 351178)
any screen shots?

I'm not THAT pretty :D Seriously, it's a mirror, not exactly much to be seen from a screenshot.

Quote:

Originally Posted by kryptoniankid17 (Post 351186)
would it be able to make the background look like the actual reflective surface of a mirror.

Background... you lost me there. Can you elaborate ?

kryptoniankid17 2009-10-19 13:31

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351194)
I'm not THAT pretty :D Seriously, it's a mirror, not exactly much to be seen from a screenshot.



Background... you lost me there. Can you elaborate ?

theme or background. what your reflection apears in front of. now that i think about it. it could be almost like one of those photo booths.

attila77 2009-10-19 13:47

Re: [ANNOUNCE] Mirror
 
OK, I understand now. That would only be possible if the background would be single-colour and uniformly lit (like in the photobooth you mention). I guess it could be done, but that's not really the use-case for this 'app' (it sounds more like an extension/filter for the camera application).

thecursedfly 2009-10-19 13:57

Re: [ANNOUNCE] Mirror
 
kriptoniankid17, it doesn't really make sense what you're saying about this app.. the app displays what the front camera sees, so it shows your person and the background behind you. = mirror.

that photo booth stuff you talk about has nothing to do with this application, if I understood well what you mean.
[ example of Photo Booth effects ]
[ example of the effect you probably talk about ]

kryptoniankid17 2009-10-19 13:59

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351221)
OK, I understand now. That would only be possible if the background would be single-colour and uniformly lit (like in the photobooth you mention). I guess it could be done, but that's not really the use-case for this 'app' (it sounds more like an extension/filter for the camera application).

with this community though you never know. someone will pick up on it. But its great to know developers pay attention.

conny 2009-10-19 14:05

Re: [ANNOUNCE] Mirror
 
It was about time that someone uses the front camera for something - thanks a lot!

Just a few things:
- The window title is "gst-launch-0.10", maybe set it to "Mirror" :)
- When put into the background it is still using a lot of cpu power. I think it should stop processing/displaying the image.
- Same is when put into the dash board. On the outer left and right boarder of the screen there are artefacts. I think the best would be to stop everything if not the top most application.

I think the power saving in background thing is important to get it into extras.

Last thing a wish: How about putting it into fullscreen when tapping somewhere inside the window and leaving fullscreen wenn tapping again. Just like the image viewer.

Oh an another one (really the one): I have the feeling that the image is stretched or my head is very round ;)

Thanks for the good work!

aboaboit 2009-10-19 14:09

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351158)
It's currently in Fremantle extras-testing, try it out, vote up if you find no problems so it could get into extras (and thus general users). I'll hack together a Diablo version for N8x0 users, too.

I installed it without problems but all I got was the spinning wheel of the application being started; after a few seconds it went back to the application manager. Tried a few times, then the application manager started acting funny (it was showing base and extra icons on top of each other) and I had to reboot.

gazza_d 2009-10-19 14:19

Re: [ANNOUNCE] Mirror
 
Does this actually need porting to diablo for N8x0s?

We have the camera application already On the N810, the camera faces the user anyway, and on the N800 we can rotate the camera as well. Only good thing about the camera resolution is that it is so poor that any spots, pimples etc probably won't be picked up!

Mind you whenever I've tried the camera application, it has been monumentally slow, resource hungry etc etc, and has been completely unusable.

attila77 2009-10-19 14:22

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by conny (Post 351240)
- The window title is "gst-launch-0.10", maybe set it to "Mirror" :)

Right :)

Quote:

- When put into the background it is still using a lot of cpu power. I think it should stop processing/displaying the image.
- Same is when put into the dash board.
Noted.

Quote:

On the outer left and right boarder of the screen there are artefacts. I think the best would be to stop everything if not the top most application.
I noticed this myself. This is definitely not my doing, it's either the cam readout process (=electronics) or something deep inside (=kernel level) as direct v4l2 readout also results in some artifacts.

Quote:

Last thing a wish: How about putting it into fullscreen when tapping somewhere inside the window and leaving fullscreen wenn tapping again. Just like the image viewer.
Noted.

Quote:

Oh an another one (really the one): I have the feeling that the image is stretched or my head is very round ;)
Yes, turns out the cam is not the same aspect ratio as the screen - again, noted :)

attila77 2009-10-19 14:23

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by aboaboit (Post 351250)
I installed it without problems but all I got was the spinning wheel of the application being started; after a few seconds it went back to the application manager. Tried a few times, then the application manager started acting funny (it was showing base and extra icons on top of each other) and I had to reboot.

Hm. Try opening a console and starting manually (just type 'mirror') - does it give an error or something there ?

attila77 2009-10-19 14:26

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by gazza_d (Post 351260)
Does this actually need porting to diablo for N8x0s?

We have the camera application already On the N810, the camera faces the user anyway, and on the N800 we can rotate the camera as well. Only good thing about the camera resolution is that it is so poor that any spots, pimples etc probably won't be picked up!

It does need a port... First, the device names have been swapped - the user-cam is /dev/video0 on N810 and /dev/video1 on the N900. Second, the N810 camera app is not a mirror :) Third, on the N800/N810 you probably want to go for 320x240 (instead of the current/max 640x480) as it gets choppy (esp in low-light conditions).

allnameswereout 2009-10-19 16:12

Re: [ANNOUNCE] Mirror
 
So what this does is horizontal flip?

That is one of the effects of Cheese.

Has anyone tried to port it?

attila77 2009-10-19 16:15

Re: [ANNOUNCE] Mirror
 
I see making a video of this in action is inevitable :) Yes, it's a horizontal flip, the point being in simplicity - you don't need to take a picture or start/apply anything extra. You start the app, you get a mirror, as easy as that.

attila77 2009-10-19 16:16

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by lcuk (Post 351171)
cannot install the gstreamer0.10-plugins-good package

go look at http://maemo.org/packages/package_in...0-0maemo8+0m5/

Hm... I didn't do anything and the missing dependencies disappeared. There is some voodoo going on there... is it ok for you now ?

conny 2009-10-19 16:45

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351383)
Hm... I didn't do anything and the missing dependencies disappeared. There is some voodoo going on there... is it ok for you now ?

Niels fixed it, so no voodo :) Didn't you get the email on the devel list?

Quote:

Oops, this was a configuration mistake on my part. I didn't setup the
links between the repositories for nokia-applications and device root
filesystem.

It should look a lot better for you now?

attila77 2009-10-19 17:13

Re: [ANNOUNCE] Mirror
 
Hmm, we've got some email voodoo going on, too, I never got that message :( That explains a few things, though, I was starting to think I completely misunserstood how these repos worked. :)

conny 2009-10-19 17:27

Re: [ANNOUNCE] Mirror
 
I forwarded it to you, just in case that the archives need some time.

daperl 2009-10-19 17:57

Re: [ANNOUNCE] Mirror
 
Wow, not even a mention. Spooky.

Hogwash 2009-10-19 18:00

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by daperl (Post 351546)
Wow, not even a mention. Spooky.

???

pad pad pad

attila77 2009-10-19 18:32

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by daperl (Post 351546)
Wow, not even a mention. Spooky.

I'm sorry, FWIW I forgot to include the README in the package (also containing the icon's source and reference to your post). It's already fixed in the next version.
.

Nelson L. Squeeko 2009-10-19 18:50

Re: [ANNOUNCE] Mirror
 
I've always just used liqbase if I even required a mirror with my n810.

qole 2009-10-19 19:27

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by daperl (Post 351546)
Wow, not even a mention. Spooky.

I'm just happy to see things like these getting into the repos! W00T!

But, hey, thanks daperl!

kryptoniankid17 2009-10-19 19:57

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by thecursedfly (Post 351233)
kriptoniankid17, it doesn't really make sense what you're saying about this app.. the app displays what the front camera sees, so it shows your person and the background behind you. = mirror.

that photo booth stuff you talk about has nothing to do with this application, if I understood well what you mean.
[ example of Photo Booth effects ]
[ example of the effect you probably talk about ]

just a little overily excited. Lots of ideas.

kryptoniankid17 2009-10-19 19:58

Re: [ANNOUNCE] Mirror
 
hows the picture clarity so far?

RevdKathy 2009-10-19 20:04

Re: [ANNOUNCE] Mirror
 
Permission to bounce up and down in enthusiasm please? I don't actually have a device to test it on, but I was one of the people pushing for this one. :)

timsamoff 2009-10-19 20:07

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by allnameswereout (Post 351379)
...Cheese...Has anyone tried to port it?

I actually tried to give (yes, give) an N810 to the Cheese developer a while back and he refused. :(

Tim

kryptoniankid17 2009-10-19 20:13

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by timsamoff (Post 351725)
I actually tried to give (yes, give) an N810 to the Cheese developer a while back and he refused. :(

Tim

cheese would be killer on the n900. thanks for the link.

kryptoniankid17 2009-10-19 20:16

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by timsamoff (Post 351725)
I actually tried to give (yes, give) an N810 to the Cheese developer a while back and he refused. :(

Tim

why do i see a ar seuss green eggs and ham scenario. lol

aboaboit 2009-10-19 20:19

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351267)
Hm. Try opening a console and starting manually (just type 'mirror') - does it give an error or something there ?

/usr/bin/mirror: line 2: gst-launch-0.10: not found

daperl 2009-10-19 20:22

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351589)
I'm sorry, FWIW I forgot to include the README in the package (also containing the icon's source and reference to your post). It's already fixed in the next version.
.

Thanks, I appreciate it.

Now, if I can just get credit for my flashlight idea...

pycage 2009-10-19 20:26

Re: [ANNOUNCE] Mirror
 
Wow, incredible! So many guys crowding around a girl's mirror.

SCNR :D

attila77 2009-10-19 20:36

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by aboaboit (Post 351742)
/usr/bin/mirror: line 2: gst-launch-0.10: not found

Oops, that's a missing dependency. New version heading to the repos...

daperl 2009-10-19 20:37

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by pycage (Post 351756)
Wow, incredible! So many guys crowding around a girl's mirror.

[even spookier]You're missing the point. It defaults to debug mode, which of course continues to run in the background and publishes everything, including sound, to youtube.[/even spookier]

allnameswereout 2009-10-19 20:42

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 351381)
I see making a video of this in action is inevitable :) Yes, it's a horizontal flip, the point being in simplicity - you don't need to take a picture or start/apply anything extra. You start the app, you get a mirror, as easy as that.

This is awesome. Now I can stop using my iPod's glossy display to manage them pimples. :cool:

matteone 2009-10-20 16:37

Re: [ANNOUNCE] Mirror
 
Hi to all.

I installed everithing without any problem ... great.
And the program runs without any problem. But ... ... in the scree I see a darker band than the rest on the right side.
I tried on 2 N900 ... and the results is the same.
Is this a problem of the internal camera or ... what is this ?

Look at the screenschoot ( am I beautiful ? :-) ).

Thanks !

http://i38.tinypic.com/259e9m0.jpg


All times are GMT. The time now is 20:01.

vBulletin® Version 3.8.8