Kubuntu with Epson V300 scanner and (k) a problem

by Andi

After little more than 5 years of private use Linux I'm used eight before buying new computer peripherals, at least on it, if I with the appropriate choice is not a device put on land that in the worst case does not want to work with Linux.

So I did some research before purchasing a scanner and a bit and came to the conclusion that would be the Epson Perfection V300 Photo Scanner for the best choice for our purposes. Epson offers on its own matching packages and even a software to scan in, so that the benefits of this unproblematic Lichtreflektionsabtastgeräts nothing stands in the way. You guessed it, the little word "actually" has since slipped into the sentence.

8305-epson_v300_scanner

In any case, the scanner was unpacked and makes a great figure, even if he is perhaps a little too big. On the other hand, he also has a transparency adapter, so it was forgiven that. So just install the drivers and started up the software, but no connection possible. Hmm, but according to the many sites I had previously consulted the will but go no further ....

After some back and forth it turned out that I had installed the drivers for the well-6x as expensive V700. Well I've heard that you can drive a golf with Formula 1 tires, but whether there will be more than straight ahead of it is, may be doubted. Say, you should simply use the correct drivers, then it will come with the scanner. Apparently my brain has problems but actually V300 and V700 to keep them apart. When I wrote this text, I was at the mention of V300 V700 before writing again shortly. At least so it was no short-term mental derangement, but rather a permanent state ;) Now I know even notice :)


Tags: , , , ,

Picasa 3.5 and face recognition

by Andi

Picasa Logo

Just the face recognition of iPhoto on Mac OS X always made me envious eye on the competition. Accordingly, I was thrilled by the announcement that this with Picasa 3.5 photo also in administration from the Google home was feeding. You can now also use facial recognition offline :)
There were facial recognition on the part of the Picasa Web Albums already since September 2008 , but who wants to unload all the images in Google's, recognize faces can be the only. In Namics.com there is also a little test to the Picasa Web Albums

Officially there is no Picasa 3.5 for Linux, so you have to make do by hand. Basically it is an installation in the home directory with a subsequent move to the system-wide / opt. A detailed guide to install Picasa 3.5 on Ubuntu can be found in OMG ubuntu.

Face detection and recognition

picasa-gesichter-scannen

If you have specified in Picasa which folders to scan, they are processed and scanned for faces. First, these faces in the folder "unknown faces" are listed. This is a temporary folder that will disappear once you have assigned all marked as unknown faces or ignored. Here, the face detection is great, but sometimes even funny mistakes. Thus, for example, well recognized as a face. That faces on posters and paintings have been identified, however, is again a matter of opinion and more in the area of semantics classified. I found interesting was Picasa's ability to recognize faces over time again. I received a number a familiar face in infancy, in a different folder properly presented as a face infancy.

The unfamiliar faces can optionally be grouped into the same faces and then are quickly zuorndbar at a stroke of a person. This grouping works surprisingly well again. Overall, one can note also that the entire identification process takes place very fast. My several thousand images have been scanned in a few hours and thereby detected ~ 6000 faces.

picasa-unbekannte-gesichter-gruppiert

As good as this group works so amazing is that actually familiar faces show up grouped as unknown. The re-identification can be so much to be desired. Picasa has problems, unfortunately, with twisted faces. From a certain angle they are no longer recognized. Purely logical point of view as no surprise, the inclusion of a rotation of the possible faces in a picture would also VER x times. Too bad it is nevertheless, that at least the stand on his head or a simple rotation by 90 degrees left or right has been incorporated in the recognition.

The surface

