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)

MSameer 2013-02-24 14:07

[Announce] cameraplus, An alternate open camera application for Harmattan
 
Hi,

Cameraplus is an alternate open camera application initially developed for Harmattan.

Cameraplus captures images, records videos, has timer support, has a nice post capture page and a bunch of other features including my beloved zoom during video recording ;-)

You can also get it from OpenRepos here: https://openrepos.net/content/msameer/cameraplus

The code is here: https://github.com/foolab/cameraplus

All harmattan specific issues

Changelog

Issue tracker

Cameraplus for SailfishOS

Enjoy :)

myname24 2013-02-24 14:19

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
camera error . please restart the application .
do i need to reboot or something else ?

edit : it run only when root

devel-su
(pass)
cameraplus

and it should work

edit 2 : great UI much better than default camera .

Jeffrey04 2013-02-24 14:32

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
i installed the version located in this repository http://repo.pub.meego.com/home:/msam...tandard/armel/ but I get camera error like @myname24 too

but running as root as suggested gives these messages (yea, app should work as root)
Quote:

~ # cameraplus
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QDir::mkpath: Empty or null file name(s)

DBus error:
org.freedesktop.DBus.Error.AccessDenied
Rejected send message, 2 matched rules; type="method_call", sender=":1.104" (uid=0 pid=2245 comm="cameraplus ") interface="com.nokia.positioningd.client" member="registerListener" error name="(unset)" requested_reply=0 destination="com.nokia.positioningd.client" (uid=29999 pid=1024 comm="/usr/bin/positioningd "))
Successfully resolved MeeGo graphics system: /usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so

MeegoGraphics: found EGL_NOK_image_shared
MeegoGraphics: found EGL_KHR_lock_surface2
MeegoGraphics: found EGL_KHR_fence_sync
X Error: BadDamage (invalid Damage parameter) 153
Extension: 146 (Uknown extension)
Minor opcode: 2 (Unknown request)
Resource id: 0x380000e

DBus error:
org.freedesktop.DBus.Error.AccessDenied
Rejected send message, 2 matched rules; type="method_call", sender=":1.104" (uid=0 pid=2245 comm="cameraplus ") interface="com.nokia.positioningd.client" member="configSession" error name="(unset)" requested_reply=0 destination="com.nokia.positioningd.client" (uid=29999 pid=1024 comm="/usr/bin/positioningd "))

DBus error:
org.freedesktop.DBus.Error.AccessDenied
Rejected send message, 2 matched rules; type="method_call", sender=":1.104" (uid=0 pid=2245 comm="cameraplus ") interface="com.nokia.positioningd.client" member="configSession" error name="(unset)" requested_reply=0 destination="com.nokia.positioningd.client" (uid=29999 pid=1024 comm="/usr/bin/positioningd "))
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
libomap3camd 1.136
CC reset, prev_cc: 0 new_cc 50780 new offset: -50780
MServiceFwBaseIf: MServiceFwBaseIf::resolveServiceName( ifName= "com.nokia.maemo.meegotouch.ShareUiInterface" , preferredService= "" )
MServiceFwBaseIf: no preferred service and am connected to dbus so asking servicemapper
MServiceFwBaseIf: MServiceFwBaseIf::resolveServiceName( ifName= "com.nokia.maemo.meegotouch.GalleryInterface" , preferredService= "" )
MServiceFwBaseIf: no preferred service and am connected to dbus so asking servicemapper
Meego graphics system destroyed
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 135 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x380000b
X Error: BadShmSeg (invalid shared segment parameter) 135
Extension: 135 (MIT-SHM)
Minor opcode: 2 (X_ShmDetach)
Resource id: 0x380001c
QObject::startTimer: QTimer can only be used with threads started with QThread
just wondering, will you include front camera in future releases?

MSameer 2013-02-24 14:40

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
My bad. I forgot to inject the aegist manifest.

I am fixing it now. Please give me some time :)

MSameer 2013-02-24 15:49

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
I updated the package. Same place. Just redownload and install :)

And yes, I am planning to support front camera but I need to find a proper place for the front <-> back switch in the UI.

Kozzi 2013-02-24 16:15

"Not enough space to capture image"
Still have 8GB free though :?

MSameer 2013-02-24 16:19

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

Originally Posted by Kozzi (Post 1324819)
"Not enough space to capture image"
Still have 8GB free though :?

The 8 GB free are under /home/user/MyDocs ? Does /home/user/MyDocs/cameraplus/ exist ?

Does the original camera-ui capture images?

Kozzi 2013-02-24 16:25

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

Originally Posted by MSameer (Post 1324820)
The 8 GB free are under /home/user/MyDocs ? Does /home/user/MyDocs/cameraplus/ exist ?

Does the original camera-ui capture images?

-yes
-yes
-and yes

:-?

baem90 2013-02-24 16:36

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Thank you, really nice!
aNy possibility if you can include those image captured into DCIM folder? Cause my wazzap cannot access into cameraplus folder :)

MSameer 2013-02-24 16:40

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

Originally Posted by Kozzi (Post 1324822)
-yes
-yes
-and yes

