Have you ever been searching for hours when you needed just a simple LaTeX command for a symbol? Well, this might be over now:
Check out Detexify: Just draw the symbol you need and the applet will give you possible matches for your query.
Space for writing on the topics given in the title. Used for remembering things. Updated every now and then, given enough time.
Friday, November 29, 2013
Sunday, November 10, 2013
Framebuffer Manipulation with Vigra(numpy) Interface for Linux Framebuffer
I wrote an interface that allows accessing a Linux framebuffer using vigra(numpy). It is at a very early stage and lacks documentation and offers only very basic functionality (writing an array to the framebuffer) so far.
This video shows the library in action. Again, all that is included is vigranumpy and Linux framebuffer. No X or other graphics system is used.
Another video showing framebuffer manipulation in action (vigra.filters.gaussianGradientMagnitude), this time captured directly from framebuffer using ffmpeg.
As always, the code can be found on my git repository:
https://github.com/hanslovsky/rpi_st7735
This video shows the library in action. Again, all that is included is vigranumpy and Linux framebuffer. No X or other graphics system is used.
Another video showing framebuffer manipulation in action (vigra.filters.gaussianGradientMagnitude), this time captured directly from framebuffer using ffmpeg.
As always, the code can be found on my git repository:
https://github.com/hanslovsky/rpi_st7735
Sunday, November 3, 2013
Sainsmart 1.8" finally running on Arch@RaspberryPi
R and B channels are swapped, but that just requires copying the newly compiled kernel to the pi.
http://www.youtube.com/watch?v=GA3vhDO2cxs&feature=youtu.be
Acknowledgements:
I followed these instructions:
http://www.whence.com/rpi/
http://marks-space.com/2012/11/23/raspberrypi-tft/
This was neccessary in order to get the kernel to work:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=53784
The video shown on the display is taken from:
http://hubblesource.stsci.edu/sources/video/clips/
Image source:
gramophone.co.uk
http://www.youtube.com/watch?v=GA3vhDO2cxs&feature=youtu.be
Acknowledgements:
I followed these instructions:
http://www.whence.com/rpi/
http://marks-space.com/2012/11/23/raspberrypi-tft/
This was neccessary in order to get the kernel to work:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=53784
The video shown on the display is taken from:
http://hubblesource.stsci.edu/sources/video/clips/
Image source:
gramophone.co.uk
Saturday, November 2, 2013
First Successful Image Operation Using Vigra On Arch@Raspberry Pi
I just applied a gaussian gradient magnitude filter on an image in vigra on arch@raspberry pi for the first time. It took me quite a while to get it running, but now Image analysis can be done on that little box.
Image Source:
Friday, November 1, 2013
Raspberry Pi X-Compilation using distcc
I just successfully used distcc for cross compilation for the first time on my Raspberry Pi. I am using Arch Linux both on my Pi and my desktop. You can get distcc from the official Arch repos.
Setting up distcc is not hard:
You need to edit the following files (as root):
Setting up distcc is not hard:
You need to edit the following files (as root):
- /etc/conf.d/distcdd (both server(s) and daemon):
- add allowed ip addresses to DISTCC_ARGS with --allow <addr>
- /etc/makepkg.conf (daemon only):
- in BUILDENV: change !distcc to distcc
- uncomment DISTCC_HOSTS and add hosts using the format <addr>/<number of threads>
- edit MAKEFLAGS to use the desired number of threads, e.g. MAKEFLAGS="-j3"
- if neccessary specifiy a PATH variable
- /etc/distcc/hosts (daemon only):
- add the hosts here (this seems redundant, but it was neccessary for me)
In order to use distcc you will need proper compilers on your hosts. For the Pi you can build your own toolchain or just download one if it's available for your platform.
Test your compiler with a small program like this (c++):
distcc c++ hello.cxx -o hello
Instructions and a cross compilation toolchain for Arch can be found here:
Subscribe to:
Posts (Atom)