If you have completed the scanning process is generally followed by a mass post-processing. First, do the detected faces are assigned to other uninteresting and ignored. This is lacking in the consideration of a single image in a "All the faces ignore" button and you should ignore every single face. Especially with pictures from holidays, or even pictures of demos (;)) is an annoying issue.
I also noticed that while ignoring apparently is also a bug and ignored some faces appear again and again. At least in the overview. In the single image view they are then gone. On the setting when Folder Manager, so that the folder only to one or more scans, I could not, unfortunately, this error, as originally suspected, limit. And this error is above all in the series of faces and to have ignored an annoying problem. One starts at the first face, they must be considered in the frame to ignore rename or and goes with the cursor right to the next image, dip the pictures on which are found listed in the overview still unknown faces, again and again and you must comply always skip.

People mark hand

picasa-person-markieren-button

Picasa also offers the possibility to people in the image to highlight that it has not even recognized. For example, if the person with his back to the camera stand or as just mentioned, the face is turned. However, the end is here but also inconsistent and would be a revision and extension worth. The button to select a person immersed in principle as to where you would expect: In the single image view, right below the already marked faces. But this only if you take a look at specific album. If you are in unknown people album, then the knob is simply not available. Actually, to understand, as you while checking the detected faces so grade here is to highlight people and make it so sense at this time would also not found people to mark. Thus, one must first go through so the unknown faces and can mark in a second pass through the actual albums missing.

picasa-person-markieren

The subsequent selection of a person is properly resolved at first, but would tolerate a rework. It is obtained when clicking on the button a box in the photo, you can move to mark the person. However, the usually too big or too small, but rarely match and is therefore often not beat around the box in line with the size. Much defizile Clicking work.
Would be sent to give a simple as always changing cursor with which you will then simply the box around the person's face and after you release the mouse button, it would still great, the cursor would jump in the naming field. This would simply be losgetippt it and finished with Enter the designation.
After all, the cursor jumps to the current implementation, after the move and a simple click in the box in the name field. Not optimal, but usable.

Use of the name input field is also not consistent. You can jump in the person view with a double in the name field, you have to explicitly click in the album view in the name field. If you want to cancel the appointment, this is sometimes possible with ESC, which once again leaves an inconsistent impression.

In summary, Picasa should not pretend box in passenger mark, after marking, jumping into the name field, and select the name field in the album view allow double.

Moreover, it is very convenient that we can go back from an area with Zoom In ESC the complete photo and reach with another ESC, the album view. At this end you get used to fast and examined it again in other applications.

picasa-unbekannte-gesichter-gruppiert

Once you are in the clustered unfamiliar faces, one can select a face with a tab in the Name field to jump below the image, type in the name and select Enter. When does a new person in the selection dialog with tab "New Person" mark and finish with Enter the entry. Designation as a mass by the well-thought sequence that is both mouse and keyboard users in no way ;)

picasa-neue-person-anlegen

Be careful in building a new person must be sure that the hook is turned off for the synchronization with the Web Albums, you do not want to give the profile photos of people at Google.

picasa-unbekannte-gesichter

In contrast, the unknown faces overview without grouping is inconsistent: we have it from the point of no name input, but above the table. The jump is quite possible there with tab, so that the treatment goes well, even if the unnecessary bother changing view.

Something stupid is that you can jump out of unfamiliar faces overview by double-clicking a face to the photo in each album, this is the right person list is not possible. This lack of function is noted and sometimes the nerves a bit. In addition, the list also shows right deficits, as the auto-complete irregular in naming does not start when you enter a name and so is virtually impossible to use.

Desirable Features

Metadata

The pity is that the associated faces separately tagged in the albums people have, there are therefore no metadata about the faces in the image stored within the file, such as EXIF, IPTC and XMP. On the other hand, it would be the question of how to put the open as possible, so that others can use the program (in the future may Digikam). Was supposed to be quite open in their meaning according to Google's new motto. And the memory of 2 pixel coordinates and a name as a day would in my view a lot of sense.

Groups

In the current version of Picasa offers Unfortunately, no groups of people. Currently I have created ~ 350 people and this is a very confusing thing without groups. Something out this clear is the fact that the search may take place during the marking on the nickname that can be deposited as additional information for a person.

Face Zoom

