Category "image"

Determine if a point is inside or outside of a shape with opencv

I have images with white background and simple shapes in them (each image has one shape). I want to determine if a certain point (x,y) is inside the shape or no

React Parallax wont load Image

I'm trying to replicate this Parallax effect Here and it doesn't seem to load my image. I am using the React Scroll Parallax Here but I can't figure out why my

Laravel Blade html image

My image file path is public/img/stuvi-logo.png and my app.blade.php file path is resources/views/app.blade.php Inside of my app.blade.php file I use {{HTML::im

JPEG Compression using OpenCV

I'm trying to perform a basic JPEG Compression (DCT + quantization + IDCT) using OpenCV not using entropy-encoding/Huffman-coding. The problem is that after I d

Converting a text XHR-Response to arraybuffer

I'm making an XHR request. At the time of making the request, I don't know whether the URL will return an image or not, so I'm setting xhr.responseType="text"

Python: Image resizing: keep proportion - add white background

I would like to create a Python script to resize images, but not changing its proportions, just by adding a white background (So, a : 500*700 px image would t

Image.network throw error even after defining errorBuilder in Flutter

I am facing some issues with loading images from URLs in Flutter. Here is my code: @override Widget build(BuildContext context) { return ClipRRect(

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