Archive

Author Archive

After three months of work a new build of VirtualMirrorDetector library…

November 17th, 2012 No comments

…was released today. The tracking of the face / pupils / mouth on video is more exact. The robustness is a lot better.

A longtime bug “The Spinner doesn’t switch off sometimes also if detection was succesfully.” was fixed.

The API of VirtualMirrorDetector.swc itself is unchanged. Any previous version of Virtual Mirror will benefit from the power of the enhanced library.

As ever you can test the new version 0.6.5 here.

The Virtual Mirror for Eyeglasses (VTO) in Italian…

November 13th, 2012 No comments

…was updated to version 0.6.5 in November 29, 2012.
Translation was done by Fabio Carli for the license of Ideolo.

Magento Wishlist Issue

November 8th, 2012 No comments

Yesterday I have enabled the whishlist of Magento 1.7.0.2 Community and I got a small problem.

The “Move to Wishlist” function inside of the shopping cart has a wrong confirmation message:

“Item xxx has been moved to wishlist Wishlist.”

The reason may be that Magento Enterprise Edition can handle multiple wishlists but the Community Edition not. The fix was a changed translation from

“%s has been moved to wishlist %s”,”%s has been moved to wishlist %s” to
“%s has been moved to wishlist %s”,”%s has been moved to Wishlist.”

I have simply added the last line to my locale/en_US/translate.csv file (theme) to get rid of this useless duplication.

Categories: Magento Tags:

Parsifal…

November 7th, 2012 No comments

…by Richard Wagner. The greatest music ever in the whole world for me.

Categories: private Tags:

Magento, merge Javascript and mod-pagespeed

November 6th, 2012 No comments

Within the last days I got an ugly Javascript error (missing ‘;’ at line 25619), only using MSIE 8 for Magento’s detailed product view… Thinking about the latest changes done I was able to find the reason:  It was a combination of the enabled Javascript merge function of Magento together with Google’s mod-pagespeed extension for Apache.

The line number 25619 of the merged Javascript file was in reality line number 564 of js/varien/product.js…

There we have this:

this.skipCalculate = config.skipCalculate;//@deprecated after 1.5.1.0

The comment on this line is problematic for MSIE and the setting, described on top, I think especially the ‘@’ was the reason for the error.

I have removed the comment completely:

this.skipCalculate = config.skipCalculate;

The error is gone now even with Magento’s Javascript merging enabled. ;-)

Categories: Magento Tags:

Joomla, Hikashop and the VTO

October 27th, 2012 No comments

Over this dark day – we got our first big snow here – I have written some code to embed Virtual Mirror into Hikashop, an extension for Joomla. While I have written our own e-commerce system in past using Perl and while I’m very familiar with Magento since the last year this was a new experience.

The best documentation of Hikashop is the php code of Hikashop ;-)

Virtual Mirror…

October 25th, 2012 No comments

in French – version 0.6.4. – is here since today…

A special thanks goes to Yves-Marie Roth from oakipa.com for his fast, careful and detailed review of the translation to French.

Release of Virtual Mirror 0.6.4

October 20th, 2012 2 comments

Virtual Mirror 0.6.4 was released today, you can try it here.

Changelog:

  • Rewritten functions for crosshairs
  • Enhanced visibility for crosshairs
  • The new crosshairs are white from now
  • This is needed for the upcoming PD measurement function
  • Corrected scale factor for inital size of crosshairs
  • All controls are enabled at initalization time
  • Cosmetic changes

 Features:

  • Client-side face and pupil detection
  • Pose estimation
  • Server-side image scaling
  • Detection feature does fit the eyeglasses on face
  • Real time web 2d and 3d cam function
  • Written in Perl (mod_perl) and  Adobe Flash AS3
  • Snapshot function: Up to six snapshots
  • Client-side *.jpg encoding
  • Background upload of snapshots to server, no user action is required
  • Snapshots can be downloaded
  • Share on Facebook |  Twitter |  Fashiolista | Pinterest | MailToFriend function
  • Any possible user action is auto-saved on server without the need to press a save button
  • Only a *.jpg of the glasses  on a white background is needed
  • Automated scale factor | position coordinates | rotation | overlay of the glasses
  • Can be embedded in any web page
  • No download or installation required on client-side
  • Made in Germany

 

Need for speed – mod_pagespeed

October 14th, 2012 No comments

Over this day I have added mod_pagespeed including some fine tuning for Magento. After enabling it (lastest stable x86_84 for Fedora 17 / CentOS) I got a lot xml errors. At first this was very confusing.

However I was able to fix all of these errors.

The convert_meta_tags filter of mod_pagespeed has changed the whole initial site definition to xml even it is still html because of this meta, added in past for the semantic web extension:

<html xmlns=”http://www.w3.org/1999/xhtml” version=”XHTML+RDFa 1.0″ xml:lang=”en”>

;-)

Here are  my settings for /etc/httpd/conf.d/pagespeed.conf:

# endur 14-10-12
ModPagespeedDisableFilters convert_meta_tags,inline_css,inline_javascript,remove_quotes
ModPagespeedEnableFilters collapse_whitespace,remove_comments

..

# endur 14-10-12 – enhanced cache for images
ModPagespeedFileCacheSizeKb 512000

Really important was the disabled convert_meta_tags filter to get mod_pagespeed working for me.

The result is really impressive!

Categories: Magento, Uncategorized Tags:

An other nice video of my VirtualMirror, stable version 0.6.3…

October 3rd, 2012 No comments

…this is the license of www.nostlgc.com. This video can be played in HD and in 3D.