There is no practical function in connection with the faces. This gives the possibility in the table, either the entire image or only the area to see, in which the face is detected. So a zoom function to the face. For the people albums in a short time an indispensable function to quickly find the image you want.

Negative Filter

Unfortunately, Picasa is missing a negative filtering. This has nothing to do specifically with the face recognition, but would immensely help all the faces to find the mark you want: a filter for images with no day / face. Currently, this makes it difficult to view only photos that have just selected any tags or no faces, mark, for example, tagging / People make up without the images already worked also be considered.

Desirable improvements

to be available to persons in zoomed images mark

If the can is marked by people already not optimal, so disturbing even noticed that you can tick in the zoom mode, no person. One must remember that is where the person was and then put in the 100% representation the appropriate box. Somewhat impractical.

Number of confirmatory images

picasa-bestaetige-fragezeichen

Picasa will display a small orange icon next to the person, for which there are pictures to be confirmed. These entries in the lists of people come up, as is already the case if you use a calling people album and then scroll down (in this case the entry will open up and then scroll through the list below).
It would be a helpful to the information if you would get shown next to the orange question mark a number of how many faces are to be confirmed. Sometimes you may not be secure, and therefore open to a proposal without knowing the number so never know if there are new proposals.

Notice of the person proposed view

In person you can switch between all the albums and images to be confirmed. In principle, a clear function, it would be good if Picasa would remember if you want to see only the images to be confirmed, or at all. Currently you have to change in the people album again and again.

picasa-gesicht-bestaetigen

Faces automatically assign?

After a while I wondered whether Picasa should see the faces found not just automatically detect when a person has confirmed often enough. On the other hand, one can even display only the relevant faces and confirm all the "click and the false negative and then all confirm. The automatic sorting would probably involve more Korrigieraufwand and thus the less secure method.

Possible loss of face information in network drives

A gross error in Picasa I then stupidly also ran into. So we both can access the pictures, these are central to a file server. Now it is so that means time is crumbling, the network connection. If Picasa is running at the time, it has nothing to do better than the images to throw the jeweilligen drive from the database, it is necessary that a new scan. Unfortunately, I find the corresponding help entry grade in the Google did not help, but obviously some other problem and I hope it is fixed soon.

Conclusion

As you can see in some sections above, Picasa still suffers from many small children's diseases. These concern but fortunately only the surface. The face recognition works in themselves, in my opinion even better than I expected. If implemented, the proposals that I have mentioned in this article, I was very enthusiastic, so I see it but still positive, but notice that the marking of individuals is partly complicated than they should be.


Tags: , , , , ,

HOWTO PHP with automated messages will move Imap

by Andi

Sometimes you should just know it. If something is about three years ahead of them pushes, because at first glance it looks incredibly complicated, it can often be much easier to implement than expected.

About three years ago I switched to a new server and use since even your own mail server. Associated with the fact that I also handle spam filtering. Who wants to ~ 300 spams a day in the inbox have. Often, the spam detection mails detected as spam and may require them to be learned. Dspam this also provides a mechanism. However, there is no point in a spam mail more than once, so that the mails were learned, must either delete or move to another folder on the server. And exactly the latter, I had then considered briefly as well, then we do it first hand "accounts.
After the spam volume and thus increased the need to learn spam mails, I dedicated myself to this day the issue and realized that the whole thing in PHP is to solve a four-line script.

  1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 "USERNAME" ; $server = "{localhost:143/imap/tls/novalidate-cert}" ; $pw = "PASSWORT" ; $from = "INBOX.Spam.learn" ; $to = "INBOX.Spam.trained" ; // open connection to source mail folder $from_h = imap_open ( $server . $from , $user , $pw ) ; // message count in learn folder for for loop $msg_count = imap_num_msg ( $from_h ) ; for ( $i = 1 ; $i <= $msg_count ; $i ++ ) { if ( ! imap_mail_move ( $from_h , $i , $to ) ) { print_r ( imap_errors ( ) ) ; } } imap_expunge ( $from_h ) ; $ User = "USER NAME", $ server = "{localhost: 143/imap/tls/novalidate-cert}", $ pw = "PASSWORD", $ from = "INBOX.Spam.learn" $ to = "INBOX. Spam.trained "/ / open connection to source mail folder = $ from_h imap_open ($ server pw. $ from, $ user, $), / / message count in folder learn for for loop = $ msg_count imap_num_msg ($ from_h); for ($ i = 1, $ i <= $ msg_count, $ i + +) {if ()! imap_mail_move ($ from_h, $ i, $ to) {print_r (imap_errors ());}} imap_expunge ($ from_h) ; 

