Jump to content

  • Log In with Google      Sign In   
  • Create Account


n0name

Member Since 12 Oct 2008
Offline Last Active Apr 14 2014 03:43 AM

#5052285 Augmented Reality

Posted by n0name on 11 April 2013 - 05:59 PM

You must consider what happens if you rotate your camera... what if you move it away or closer to the object you're trying to track... what if lighting changes....

This are  all factors that affect the way pixels look... so just comparing the pixels themselves isn't a good idea.

Usually what you compare is some correlation between the pixels

Also before you start tracking your object you'll need to find it.

Read about SURF, SIFT, BRIEF algorithms ... they might give you some insight...

 

If you have a static camera and just move the piece of paper ... you should be able to get away by just finding the corners of the paper by using a feature detector

and then on every frame just calculate features on small area arround each paper corner and compare.... 




#5048058 A question on style regarding writing a small library (C++)

Posted by n0name on 29 March 2013 - 11:44 AM

Hi

 

If I am to use your library I'd much rather the classes to be in separate .h/.cpp files.. it makes it much more readable...

 

After that if you want u can always add one single .h file that includes all classes at once but still keeping the actual class code in separate files.




#4988682 SDL pisses me off

Posted by n0name on 10 October 2012 - 05:52 AM

Also try using
"int main(int argc, char *argv[])" instead of "int main()"... VC was giving me linking errors when using just main()


PARTNERS