Page 1 of 1
Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T09:38:58-07:00
by simmons
i am looking for a nice solution to classify automatically images, for example to scan lots of images and distribute them in subdirectories which are named as the classification of each image, like Nature, People, Sport or so. Such Classification should be made by the Program on Interpreting the "Content" of the Image ( the Image itself ) and NOT by Metadata, Filename or so. As i understand the Description of the Program, such Classification is NOT YET possible but i suppose the Developers are very close to such a Solutiom which would certainly add big Value to the Program i am shure ! Maybe someone can help me out, with this Program or by giving me a clue to another Solution, another Software ... but of course Integration of such Foncionality would be very nice here in THIS Program ! Thanks a lot, simmons
Re: Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T11:00:56-07:00
by fmw42
IM has no such automatic classification functions. Though you can compute lots of measures to the image and try to group them by the combined measures. See -feature and identify -verbose -moments.
Or try some other Image processing system such as OpenCV, which has very advanced image classification processing.
Re: Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T14:36:02-07:00
by simmons
Thank you for answering, fmw42. As i understand openCV, it's some c / c++ libraries to build my own application. Unfortunately i am not specialized in image processing at all, i do not have enough knowledge on that ground. Anyway i will try to find out if ( following your proposal ) i could get some classification with -feature / -verbose / -moments.
I tougth maybe it's easy for people with deep knowledge of ImageMagick to realize ( as a first step, to see if it's usable or not ) with little effort kind of "Classification-File" which contains for each processed image ( path and filename ) the most probable Classification-Criterion, as for Example:
c:/users/x/pictures/blabla.jpg, Urbanisation ( or Town, Village, Buildings )
c:/users/x/pictures/bleble.jpg, Forest ( or Nature )
c:/users/x/pictures/blibli.jpg, unknown
c:/users/x/pictures/bloblo.jpg, People
c:/users/x/pictures/blublu.jpg, Faces
or whatever Criterion "relatively" easy to discover.
Maybe someone could give me a Idea of a Enduser-Software which i could use, instead of a Software-Library ? Thank you a lot, simmons
Re: Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T15:21:02-07:00
by Bonzo
openCV can be used with php and JavaScript.
It would take a lot of work to write an algorithm to detect any one of the classifications you are after. There are some examples of how to go about face detection here and I suppose the process would be similar for other objects.
Re: Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T15:22:33-07:00
by fmw42
Open CV can also be coded with Python rather than C++. See
http://www.pyimagesearch.com/
Re: Possibility to classify an Image ( Nature, People, Sport etc. ) ?
Posted: 2016-11-25T15:36:12-07:00
by simmons
OK thank you a lot. As i understand now, it's not an easy task to integrate such foncionality into ImageMagick. So i will try the path you are proposing: to use the existing Libraries from OpenCV ( C++ is fine for me, it's more the missing knowledge of Image-Processing etc. ), and / or to use the existing Features from ImageMagick.
Somehow you are confirming that such Functionality of automatic Picture-Classification is not easyly available, it means for me personally, it would be interesting Feature for ImageMagick, i think a lot of People would like to have such a useful Tool to put some Order into tens of tousands of there Photos ( without the need to give Copies of all the Material to Google etc. ) !
Thank you again, simmons