This is now not a quatrain, but the pure command set are four expressions ;) The script runs now, of course, parameterized with my data and move every night after the learning process, the mail and makes me so hopefully a more reliable spam detection.


Tags: , , , , , ,

Horde Groupware SyncML server for Symbian S60 and Thunderbird Connection

by Andi

Some time ago I wrote an article on the use of eGroupware as SyncML server at that time for my E61i.
Egroupware but showed some problems, such as synchronized without that help out not all calendar entries. Another issue that EGW has never really fallen.

Horde Groupware

I have now switched to Horde Groupware. The same SyncML offers the same capabilities, but between my use of any such childhood diseases such as PE. In addition, the web interface I like better because a lot simpler and I think more clearly. At the same time I have to say that I had PE in the newer versions no longer seen as well.

The installation of the Horde in this article before I leave outside, because you need to consider this matter little. So you install horde of the project download page . For me, Groupware 1.1.3 is in use. Current version is already to get 1.2.3. I hope the differences are not too big and it all works as described ;)

Calendar for SyncML / Subscribe unlock the

For the data to the calendar via SyncML can be picked up, the calendar will be released to subscribe. For this purpose, you open the calendar, open the right box and choose "Manage Calendars" from. Now a click on the key icon and "registered users", guest rights and object creator shows read and enter. The former are the rights to see the dates and the latter to see then what a date it. Forgives you read the law appears not, then only "private appointment" on the calendar. The same also applies when the mobile phone is the synchronization on a private rather than public.

Perhaps the award of these rights is not enough and it must be the same again on "Configuration" - make> Rights in the left menu for each application, that is notes, calendar, address book. Since my organization is already a while since I can not say what is necessary. For me, however, in both cases the shares issued.

Handy configure
If you have configured Horde goes to the phone: As with PE, and here are the following options to deposit.
Server Version: 1.1
Media: Internet
Access point:
Server: http://hordeserver/rpc.php
Port: 80

And for programs
Contact:. / Contacts
Calendar:. / Calendar
Notes:. / Notes

Note: If you later on https / SSL to, it may be that any other data source synchronized with the phone again and double-blow that. I had to sort out all the duplicates by hand. Happened only for contacts and notes. Therefore, you should choose the best words to start directly for https / SSL. And for the latter case, it also interesting that at every sync not confirm the certificate must be.

With the settings made can make the first synchronization.

View the calendar in Thunderbird with Lightning

Now we have the data but the network and on the phone, but who wants to always look in the browser / phone after the dates. By means of the Lightning calendar plugin allows you to get in the Thunderbird.

First you need to refer to the Lightning extension installed.

