maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Announce] cameraplus, An alternate open camera application for Harmattan (https://talk.maemo.org/showthread.php?t=89278)

kai_en 2013-03-02 14:26

Quote:

Originally Posted by MSameer (Post 1326384)
Does that include the portrait images captured by the harmattan camera app?

Nope, harmattan camera app worked just fine.

TMavica 2013-03-02 14:30

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
the apps icons

MSameer 2013-03-02 19:33

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by kai_en (Post 1326394)
Nope, harmattan camera app worked just fine.

I really tried to see a difference but couldn't see any blur in the portrait images...

I am not really sure what could be the reason. One thing I can do is to prevent quill from saving generated preview images


I know what's going on, gallery generate screen size preview images while I generate preview thumbnails that are half the screen size. Seems I am using libquill incorrectly somehow.

I managed to fix it in 0.0.3. It should work perfectly. The fix is not the best way but it works fine :)

The issue is quill is a bit under documented :P

kai_en 2013-03-03 01:41

Hi, I just tested. The captured picture looks fine in the Gallery app.

However, the built-in photo browser you made still have problem rendering the photo properly.

EDIT: in fact further testing, it seems that the photo browser has problem rendering portrait photo captured by Harmattan camera app as well. AFAIK, that wasn't an issue previous but I could be a problem.

MSameer 2013-03-03 09:01

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by kai_en (Post 1326487)
Hi, I just tested. The captured picture looks fine in the Gallery app.

However, the built-in photo browser you made still have problem rendering the photo properly.

EDIT: in fact further testing, it seems that the photo browser has problem rendering portrait photo captured by Harmattan camera app as well. AFAIK, that wasn't an issue previous but I could be a problem.

Is it still blurry ?

knobtviker 2013-03-03 10:46

Let me get this cleared up.
This app uses the same binary as stock camera app, but UI is improved?

MSameer 2013-03-03 10:54

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by knobtviker (Post 1326538)
Let me get this cleared up.
This app uses the same binary as stock camera app, but UI is improved?

What binary?

KTy 2013-03-03 11:14

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Question from knotviker is if you use the stock cmaera driver but improve the uI ?
Or do you also use customized/new camera drivers ?

By the way, could you add an option I am dying to see on our camera: the ability to differentiate between point of focus and point of white balance ! Thanks!

lorenzo 2013-03-03 11:20

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
would be nice a faster burst shot (3-5 per second)

MSameer 2013-03-03 11:59

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by KTy (Post 1326546)
Question from knotviker is if you use the stock cmaera driver but improve the uI ?
Or do you also use customized/new camera drivers ?

By the way, could you add an option I am dying to see on our camera: the ability to differentiate between point of focus and point of white balance ! Thanks!

Yes, it's built on top of all the existing components.
There are only 2 components which are closed:
1) libomap3camd Has all the algorithms and and does the actual image capture.
2) gst-gltexture sink which is the GStreamer component used for rendering.

Everything else beside the 2 above mentioned components is open
I am planning to create a similar open sink to be used for mer/nemo but hadn't had time for that yet.

I am not sure the lower levels support points of white balance as I am really limited by what is implemented by omap3camd :(

Quote:

Originally Posted by lorenzo (Post 1326548)
would be nice a faster burst shot (3-5 per second)

Yes I am planning to implement that but it will take a while.
The issue is: When I first planned camera+, I planned to have plugins. It's something I wanted to see in stock camera ui but didn't happen.
The idea was to provide the basic modes in the applications and let plugins define other capture modes (Panorama, HDR, burst capture, self timer, ...). Part of the plugins interface would be providing access to the actual viewfinder frames so plugins can do custom analysis and paint whatever on top of the viewfinder.

This work has not yet been started but I am sure I will start experimenting with it soon. Just stay tuned :)

knobtviker 2013-03-03 12:01

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Oh ok, thanks for the answer :)
I'm just asking, I don't know. :)

chenliangchen 2013-03-06 23:21

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
1 Attachment(s)
Changed the .ini on N950

High 4:3 4000x3000 12MP
High 16:9 4000x2248 9MP

Don't know about 3:2, maybe 3999x2666?

