Wednesday 29 April 2015

Memes!

The interwebs define them as;
  1. An element of a culture or behavior that may be passed from one individual to another by non genetic means, esp. imitation.
  2. An image, video, etc. that is passed electronically from one Internet user to another.

Whether its Nyan cat, Rick Rolling or even adding "all of the " to *insert item/topic* memes are a popular and very handy thing to know how to use. They can make you and others get a good chuckle out of them if used properly.

Idea - First you need an idea whether it be from a obscure game or film or even one you created you need to have something that's catchy, annoying and sure to be used a hell of a lot. Even bad stuff can become memes (see Rebecca Black, Friday). 

Catchy - It has to be something simple that everyone can say/do or join in on. It doesn't even need to make much sense. Repetitive things seem to work well or simple tunes. Combine the two for epic memes.

Adaptability - The meme has to be able to be used in a wide range of scenarios. It's all good having a catchy tune but if you can bring it up often it will soon die out. The "All your base are belong to us" meme from bad Zero Wing translation has been used in a lot of things. "all your chips are belong to use" etc. Another notable one is over 9000! (Google these if you have never heard them before).

Audience - What ever meme you make intentionally or not they need to be able to be viewed and enjoyed by people of all ages and categories. This will insure maximum exposure and make them travel fast. If enough people are not sharing this and showing it to their friends chances are it won't survive as a meme.


Finally Life Span - A good meme will last a while or even return after some down time. If you can create a meme that is original, interesting, catchy and can adapt to many scenarios and have the talent to manipulate that you can be very rich. A good example of this is the Numa Numa guy, Gary Brolsma, who although making himself look a bit silly is now quite well off.

 Apologies for the weird background on the text slight issue with blogger :/

Monday 13 April 2015

People are objects

Well I am back and I have been working hard on my dissertation. I have gotten the people detected to be stored as objects after a bit of an issue. Never having done much Python before this dissertation and no object orientated Python at that, I can up on a few issues. My first was treating it like Java and putting global variables at the top of the class file. This I later found out that these were shared by all the objects, so when modifying one object global variable I modified them all. This was resolved by initializing them in the __init__ which is the first method that is run when the object is created. This involved me putting self.var_name = value. The self lets it know that that variable belongs to only that instance of the object. This link really helped me, especially 9.3.5.

The second issue was checking all the objects to see if they were a new person or the same person object and just needed location updating. This was partially resolved by checking the location of the new detections and comparing them to the location of the people objects. This will later incorporate the Kalman filter, and will target in a set direction making it a more accurate verifier.

As can be seen here the Kalman filter is not starting at the centre of the people which needs to be worked on. This will make initial tracking more accurate rather than having to wait for it to align.

The blue Xs are the start location of the Kalman filter



My next lot of tasks to do is to add in the mean shift and cam shift to improve the tracking. This will help determine if there is still a person at a location as well as helping determine if new detections are accurate. As well as this I need to track the location of people exiting the scene. If they are disappearing along the edge of the scene then it can be assumed that they wandered off screen. If they disappear on screen or are not detected then you can increase the likely hood of something such as a door existing at that location. The same can be assumed if reappearing at the same location.

Another possibility that could be happening is that there is an obstacle obscuring the view of the person for an extended period of time.