Questions tagged [opencv3.0]

OpenCV (Open Source Computer Vision) is a library for real time computer vision. (This tag is for questions about OpenCV 3.0. Use [opencv] for general questions.)

OpenCV is an open source computer vision library

Version 3.0 released in June 2015. Its documentation can be found here.

For more information, see .

2111 questions
0
votes
1 answer

How to save incrementally images loaded on a QGraphicsView using QPushButton & OpenCV::imwrite

I prepared this small verifiable .ui in Figure 1 that replicates the issue I have: I am trying to use the QPushButton "Print Screen Both Images" to incrementally save images on Left and Right of the QGraphicsView into two different folders present…
Emanuele
  • 2,194
  • 6
  • 32
  • 71
0
votes
1 answer

Input-Digits-Image is not recognised correctly using Tensorflow's MNIST dataset

I am trying to do handwriting character recognition using Tensorflow in Google-colab. I have trained and tested model with an accuracy of 91% I tried it on image given in the tutorial, and it worked correctly. it was 28*28 resized. When I wanted…
GD- Ganesh Deshmukh
  • 1,456
  • 3
  • 24
  • 36
0
votes
0 answers

Grayscale Image crop and conversion to QPixmap

I am trying to create a window that crops a grayscale image based on a given percentage value and show the output inside a QLabel. There are two problems associated with my code: The cropped image is somewhat inverted or smudged, depending on…
ABK
  • 145
  • 1
  • 14
0
votes
0 answers

EmguCV C# - merge hsv channels after splitting

With EmguCV Version 3.4.3 in C# I am trying to merge the channels after splitting the hsv image into grayscale channels. In the future I want to be able to alter the values of the channels separately and than merge them, so I can show the image. I…
FuzzyTemper
  • 723
  • 4
  • 10
  • 24
0
votes
1 answer

What is equivalent of cvCreateMat function in OpenCV2 using python3

I am converting an old piece of code written in c/cpp into python. It uses cvCreateMat function. From this link I believe that cvCreateMat function is not supported in OpenCV2. I dont know how to do it using OpenCV2/numpy. OR all I need is the…
Dr. Mian
  • 3,334
  • 10
  • 45
  • 69
0
votes
1 answer

Alternative of bg.set function in opencv 3

I am getting an error when I am trying to execute the below-mentioned code of line by using OpenCV 3 version. bg.set("nmixtures", 10); Error bg object does not have any member name .set Can anybody tell me how to use the same function in OpenCV…
Gagandeep
  • 11
  • 6
0
votes
1 answer

Receiving error: AttributeError: module 'cv2.cv2' has no attribute 'CompareHist' when trying to call a openCV method

I'm trying to find the distance between two vectors using openCV's compareHist() method. I'm using opencv-contrib-python 3.4.2.17. If I try to use the compareHist() method as described in the documentation here…
0
votes
1 answer

Find Lanes for Self-Driving Cars, code problem

I was self learning the image recognition online. Following the code below.I encountered two problems. I am using Sypder from Anaconda (python 3.7) I did not get a video output, the cv2.imshow() only showed a picture(maybe the video was stuck due…
user10039600
0
votes
0 answers

My Histogram is not showing for my Binary image OpenCV C++

Overall goal is to be able to read the histogram from binary image in order to crop the image. My code works, but for my binary image, histogram is not showing properly (the histogram is blank) Can anybody tell me whats wrong with my code? Histogram…
Karina Turtle
  • 81
  • 1
  • 9
0
votes
1 answer

detecting similar objects and cropping them from the image

I have to extract this: from the given image: I tried contour detection but that gives all the contours. But I specifically need that object in that image. My idea is to: Find the objects in the image Draw bounding box around them Crop them and…
0
votes
1 answer

I am using Mac, can I install visual C++ 2015 redistribution? because after that I want to install opencv3

Well, I am going to do some deep learning stuff with opencv. I have already installed scikit-image and scikit-learn.
0
votes
0 answers

samples.cols == var_count && samples.type() == 5 in function 'cv::ml::SVMImpl::predict' error on svm.predict method

I'm creating a object classifier in opencv python using svm. Training dataset is of 200 positive and 200 negative images. For positive images first took 200 images and cropped target object from images and resized them to (64,128) size for HOG…
0
votes
2 answers

save image with face landmarks using dlib in python?

Is there a way to save image with the overlay of facial landmarks with dlib using python? Because I've found only the draw_rectangle function which is for c++!
TassosK
  • 293
  • 3
  • 16
0
votes
0 answers

How to detect objects which have almost similar color with their background?

original image image after kmeans clustering image I get as result I am working on malaria parasite detection using thick blood microscopy image. I have tried to segment the parasite objects but it is difficult since they have almost similar…
0
votes
0 answers

Extract color of interested region of an image

In my project I want to extract color of vehicle as one of feature.I have images as shown below. Can someone suggest a way to extract color of the vehicle on image. image 1 image 2 I am trying to extract vehicle region. Than it is easy to extract…