"I Think, I Conceptualize, I Analyze, I Design, and I Create." ~ Puneet Kalra

Cognitive Robotics Research Centre Of University Of Wales, Newport Puneet Kalra

Home Studies Research Projects Tutorials Portfolio

Puneet Kalra - www.puneetk.com - Socializing Robots

Pwing Update – Introducing ‘PStylishFrame’

October 7th, 2010 by Puneet Kalra 2 comments »

Hello Everyone,

Now, This one is going to be completely Pwing Update! Better painting, more theme colors, supports more components and introducing ‘PStylishFrame’.

Lets talk about PStylishFrame, inspired from LooknFeel of Mozilla Firefox 4, Google Chrome and other latest web browsers. We ( I and my trainee’s ) decided to create one such stylish frame for Pwing users. So here’s the very first screen shot of Pwing’s PStylishFrame.
Pwing GUI Toolkit's JStylishFrame ScreenShot
We are not yet done with it. Currently it supports Pwing’s Black color theme only. It’s not resizeable. It supports PStatusBar, which is another new component added in Pwing toolkit.

We have made few changes in component painting for better performance. Changed the Pwing’s component Hierarchy. Now most of the components extends ‘PComponent’ as their Superclass. PComponent has all the basic properties required to create a Pwing based component.

Pwing supports 4 color themes now and those are Black, Blue, Pink and Green. Blue is default theme for all the components if you don’t set any Theme Controller (Controller class) on them.

List of new added Components : PComponent, PStylishFrame, PStatusBar and PProgressBar.
Upcoming Components : PStylishMenu, PScaleBar, and PSplash.

I will update source on SVN Repository but Binary/Source JARs will posted once components listed above are done and tested on all color themes.

Pwing’s Project Page

void(’PK’)

And the research continues ..

August 31st, 2010 by Puneet Kalra 4 comments »

Hey everyone,

I hope you guys are doing well.
First of all, Thanks for being so supportive, appreciating my work and posting such nice comments. Also, Sorry for not updating my blog as I’m really busy these days.

And yes, few updates from my research.. Yeah Yeah! I know, I’m busy but still, I can’t stop it, I’m addicted to it now. New things, New problems, New ways to think and Finally the New SOLUTIONS ! That’s how it goes!

Let’s talk about Sphinx, firstly, I got a partner to work on it. “Puneet Jindal” , Another Stubborn guy like me *Lol*, always ready to burn up his mind and a die hard Algo’s Lover. He’s pursuing B.Tech ( finaly year ) from NIT,Kurukshetra. We have got 85-90% accuracy on hundreds ( as the Accuracy Tracker says ) and now we are working with thousands of words to get same accuracy level on them.

Second major topic is HTML5, And I’m really loving it ! Not much to share about it. Just want to say, “HTML5 is just SO AWESOME” !

Now the upcoming topics, Optical Character Recognition (OCR), 3D Painting and Gaming/Artificial Intelligence Algo’s. I haven’t really started working on these topics, You can say that I’m having my one eye on them.

That’s it for now !
~Puneet Kalra

Happy Independence Day

August 15th, 2010 by Puneet Kalra 1 comment »

Wishes you all a very Happy Independence Day!

JAI HIND !

Busy busy days !

July 28th, 2010 by Puneet Kalra 2 comments »

Aah! Finally got some free time.

Last two months were so damn busy that sometimes i feel like, I updated my blogĀ  just a week ago.
Anyways, I know its already more than 2 months i haven’t updated my blog.

No such informational things to tell you about, Let me share few major project i have done in these 2 months.

1 ) Voice Reminder System – Basically a voice command based system to store voice reminders and play them on scheduled time. Using JSAPI ( Sphinx and FreeTTS Specifically ), JMF, JavaMail, JAF. ( I’ll be posting a video demonstrating this application soon )

2 ) Image Processing Application – An Image Editor application having all the features like any other image editor. Special feature is Image processing to other colors combos like Black ‘n’ White, Negative and more upto 80 combos.

3 ) Well well, This one is my favorite and Little private too. This one is a website based on HTML 5, CSS3 and JS. This one is going the complete fun package. Launching soon! :)

This is it for now ! Stay tuned for moreĀ  updates and specially the video.

Signing Off! ~Puneet Kalra

Finite State Machine ( FSM )

May 18th, 2010 by Puneet Kalra 2 comments »

Hello everyone,

Its been quite long, I haven’t made any update on my site. Because i was busy researching/working on Artificial Intelligence techniques and specifically on Sphinx 4.

In this post, I’m going explain you a widely used, simple but important technique named “Finite State Machine”, In short “FSM”. Basically, FSM is used as a control technique in context of Artificial Intelligence. FSM is model of composition of Behaviors and executing Actions by finite numbers of states and transitions between those states.

Using this technique we can understand how Actors (Objects) will behave and perform action (Logic) when system realizes specific real time conditions and present state of system. Current state of system can be recognized by past states changing by input changes from start of system to the current state. Transition plays an important role in FSM. Transitions are like barriers between two states. Barriers should be unlocked by fulfilling the condition to move from one state to another.

FSM Example

FSM Example - Source : Wikipedia

Finite State Machine is widely used. It can used for Simple string data comparison and also for designing highly complex operating systems.