:-?

Could you please try the attached .deb? That should hopefully work ;)

EDIT: Package updated so no need for the attachment.

chenliangchen 2013-02-24 16:42

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Can you please add support for camera button on N950 (if it exists)? Thank you! This is aewsome!! :)

MSameer 2013-02-24 16:43

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

Originally Posted by baem90 (Post 1324825)
Thank you, really nice!
aNy possibility if you can include those image captured into DCIM folder? Cause my wazzap cannot access into cameraplus folder :)

I was a bit reluctant to do that as cameraplus is still in alpha stage. I'd be afraid of overwriting user captured images by mistake.

I can however make it configurable somehow via one of the many configuration files of cameraplus/qtcamera :)

Kozzi 2013-02-24 16:43

Quote:

Originally Posted by MSameer (Post 1324826)
Could you please try the attached .deb? That should hopefully work

thanks it works now :)

MSameer 2013-02-24 17:00

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

Originally Posted by Kozzi (Post 1324829)
thanks it works now :)

Well, you had too much free space :P
Time to fill your phone with something :D

Quote:

Originally Posted by chenliangchen (Post 1324827)
Can you please add support for camera button on N950 (if it exists)? Thank you! This is aewsome!! :)

I'd like to but I have no means of testing that it works :(

Kozzi 2013-02-24 18:27

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

Originally Posted by MSameer (Post 1324835)
Well, you had too much free space :P
Time to fill your phone with something :D

well, I have 64GB version :rolleyes:

wolke 2013-02-24 21:01

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
whered it go?

www.rzr.online.fr 2013-02-24 22:49

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
upgraded in shared repo as well

PIDk 2013-02-25 10:57

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

It is really awesome!

Forced focusing (this drag-to-focus gesture) is a bit buggy though. And I think It would be more convenient to call default gallery app (and not hand-made one) when you click gallery button.

BTW, you could find cameraplus here: http://repo.pub.meego.com/home:/rzr:....0-1_armel.deb (thanks to RzR)

kai_en 2013-02-25 12:09

I found that picture captured in portrait mode is cut by 1/3 when viewed in the gallery, only when you pinch to zoom in and then zoom out will it render it back to normal.

EDIT: Also, would it help if you place photos in /home/usr/MyDocs/Pictures/cameraplus ? Because wazapp has no problem reading pictures from the “Picture” folder

hadjistyllis 2013-02-25 13:52

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
does this application use face detection?

MSameer 2013-02-25 14:38

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

Originally Posted by PIDk (Post 1325007)
Wow!

It is really awesome!

Forced focusing (this drag-to-focus gesture) is a bit buggy though. And I think It would be more convenient to call default gallery app (and not hand-made one) when you click gallery button.

BTW, you could find cameraplus here: http://repo.pub.meego.com/home:/rzr:....0-1_armel.deb (thanks to RzR)

How buggy is it ? What's the problem ?
You can still access gallery app from menu-> captures in gallery. I haven't made a gallery app. I just made a post capture view since the gallery default post capture view needs meego touch.

MSameer 2013-02-25 14:40

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

Originally Posted by kai_en (Post 1325025)
I found that picture captured in portrait mode is cut by 1/3 when viewed in the gallery, only when you pinch to zoom in and then zoom out will it render it back to normal.

EDIT: Also, would it help if you place photos in /home/usr/MyDocs/Pictures/cameraplus ? Because wazapp has no problem reading pictures from the “Picture” folder

Picture cut might be because the size is not set properly. I will debug and see :)

As for changing the save location, I am being asked to dsave in MyDocs/DCIM and MyDocs/Pictures (2 different requests from 2 different users :)) because of wazapp.

I believe that wazapp should be fixed but I can also add a configuration to change the save location but I don't think I can save in 2 different places at the same time ;)

thedead1440 2013-02-25 14:43

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
I would vote for ~/MyDocs/DCIM as that's where the default camera app saves pictures. This way in the stock gallery app you can filter out Pictures from captured images in the second tab.

Thanks!

kai_en 2013-02-25 15:04

Quote:

Originally Posted by MSameer (Post 1325059)
Picture cut might be because the size is not set properly. I will debug and see

As for changing the save location, I am being asked to dsave in MyDocs/DCIM and MyDocs/Pictures (2 different requests from 2 different users ) because of wazapp.

I believe that wazapp should be fixed but I can also add a configuration to change the save location but I don't think I can save in 2 different places at the same time

i mentioned “Pictures” Folder due to your reasoning that this software is still at testing stage and you don't want to mess up DCIM, otherwise I would love it to be at DCIM instead.

MSameer 2013-02-25 19:58

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
As I said earlier, I am going to add an option to save in DCIM even though I believe that wazapp should still be fixed :)

BTW gallery doesn't assume pictures underneath DCIM were captured by camera. Gallery uses maker note to get all captures :)

PIDk 2013-02-25 20:26

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

Originally Posted by MSameer (Post 1325057)
How buggy is it ? What's the problem ?

When you drag from shutter button to (precisely) focus area, this forced focus mode becomes "stuck". Focus area remains blue and continues to make "focused" sound with every photo taken.