Anyway, the high 4:3 and 16:9 works well on N950. Although the top left corner doesn't show MP correctly after change.

This is so much better than stock camera, especially on my N950, the stock ui lags as hell on 512mb ram, now I can get rid of it! :D

Thank you!!

MSameer 2013-03-06 23:55

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by chenliangchen (Post 1327355)
Changed the .ini on N950

High 4:3 4000x3000 12MP
High 16:9 4000x2248 9MP

Don't know about 3:2, maybe 3999x2666?

Anyway, the high 4:3 and 16:9 works well on N950. Although the top left corner doesn't show MP correctly after change.

This is so much better than stock camera, especially on my N950, the stock ui lags as hell on 512mb ram, now I can get rid of it! :D

Thank you!!

Glad it works for you but please take care to close the application after using it otherwise the GPS will continue to run :(

The top-left corner cannot show it correctly because there is no icon for the new resolutions :(

chenliangchen 2013-03-07 00:04

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by MSameer (Post 1327360)
Glad it works for you but please take care to close the application after using it otherwise the GPS will continue to run :(

The top-left corner cannot show it correctly because there is no icon for the new resolutions :(

Thank you! I closed it everytime after use. :)

About icons - if you need to make more icons the community may be able to help. For additional 4:3, 16:9 it should be 12MP and 9MP. This takes from the N8 resolution, N950 uses the same size of lens (2.8/28, 12MP) as N8, so this resolution should be reliable.

About 3:2 I think it should be around 10MP.

Will you consider add these to future build? I'm sure a lot N950 users will benefit from that. :)

MSameer 2013-03-07 00:11

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by chenliangchen (Post 1327361)
Thank you! I closed it everytime after use. :)

About icons - if you need to make more icons the community may be able to help. For additional 4:3, 16:9 it should be 12MP and 9MP. This takes from the N8 resolution, N950 uses the same size of lens (2.8/28, 12MP) as N8, so this resolution should be reliable.

About 3:2 I think it should be around 10MP.

Will you consider add these to future build? I'm sure a lot N950 users will benefit from that. :)

It should be 3984x2992 for 4:3 12MP
3968x2224 for 16:9 (8.3 MP)
3984x2656 for 3:2 (10.6 MP)

I still need to find out the preview sizes because they are hw generated and their resolution have to be calculated. IIRC hardware resizer used by N9 can resize no more than 25% to 400% of a given resolution but the preview has to be as close as possible to screen size in order to be more efficient ;)

I should create an N950 specific settings file, the deb package should detect the phone type and activate the needed file in its post install script but I haven't yet done this.

Of course anyone can create an editor for the configuration file that manipulates the resolutions and other settings. Should be easy :)

As for icons, I am sure our great community will help. It happened before :) I am just too shy to ask :D

Travz03 2013-03-07 04:23

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Can you make geotagging not dependent on Mobile Connection? Because if you don't want to use 2G/3G, it will prompt you to connect still. Therefore the camera won't be usable except you choose not to geotag your photo. Thanks.

hadjistyllis 2013-03-07 15:04

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Will you port this for n900 in the future? It seems the grade camera upgrade we are waiting for.

MSameer 2013-03-07 19:16

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by Travz03 (Post 1327393)
Can you make geotagging not dependent on Mobile Connection? Because if you don't want to use 2G/3G, it will prompt you to connect still. Therefore the camera won't be usable except you choose not to geotag your photo. Thanks.

GPS itself is not dependent on your connection. Geotags are the part to be blamed here. Just disable it from settings.

There is no way to use geotags without connection. It's needed to "translate" the GPS coordinates to a location.

However, the connection dialog should not pop up continuously. Only once or twice.

Quote:

Originally Posted by hadjistyllis (Post 1327475)
Will you port this for n900 in the future? It seems the grade camera upgrade we are waiting for.

Unfortunately no. I have no plans to port it at all but anyone can do it easily. What you need is to get camerabin2 working for N900. That should at least allow the viewfinder to run ;)

chenliangchen 2013-03-07 22:06

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
@Msameer

