Questions tagged [imutils]

A python library for simple image processing functions like translation, rotation, resizing and skeletonization amongst many others. To be used for any queries with regards to this library

A series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and both Python 2.7 and Python 3. For more details on its various functionalities check out THIS GITHUB PAGE

67 questions
-1
votes
1 answer

How to detect faces with imutils?

I am currently creating a django face detection/recognition app to mark employee attendance, however I am facing some issues when capturing the camera feed and detecting the faces on the feed. The functions below within the view.py are to detect the…
rhys
  • 11
  • 5
-1
votes
1 answer

Combining multiple values from database into one image

I'm trying to take 5 consecutive pixels from each image of a database, and position them consecutively to create a new image of 250x250px. all images in the database are 250x250px. The Numpy array I'm getting has only 250 items in it, although the…
-1
votes
1 answer

Can't import packages that is shown in pip list

For some reason, after i install imutils package with pip install imutils, which I guess has succeeded since it's shown when I run pip list but when I import it, it said Import "imutils" could not be resolved? The same thing happens to the scipy…
-1
votes
1 answer

opencv and imutils are not working correctly in my docker

I need to install some libraries in an anaconda docker environment. Below are my dockerfile and environment.yml. I can build my docker without error but when I run my code it seems opencv and imutils not correctly installed. anyone can tell me what…
m.safari
  • 21
  • 1
  • 2
-1
votes
1 answer

Flask app working on local server but not globally

These are my routes and some functions: from flask import Flask, render_template, Response import cv2 import time from sys import stdout from flask_socketio import SocketIO import math import numpy as np import logging import os from camera import…
udit_kumar
  • 66
  • 6
-1
votes
1 answer

Python, Opencv, Imutils: ValueError: too many values to unpack (expected 2)

I am trying to feed live video to the Tkinter window. I am using imutils.video for the Videostream. When I tried to run the code I am getting below-mentioned error. runfile('C:/Users/Ravi/Face_Detector/opencv_tkinter.py',…
-1
votes
2 answers

Getting error everytime while running my python code

I want to run this code, but get this error (I currently have 0.4.6 version of imutils package installed) Error: Traceback (most recent call last): File "object_size.py", line 42, in cnts = imutils.grab_contours(cnts) AttributeError:…
1 2 3 4
5