Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-01-19, 00:36
SpeedEvil's Avatar
SpeedEvil SpeedEvil is offline
 
Join Date: Sep 2009
Location: Fife, Scotland.
Posts: 70
Thanks!: 54
Thanked 410 Times in 38 Posts
Default Secret night-vision mode!!!

If you have extras-devel configured - install mplayer, and try in a darkish place:
open the camera, do not dismiss the camera, but at least ask it to focus by pressing the shutter halfway. Dismiss camera.
Open shell

mplayer tv:// -tv device=/dev/video0

It's not bad - but you will notice the screen is very dark - and there is no noise.
What happens if you simply amplify the picture?

mplayer tv:// -tv device=/dev/video0:width=320:height=240 -vf eq=77:100,eq=10:100,eq=50:100,scale=160:120,denois e3d=8:6:22,eq=0:99

This is surprisingly good for a quick hack, and generates viewable - though not good - images - when the camera preview window normally shows nothing but black.

your n900 may vary - to increase or decrease the brightness - use the 3 and 4 buttons (you will of course need to use shift).

Obvious things that could improve this.

There is considerable fixed noise in the image. If this was removed first, it would greatly improve the picture quality.

If the camera could be slowed down in frame rate, rather than always running at 30fps or so - it may also greatly improve.

the above mplayer comand takes a 320*240 video stream, and uses three 'eq' filters to simply boost the level of the picture.
Then the denoise3d filter is used to remove a lot of noise, and the final eq filter boosts the levels to make it more visible.
Reply With Quote
The Following 4 Users Say Thank You to SpeedEvil For This Useful Post:
  #2  
Old 2010-01-19, 01:10
Renkon Renkon is offline
 
Join Date: Jan 2010
Location: That beer and prezels country in Europe -_-
Posts: 86
Thanks!: 7
Thanked 28 Times in 20 Posts
Default Re: Secret night-vision mode!!!

Well, that's not a "Secret Night Vision Mode", so your topic is misleading
It's alternative video streaming from the camera with visual filters.

But thanks for pointing this out, could come handy
Reply With Quote
The Following 2 Users Say Thank You to Renkon For This Useful Post:
  #3  
Old 2010-01-19, 02:33
kopte3's Avatar
kopte3 kopte3 is offline
 
Join Date: Sep 2009
Location: Serbia, Belgrade
Posts: 270
Thanks!: 942
Thanked 303 Times in 71 Posts
Default Re: Secret night-vision mode!!!

So, now we know what Q (oh, sorry R) is going to give 007 in the next movie...
Reply With Quote
  #4  
Old 2010-01-31, 13:32
ossipena's Avatar
ossipena ossipena is offline
 
Join Date: Feb 2008
Location: Finland
Posts: 3,159
Thanks!: 3,087
Thanked 2,023 Times in 993 Posts
Default Re: Secret night-vision mode!!!

edit the topic, please. now it is totally misinformative
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
Reply With Quote
  #5  
Old 2010-01-31, 14:11
shadowjk shadowjk is offline
 
Join Date: Mar 2009
Posts: 1,258
Thanks!: 271
Thanked 672 Times in 360 Posts
Default Re: Secret night-vision mode!!!

how does -vf pp=al:f compare to that?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:38.