Society of Robots - Robot Forum

Software => Software => Topic started by: gellieramos on May 16, 2013, 01:17:22 AM

Title: how to access on database?
Post by: gellieramos on May 16, 2013, 01:17:22 AM
hello everyone! can someone please help me on making an image database? i download MySql already, but i don't know how to execute it.. :( please help.. :( thank you..
Title: Re: how to access on database?
Post by: obiwanjacobi on May 16, 2013, 01:26:49 AM
??

http://lmgtfy.com/?q=mysql+tutorial (http://lmgtfy.com/?q=mysql+tutorial)
Title: Re: how to access on database?
Post by: gellieramos on May 16, 2013, 04:17:53 AM
please help us.. :(
Title: Re: how to access on database?
Post by: jwatte on May 16, 2013, 12:56:51 PM
Where do the images come from?
How are they returned back to users?
What have you tried, and why didn't that work?
What errors are you getting?

Right now, your question sounds a lot like "I've tried nothing, and am all out of ideas."
Title: Re: how to access on database?
Post by: gellieramos on May 22, 2013, 07:06:03 AM
we haven't tried any database yet, but we are looking forward in using MySQL database..

we will use camera for the input in the system, and the database is only for the image recognition of the detected face..
Title: Re: how to access on database?
Post by: olivthill on May 22, 2013, 04:11:30 PM
You can store the picture in a large binary object.
Or you can leave the picture as a file in a folder, and only store the name of the folder and the name of the picture in a field of the database. This latter solution is often used, and this is the one that I recommend.
Title: Re: how to access on database?
Post by: jwatte on May 22, 2013, 06:35:42 PM
Also note that MySQL cannot do image/facial recognition at all. It can just store the metadata (and perhaps data) of the image.
Title: Re: how to access on database?
Post by: gellieramos on May 24, 2013, 05:49:37 PM
yes, i know that MySql is just a database.. my concern is how will i connect it to the program that i am doing,anyway, i am doing a C++ program for the facial detection and recognition.. and can you help me on how to store images or making a folder in it?

which is easier to use? MySql or Oracle?-.-

thanks guys.. you are greatly help me.. :)
Title: Re: how to access on database?
Post by: jwatte on May 24, 2013, 10:15:21 PM
Typically, you use the library libmysql++ to connect to MySQL from C++.
But this is something you could have found yourself in 5 minutes with a simple Google search.