Detect the presence of a BarCode on an image

hello,
How to locate the barcode on an image ?
Thank you,
christophe

please use a search engine before asking here