Category "image"

sklearn train_test_split on list of 3-dimensional arrays

I want to do image classification and I have as data_X a list of 12000 three-dimensional numpy arrays. Those arrays all have the shape 300 x 300 x 3 (height, wi

How to find corner (x, y) coordinate points on image Python OpenCV?

This is a truck container image but from the top view. First, I need to find the rectangle and know each corner position. The goal is to know the dimension of

White blob detection

I'm trying to use AForge.NET to detect a thick white line across an Image. It's like pipe that I get and is my desired result after applying a Threshold filter

how can I export multiple images using zipfile and urllib2

I am trying to add multiple image files into my zip. I have searched around and knows how to add a single one. I tried to loop through multiple images then wri

How can I convert a series of images to a PDF from the command line on linux? [closed]

I have a scanning server I wrote in cgi/bash and want to be able to convert a bunch of images (all in one folder) to a pdf from the command li

make image( not background img) in div repeat?

I'm trying to repeat-y an image that's in a div and no background image but haven't figured how. Could you please point me to a solution? My code looks like th

Installing PIL on OS X Lion: initialization from incompatible pointer type

I want to run python's ndimage to do some image analysis. I have a 64-bit Mac running OSX Lion and Python 2.7. When I tried to run commands from ndimage comman

My resource does not load - "Input stream must not be null"

I read ~4 Stackoverflow Posts (1, 2) already, and did everything like it was explained there, but I get a NullPointerException while I try to load an Image. Ex

How to format figcaption to not stretch a min-width figure

I use the following markup to present an image and its caption. HTML: <div class="fig-container"> <figure class="captioned-figure"> &l

Image not displaying at runtime C# WPF

I have been trying to learn C# but I'm coming across a lot of problems. I am trying to display an image in WPF but for some reason, the image won't show! It app

How to mask image with binary mask?

Suppose I have a greyscale image here: And a binary masked image here: With the same dimensions and shape. How do I generate something like this: Where the v

How to approximate jagged edges as lines using Python OpenCV?

I am trying to find accurate locations for the corners on ink blotches as seen below: My idea is to fit lines to the edges and then find where they intersect. A

Jekyll how to display an image in a post

I am trying to follow the Jekyll docs and am stuck on how to display an image --- layout: post title: "My first post!" date: 2016-10-20 16:17:57 +0200 categ

how do i retrieve and display the alt text of an image in wordpress?

how do i retrieve and display the alt text of an image in wordpress? trying to substitute the title for the alt. here is the original code. <?php while ( ha

How to add a button with image and text dynamically in Android GridView?

I want to add ImageButtons with text dynamically to a GridView (Something like below) and also set a listener such that a user enter a different page, when he c

How to detect multiple colored regions in an image and produce individual crops for each with Python OpenCV?

I have an image like this: And I want to crop the image anywhere there is red. So with this image I would be looking to produce 4 crops: Obviously I f

Dynamically add Image into asp.net c# gridview

I would like to display image inside a gridview. My gridview is being filled like This: Front: <asp:GridView ID="GridViewProduct" runat="se

Read meta data from image file with javascript

Is there any way to read the metadata of an image file in an <img> tag using JavaScript?

How to remove noise artifacts from an image for OCR with Python OpenCV?

I have subsets of images that contains digits. Each subset is read by Tesseract for OCR. Unfortunately for some images the cropping from the original image isn'

How to read geo location from an image file data in Javascript

How to read geolocation data from an image file (JPG, JPEG, PNG, etc) in Javascript at the moment of loading the file onto web browser but before the actual upl