Tag Archives: extract

Extracting pixel values from videos using OpenCV

I have been associated with an image processing group for some time that is doing research on background/foreground segmentation using neural networks. I might soon add a publication (depending if we get it done on time) on pixel-wise based segmentation. Here’s a function which takes an array of video files, and exports their pixels, one each line, into a file with a given separator. It is interesting to apply unsupervised learning alghoritms on the resulting set. Link to source. Written in C.
Continue reading

Tagged , , , ,

Extract a file extension and check if the extension is allowed (using PHP)

Going to start work on a logo sharing portal. Yes, sharing, not selling. 🙂 It is quite a pain when you need to find a vector logo for an existing company, and all you get is some low resolution picture. Add to it that most of the people you can contact have no idea what are vector graphics and are proposing that you “Scan it off the business card.”.. So I needed functions for extension extraction and allowance check.. Nothing spectacular..
Continue reading

Tagged , ,