MSameer 2013-02-25 21:02

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

Originally Posted by PIDk (Post 1325168)
When you drag from shutter button to (precisely) focus area, this forced focus mode becomes "stuck". Focus area remains blue and continues to make "focused" sound with every photo taken.

I don't get you here (or I cannot reproduce it) :(

MSameer 2013-02-25 23:29

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
0.0.1 is out which puts captures underneath DCIM. It should not overwrite existing images. Worst case is it fails to capture which would be a bug in cameraplus.

thedead1440 2013-02-26 02:21

Re: [Announce] cameraplus, An alternate open camera application for Harmattan
 
Thanks for the update; captured images show up in gallery's second tab :)

One issue is that when viewing a captured image in the viewer within the app in portrait orientation, the file name overlaps with the day/date leading to fudged numbers presumably due to the length of both strings. This isn't an issue in landscape due to the wider area.

MSameer 2013-02-26 19:29

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

Originally Posted by thedead1440 (Post 1325236)
Thanks for the update; captured images show up in gallery's second tab :)

One issue is that when viewing a captured image in the viewer within the app in portrait orientation, the file name overlaps with the day/date leading to fudged numbers presumably due to the length of both strings. This isn't an issue in landscape due to the wider area.

I fixed that in git. Will try to release today or tomorrow depending on how many issues I can fix :) Thanks for reporting it!

MSameer 2013-02-26 19:49

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

Originally Posted by kai_en (Post 1325025)
I found that picture captured in portrait mode is cut by 1/3 when viewed in the gallery, only when you pinch to zoom in and then zoom out will it render it back to normal.

EDIT: Also, would it help if you place photos in /home/usr/MyDocs/Pictures/cameraplus ? Because wazapp has no problem reading pictures from the “Picture” folder

I have seen this problem but cannot get it to happen anymore. I'd be greatly thankful if you could give me detailed steps to reproduce.

EDIT: Problem now fixed and 0.0.2 is out :)

chenliangchen 2013-02-26 22:53

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

Originally Posted by MSameer (Post 1324835)



I'd like to but I have no means of testing that it works :(

Would be grateful to test it for you! ;)

praveenchand 2013-02-27 05:46

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

Originally Posted by MSameer (Post 1325494)
I have seen this problem but cannot get it to happen anymore. I'd be greatly thankful if you could give me detailed steps to reproduce.

EDIT: Problem now fixed and 0.0.2 is out :)


Thanks for the quick update..

MSameer 2013-03-01 16:34

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

Originally Posted by chenliangchen (Post 1325538)
Would be grateful to test it for you! ;)

Thanks for offering. However, getting timer, fast capture and front camera is of a higher priority.

kai_en 2013-03-02 00:19

Thanks for the update, I'm sorry that I couldn't reply you further, I was quite occupied by work recently. Anyway I've tested portrait mode, it displayed in proper size and orientation now.

However, when viewing the picture in the built-in gallery, I found that portrait photos tend to looked fuzzy and poorly rendered like badly resized thumbnail. No such problem for landscape photos though. Everything looks fine though using the Gallery

This leads me to a subsequent question, why do you build your own gallery instead of using the existing one? Is it because the gallery is closed?

MSameer 2013-03-02 00:49

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

Originally Posted by kai_en (Post 1326298)
Thanks for the update, I'm sorry that I couldn't reply you further, I was quite occupied by work recently. Anyway I've tested portrait mode, it displayed in proper size and orientation now.

However, when viewing the picture in the built-in gallery, I found that portrait photos tend to looked fuzzy and poorly rendered like badly resized thumbnail. No such problem for landscape photos though. Everything looks fine though using the Gallery

This leads me to a subsequent question, why do you build your own gallery instead of using the existing one? Is it because the gallery is closed?

It's quite strange that they look different.

I know that thumbnail loading and saving is handled by libquill which is also used by me.

I didn't really build a full gallery. I just built a browser for captured images. It misses a lot of the features in gallery (Even though building a gallery alternative is easy except the face detection part).

I did that for 2 main reasons:
1) Built in gallery being MeeGo Touch based and not QML.
2) I intend to try to get camera+ working on nemo too thus I cannot depend on Harmattan gallery.

TMavica 2013-03-02 03:27

The icon is small

kai_en 2013-03-02 07:54

Actually, upon further testing, I found that portrait pictures are badly rendered all across the places on either the gallery app and your built in app. Only by zooming in and out, will it renders properly.

MSameer 2013-03-02 12:54

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

Originally Posted by kai_en (Post 1326333)
Actually, upon further testing, I found that portrait pictures are badly rendered all across the places on either the gallery app and your built in app. Only by zooming in and out, will it renders properly.

Does that include the portrait images captured by the harmattan camera app?

MSameer 2013-03-02 12:55

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

Originally Posted by TMavica (Post 1326313)
The icon is small

Which icon ? The one leading to the post capture view? If so then yes but I am planning to make it a bit bigger and add some eye candy ;)


All times are GMT. The time now is 00:35.

vBulletin® Version 3.8.8