Often when we create api's, security is considered paramount. I'm not intending to go in detail about implementing authentication here, and there are a plethora of articles under this topic. I'm just going to highlight a convenient way to implement custom authentication in NET6. As for this article it will be a custom basic authentication... Continue Reading →
Estimating the Focus of Expansion (FoE)
One of the most intriguing things about Optical Flow is the calculation of Focus of Expansion or FoE. FoE is the point where all flow vectors converge when a camera moves in a forward direction. It often indicates the direction where a camera is heading or aimed at, and is also regarded as the same... Continue Reading →
Compiling ARToolkit on Ubuntu 10.04
Apparently I've given more thought on to ARToolkit these days (mainly due to my research), so that it makes me attempt different things with it. Consequently I’ll be writing a series of posts pertaining to my small experiments for future references. I know it’s pretty boring stuff, talking about a dull subject again and again… but it... Continue Reading →
Demistifying DSVL Configuration
In my previous post I just mentioned how we can use ARToolkit in conjunction with a 3D rendering engine. The camera connection was made by the ARToolkit via DSVL (DirectShow Video Library) . As I promised, through this post, I’ll expose how we can configure DSVL with its supported parameters. DSVL is a wrapper for DirectShow... Continue Reading →
MySql C++ Connector Problem when Retrieving values with getString()
Recently I've been messing around with MySql Connector for C++ in a Fedora core 10. I used Eclipse CDT (Galileo) for compiling/debugging and it was always giving incomplete result sets whenever getString() method was called. Incomplete in the sense it gives only the first row of the result set inside the loop for enumerating result... Continue Reading →
Sharepoint Deployment (MOSS)
Sharepoint deployment waz not that eazy. There's no defined method to do that. But we can use some mechanisms wchich are built into MOSS. One such component is stsadm. For the deploymet purposes we can use either export/import or backup/restore mechanisms. My recommendation is export/import since the latter is appropriate for a catatrophic scenario. Our... Continue Reading →
Knight Rider Circuit for AVR Micro controller
I crafted a code snippet which would give us the lighting sequence of famous Knight Rider car. This would work in Atmel ATMega 16 series micro controller and the program consumes only 266 bytes. Following goes the code. #include <avr/io.h> typedef unsigned char u08; int main( void ) { u08 led, i, j, k,flag; DDRC... Continue Reading →
View Disk info on your web page
This is a very simple C# code snippet which allows you to display the Hard Disk info such as Total disk storage and Free Disk space on your machine. I found this intersting since it reveals a bit of local machine's info through a browser. Here goes the code. using System.Management; public partial class _Default... Continue Reading →
View the IP network path on a map
This is about a program which displays the path of a network packet in a map when u 'traceroute' to a server. As U know, when u traceroute to a particular server, the resulting IP addresses are the routers that the packets passed through on their way to the destination. So in this program, the... Continue Reading →
WPF(Avalon) Example#2
Through this post i'll give u a sample project in which I used Microsoft Expression Interactive Designer to make a 3-D animation. You might have already noticed that in my previous article I gave a Windows Application which have some graphics and special effects so that you can imagine what will be the next generation... Continue Reading →