Modification of the calendar / Horde Kronolith
Unfortunately I had to realize that one's calendar, as follows may invest in Lightning and also asked for a username and password, but they're put to pass probably not correct, it's wrong that the delivery schedule. Solution for me was / kronolith ics.php to edit and at the beginning of the file parameters passed as Authenfifizierung to put the future. After editing the file looks like this:

  1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 ! $share -> hasPermission ( '' , PERMS_READ ) ) { // Authenticate. $auth = & #038;Auth::singleton($conf['auth']['driver']); $user = Util :: getFormData ( 'muser' ) ; $pw = Util :: getFormData ( 'mpw' ) ; $auth -> authenticate ( $user , array ( 'password' => $pw ) ) ; /*   if (!isset($_SERVER['PHP_AUTH_USER']) || !$auth->authenticate($_SERVER['PHP_AUTH_USER'], array('password' => isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : null)) || !$share->hasPermission(Auth::getAuth(), PERMS_READ)) { header('WWW-Authenticate: Basic realm="Kronolith iCalendar Interface"'); header('HTTP/1.0 401 Unauthorized'); echo '401 Unauthorized'; exit; }*/ } if ($ share -> Hasper Commission ('', PERMS_READ)) {/ / Authenticate Util. $ auth = & # 038; Auth:: singleton ($ conf ['auth'] ['driver']); $ user = :: getFormData ('muser'), $ pw = Util:: ('MPW'), $ auth -> authenticate ($ user, array ('password' => $ pw)) / * if (! getFormData isset ( $ _SERVER ['PHP_AUTH_USER']) | |! $ auth-> authenticate ($ _SERVER ['PHP_AUTH_USER'], array ('password' => isset ($ _SERVER ['PHP_AUTH_PW'])?] $ _SERVER ['PHP_AUTH_PW' null)) | |!: $ share-> Hasper Commission (Auth:: getAuth () PERMS_READ)) {header ('WWW-Authenticate: Basic realm = "Kronolith iCalendar Interface"') header ("HTTP/1.0 401 Unauthorized '); echo '401 Unauthorized'; exit;} * /} 

Horde calendar in Lightning set
For this one right-clicks in the left pane of Lightning and select "New Calendar" followed by "the network". In the next dialog leaves it at "ICS" and gives the address "http://domain/horde/kronolith/ics.php?muser=_user_&mpw=_passwort_&c=_kalenderuser_" at. That is, we will pass the username and password via parameters instead of after you click the "Next" to ask for the password. This was at least for me the only way to integrate the calendar. If necessary. should bide the first amendment of the code out and take the direct route. It is possible that the problem has been resolved since my relatively old version, yes.

Unfortunately, there is thus no way to create new calendar entries on the Thunderbird. But at least you get the calendar in the Thunderbird in mind.

For me the sync works with the E71 using SyncML and Horde on the display in Thunderbird now working perfectly. Where can I get the chance I use the web interface otherwise the input used by mobile phone.


Tags: , , , , , , , ,

Certificate for HTTPS / IMAPS on Symbian S60 Install

by Andi

Yesterday was my certificate from the cratoo.de web and mail server. This had two consequences that this had to be rebuilt and, second, that had our terminals are supplied (including the E61i and the E71) with the new certificates.

Theoretically, this is not mandatory, but practically it makes no fun when you call your own SSL secured mail / web server must always confirm that you trust the certificate.
Basically, it is such that it certainly allows a Symbian certificate "forever" to accept, but this only works for a well known root CA certificates. Self-signed certificates so you have to confirm each time you use. This sucks of course.

Symbian It is however not particularly helpful to inform that the refusal of a certificate is due to the fact that it is self signed. And so you get an error message that the connection was not successful. The same I found in a forum that does not exist now. There, they found the solution and that is that one of the the certificate of the server easily converts to a certificate, which you can then install again on the phone.

How to do it then stood in allaboutsymbian forum :
Use the following command to convert the existing certificate in a installiebares around and this can then install it via Bluetooth or direct HTTP request.

  1
  apache2 | imap.pem -out meinserver.cer openssl x509-in outform the apache2 | imap.pem-out meinserver.cer 

In contrast to the command in the forum I had the phone certificate with the extension. Provided cer. . As it says in the forum did not work for me.

Now it is possible to use as swim to make the synchronization of the phone against your own HTTPS server because the certificate is now no longer needs to confirm :)


Tags: , , , , , , , , , , ,
12 13 Ältere Pages: 1 2 3 4 5 ... 12 13 Older