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
0 answers

How to fix undefined reference to TIFFOpen-TIFFClose-TIFFGetFiled on Ubuntu-19.04

I have recently installed Ubuntu-19.04. I saved the the most important data from Ubuntu-18.04 as an enormous .tar file as I had some broken files on my 18.04 and transferred everything to the new 19.04 so that I had the same exact…
Emanuele
  • 2,194
  • 6
  • 32
  • 71
0
votes
0 answers

How to integrate opencv code in django framework

I am making openCV base face recognition project... now I want to ( face recognition) project deploy to django framework import numpy as np import cv2 import pickle face_cascade =…
0
votes
2 answers

cv2.imshow shows binary image

I have a code in which the matrix hip_dir represents a RGB image. If I check its shape, python returns (1080, 1920, 3). If I write cv2.imwrite('hip_dir.jpg',hip_dir) I get the correct image saved in the folder. However, when I…
donut
  • 628
  • 2
  • 9
  • 23
0
votes
1 answer

cvtColor from RGBA to HLS doesn't modify anything

Dears, I'm new to opencv, and I don't know why, when I try to convert from RGBA to HLS, I don't receive any change. Better explaining, I was previously working with a 3channel image, so I was reading and converting from RGB to HLS/whatever…
0
votes
0 answers

Thermal Camera Images

I connected the Adafruit AMG8833 and I got it to turn on, but I cannot take pictures with pygame, pi camera or opencv. I was trying to take a picture with open cv, but I just got an error message. mmal: Cannot read camera info, keeping the defaults…
Aims
  • 1
0
votes
0 answers

How to transform a 64-bit floats image into unsigned char using OpenCV

I have a single channel of 64-bit floats image that I am trying to transform into an unsigned char using OpenCV. I can successfully visualize the image and resize it as it is too big. However when I am trying to transform the resized image into an…
Emanuele
  • 2,194
  • 6
  • 32
  • 71
0
votes
1 answer

IndexError: list index out of range in opencv

I have this piece of code that detects a face and saves it as jpg file. But as I compile this program I get an error IndexError: list index out of range Here is the code: import cv2 import sys imagePath = sys.argv[1] image =…
Arpit
  • 3
  • 2
  • 9
0
votes
1 answer

how to use DescriptorMatcher of FLANNBASED in opencv version "3.0.0"

Syntax for calling flannbased descriptorMatcher in opencv "3.0.0".. I used below code to call flannbased descriptorMatcher in opencv "3.4.6".. Ptr matcher = DescriptorMatcher::create(DescriptorMatcher::FLANNBASED); error shown while compiling with…
sha111
  • 113
  • 1
  • 12
0
votes
1 answer

Face Tracker with raspberry pi

i have followed this tutorial for face tracking using servo motors website:https://embeditelectronics.com/blog/project/face-tracker/ github:https://github.com/embeditelectronics/Face-Tracker/blob/master/python-face-tracker/face.py but the thing is…
john
  • 539
  • 2
  • 9
  • 24
0
votes
0 answers

How to draw a rectangle in terminal using asciiplotlib if I know the coordinates of rectangle?

I have coordinates of a rectangle (say p1,p2,p3,p4) and needs to draw the rectangle in terminal using asciiplotlib python library import asciiplotlib as apl import numpy x = numpy.linspace(0, 2 * numpy.pi, 10) y = (some rectangle generator function…
0
votes
1 answer

How to detect randomly curved non-continuous fixed colored lines from an image?

I am very new in the python openCV. I wanted to find the 7 fixed colored randomly curved lines from an image. The result should be boolean which will give me if the image contains the 7 fixed colored randomly curved lines or not. The sample input…
Rahul Talole
  • 137
  • 1
  • 2
  • 9
0
votes
0 answers

How can I fix this error on the compilation of OpenCV through mingw32-make?

I'm trying to compile the latest version of opencv 3 in windows for Mingw64, using cmake-gui and I've been encountering some errors in the compiling the source files. I have had a number of problems I've addressed so far through reading solutions…
D. Sanz
  • 73
  • 1
  • 6
0
votes
1 answer

How to create an area to detect people in python

I have a script, developed in Python + TensorFlow, this script is able to detect people as below: import numpy as np import tensorflow as tf import cv2 import time class DetectorAPI: def __init__(self, path_to_ckpt): self.path_to_ckpt =…
0
votes
1 answer

Showing message Twig_Error_Loader in open cart v3

I want to activate it after installing an extension, but I get this error. Notice: Undefined index: user_token in /var/www/"""/html/opencart/admin/controller/extension/feed/gcrdev_sitemap.php on line 142Notice: Undefined index: user_token in …
0
votes
0 answers

c++ laser detection using frame by frame analysis

I am trying to create a program that will open my camera, take a frame, and locate a laser point. I want to analyse each frame and find a red laser dot. Ideally, I would be able to insert a line at the x and y coordinate at the centroid of the laser…