Is it possible to change .ini configuration to enable the camera shutter on N950? Or any other tricks to enable it? Sorry for not being patient, I'm so in love with this app. :P

MSameer 2013-03-07 22:08

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by chenliangchen (Post 1327558)
@Msameer

Is it possible to change .ini configuration to enable the camera shutter on N950? Or any other tricks to enable it? Sorry for not being patient, I'm so in love with this app. :P

What do you mean?

chenliangchen 2013-03-07 22:18

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by MSameer (Post 1327559)
What do you mean?

Is there anyway to enable camera shutter on N950 on current release?:)

MSameer 2013-03-07 22:19

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by chenliangchen (Post 1327562)
Is there anyway to enable camera shutter on N950 on current release?:)

What do you mean by "enable camera shutter" ?

chenliangchen 2013-03-07 22:24

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
There is a camera button on early N950s, like previous Nokia symbian devices, but its disabled in Harmattan. Is it possible to enable it in your app for taking pictures? :)

MSameer 2013-03-07 22:27

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by chenliangchen (Post 1327565)
There is a camera button on early N950s, like previous Nokia symbian devices, but its disabled in Harmattan. Is it possible to enable it in your app for taking pictures? :)

You mean old prototypes? Unfortunately it's not possible yet. I might do it one day but it's really of a low priority. I have no way to test it if I do it.

However, I can guide someone if s/he feels like coding it.

chenliangchen 2013-03-07 22:31

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Thank you! Please add it if you finished the major tarket. Thank you in advance! :)

Eroico 2013-03-08 01:38

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
It was a time that I did not install anything new on my N9. Loved this application. Congratulations for the work and hope to continue improving.

lorenzo 2013-03-10 10:57

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
maybe these icons suits better in n9 homescreen ;)
http://icondatabase.net/icons/hplusl...n9-iconpack-63
http://icondatabase.net/icons/hplusl...eracamera-icon

MSameer 2013-03-10 12:10

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by lorenzo (Post 1328073)

I checked the icons but could not tell what the license for them is...

lorenzo 2013-03-10 13:27

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
i think you can use them
http://icondatabase.net/about/rules

thedead1440 2013-03-10 13:37

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Or something from a community member: http://talk.maemo.org/showpost.php?p...&postcount=237

MSameer 2013-03-10 13:56

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Free doesn't mean I can freely use and distribute it. Camera+ is under the LGPL and all the bits used by it needs to have this license.

I'd really love to have own icons instead of using the icons from harmattan. That would make it easy to move to mer/nemo

ThisIsZedd 2013-03-10 14:10

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
I installed this app on my N9 (0.3 version) but when i open it "camera error. Restart the application" appears. What should i do?

MSameer 2013-03-10 14:13

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by ThisIsZedd (Post 1328116)
I installed this app on my N9 (0.3 version) but when i open it "camera error. Restart the application" appears. What should i do?

Could you please run it from a terminal ? and paste the output here?

HtheB 2013-03-10 18:58

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
is there an option to use the volume button as shutter?

edit:
where is the qtcamera.ini file located at? couldn't find it :confused:

MSameer 2013-03-10 20:38

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by HtheB (Post 1328206)
is there an option to use the volume button as shutter?

edit:
where is the qtcamera.ini file located at? couldn't find it :confused:

qtcamera.ini is in /usr/share/qtcamera/config/

Why do you need to modify it ? For N950 ? :)

Unfortunately using zoom button for capturing is not yet implemented. It can be done easily but how does it work in practice? Normal shutter button is a 2 level button. half press to focus and then full pres to capture. zoom button has onl one level so if you press it, image will be captured without focus. Or am I mistaken?

HtheB 2013-03-10 22:42

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by MSameer (Post 1328217)
qtcamera.ini is in /usr/share/qtcamera/config/

Why do you need to modify it ? For N950 ? :)

Unfortunately using zoom button for capturing is not yet implemented. It can be done easily but how does it work in practice? Normal shutter button is a 2 level button. half press to focus and then full pres to capture. zoom button has onl one level so if you press it, image will be captured without focus. Or am I mistaken?

