Attempting to use zxing library to detect qr codes and its rotation. As for now it is unknown if the library is able to find rotated qr codes and if detected return the rotation. After having read: http://groups.google.com/group/zxing/browse_thread/thread/ea911e890ea69ea5 The use of the zxing’s implementation to detect QR codes seems less promising.
Author Archive
installed alien version 8.86 from source and created deb
By thomas in alien, checkinstallconverted alien version 8.86 using alien by the command perl Makefile.pl make checkinstall -fstrans=no which installed alien and created a .deb file the deb file will be attached when I get WP to accept it
problems with checkinstall
By thomas in checkinstall, linuxusing check install to properly install from source When installing ImageMagick-6.7.5-7 checkinstall failed with an error related to “mkdir -p” It seems that this error disappeared when running checkinstall with -fstrans=no so after calling ./configure and make I called sudo checkinstall -fstrans=no and everything seem to be correct
Git: adding and removing branches from remote repositories
By thomas in GITYou can add a branch to a remote repository by git push origin <branchname> and you can remove this branch again by typing git push origin :<branchname> so prepending a :
Git Correct commit pushed to remote repository
By thomas in GITIf you have pushed something to a remote repository that should not have been pushed then do the following: checkout locally the commit that you want to replace the erroneous commit (this should be a commit at an earlier stage than the unwanted one) git push -f origin master this will force the remote repository to be […]
rebase in GIT
By thomas in GITgit rebase is a great way to clean up the history adding a -i like git rebase -i enters interactive mode and directs you to a file that let you control what commits are added.
Using XML files to store data in matlab
By thomas in matlabIn my experience matlab handles xml DOM model by using tool from a java library. Links to use when working with xml files through matlab http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/package-summary.html http://www.mathworks.se/help/techdoc/import_export/f5-86078.html#bsmnj5u
matlab: add data to the file name string before save
By thomas in matlabHere is the simple line dateString = datestr(now(),’dd-mmm-yyyy’);
Git stage lines causes corrupt patch
By thomas in GITAfter making changes you may want to split these changes up into several commits but some of the changes may be in the same file. If you then use git-gui to stage different lines in one file and the last line in this file is part of the diff from HEAD then git-gui will produce […]
test on if categories show
By thomas in AndroidIf I make a new post that is public does this category then show up on the frontpage