Thanks!
Yes, the ''normal'' N950's doesn't have the camera button.
Well, I can first press the screen to focus, after that, I can take the picture with the volume button. (Somehow, I don't like on screen shutter button)

Hope you can add this feature! :)

Edit:
what are the best settings for the 12MP on the N950?

Hacker 2013-03-10 23:09

Using N9 Button Monitor app, you can program the N9 to use the volume buttons as the camera button. The problem is that the volume buttons will always have their original function in addition to the programmed camera button function, which means that they will zoom in or out, altering the shot.

If cameraplus could bypass the normal zoom function of the volume rocker buttons, so that they could be used soley as focus-shoot camera controls, then that would be double awesome. The on-screen controls of the zoom function are plenty effective--I'd love to use the buttons just for focus and shoot.

FYI, as it is now, one approach is to program the long down press of the volume up key as the camera focus activator and the release of the button actually takes the photo. Single button press to shoot is another way.

MSameer 2013-03-10 23:17

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by HtheB (Post 1328236)
Thanks!
Yes, the ''normal'' N950's doesn't have the camera button.
Well, I can first press the screen to focus, after that, I can take the picture with the volume button. (Somehow, I don't like on screen shutter button)

Hope you can add this feature! :)

Edit:
what are the best settings for the 12MP on the N950?

Check here http://talk.maemo.org/showpost.php?p...5&postcount=52 and here http://talk.maemo.org/showpost.php?p...2&postcount=55

I really don't know which one is correct. I need to find more time to figure it out.

As for the on screen button, I hate it as well :(

The issue is tapping the screen is reserved for touch focus.

An idea would be using the proximity sensor too instead of the zoom. Cover proximity to capture :) but how do you focus? That is the question :)

MSameer 2013-03-10 23:27

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by Hacker (Post 1328243)
Using N9 Button Monitor app, you can program the N9 to use the volume buttons as the camera button. The problem is that the volume buttons will always have their original function in addition to the programmed camera button function, which means that they will zoom in or out, altering the shot.

If cameraplus could bypass the normal zoom function of the volume rocker buttons, so that they could be used soley as focus-shoot camera controls, then that would be double awesome. The on-screen controls of the zoom function are plenty effective--I'd love to use the buttons just for focus and shoot.

FYI, as it is now, one approach is to program the long down press of the volume up key as the camera focus activator and the release of the button actually takes the photo. Single button press to shoot is another way.

If you want to prevent camera+ from reacting to zoom key presses then you need to acquire ScaleButtonType resource via policy engine :)

Using zoom for capturing is not an issue. It's easy to capture an image when you press but the issue is capturing an image involves focusing.

How stock camera and camera+ work is:
- Press the shutter button and immediately release -> grabshot without focusing.
- Press the shutter button for more than 200ms -> start focusing
- Release the shutter button after pressing for more than 200ms -> capture an image regardless of the focus state.
- Move your finger out of the button regardless of how long you press -> focus operation stops and capturing never happens.

Now how do I map all the above to 1 zoom button ? :(

EDIT: I wonder if both buttons (zoom + and - ) can be pressed at the same time? If so then we can use one for focus and the other for capturing. It seems possible to press both on my N950 but yet to try on N9. Not sure what qmsystem will report in such case :)

HtheB 2013-03-10 23:46

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Quote:

Originally Posted by MSameer (Post 1328245)
If you want to prevent camera+ from reacting to zoom key presses then you need to acquire ScaleButtonType resource via policy engine :)

Using zoom for capturing is not an issue. It's easy to capture an image when you press but the issue is capturing an image involves focusing.

How stock camera and camera+ work is:
- Press the shutter button and immediately release -> grabshot without focusing.
- Press the shutter button for more than 200ms -> start focusing
- Release the shutter button after pressing for more than 200ms -> capture an image regardless of the focus state.
- Move your finger out of the button regardless of how long you press -> focus operation stops and capturing never happens.

Now how do I map all the above to 1 zoom button ? :(

The last step could be easily done by pressing on the screen.

So when you hold down the volume button, after the focus, if you press on the screen, it will cancel the "focus" and you need to press the volume button again to focus.


All times are GMT. The time now is 22:31.

vBulletin® Version 3.8.8