Questions tagged [cvlib]

17 questions
3
votes
2 answers

cvlib detect_common_objects is not working

https://github.com/arunponnusamy/cvlib/tree/f46a22f8e13bc4b0267b9057fa88de170d41f96a I'm checking examples of cvlib and trying on my own on spyder Python 3.7 Face detection is working very fine.. Gender detection working very fine but object…
Emre
  • 81
  • 2
  • 8
3
votes
0 answers

The 'cvlib' distribution was not found and is required by the application in pyinstaller

I am using cvlib package in my python project. If I run python file in Linux command line its work fine without any error. I want make it executable one file for Linux. I used PyInstaller packaged it. When run its throwing The 'cvlib' distribution…
Every Thing
  • 333
  • 2
  • 12
2
votes
1 answer

invalid index to scalar variable for object detection

I started to work on OpenCV and doing some basic examples. I'm trying to count the objects from image. For example you can see very basic and popular sample in below.. import cv2 import numpy as np import matplotlib.pyplot as plt import cvlib as…
Ernu
  • 43
  • 5
1
vote
1 answer

CVLIB - how to add blurred subface to the original image?

Friends, I need to implement a code, which blur faces from given images (I am not a dev so this is really difficult to me). I found out that I can use OpenCV and cvlib to do that and found a sample code (repository from cvlib) which does part of the…
marcelo
  • 373
  • 6
  • 16
1
vote
3 answers

opencv doesn't use all GPU memory

I'm trying to use the cvlib package which use yolov3 model to recognize objects on images on windows 10. Let's take an easy example: import cvlib as cv import time from cvlib.object_detection import draw_bbox inittimer=time.time() bbox, label,…
Panda50
  • 901
  • 2
  • 8
  • 27
1
vote
1 answer

Output Overlapping In Opencv Output

I m a beginner, using OpenCV to detect objects from the image. I m using Google Colab. Shown in the image, I got proper output with the very first image I have used. First Output When I Read the second Image and used detect_common_objects() method…
0
votes
0 answers

how to add data to cvlib

Does anyone knows how to add data to cvlib? I want to use cv.detect_common_objects with my own data. I was trying to do ant recogniton but cvlib doesn't have any ant data. I have to get answer fast. code: import cv2 import numpy as np import…
igor
  • 1
  • 1
0
votes
0 answers

Object Counting on Images using OpenCV/YOLOv4

I've been given an image containing stars and ovals, and have been tasked with detecting which is which and counting how many of each are contained within the image. One such image with ovals only looks like this: I've first tried to solve the…
0
votes
1 answer

cvlib object detection empty list

import cv2 import matplotlib.pyplot as plt import cvlib as cv from cvlib.object_detection import draw_bbox import tensorflow load_p = cv2.imread('C:/Users/path/file.jpg') bbox, label, conf = cv.detect_common_objects(load_p) img_out= draw_bbox(im,…
Ecko
  • 115
  • 9
0
votes
2 answers

Install cvlib package in python 3.9

I am suffering as I couldn't install cvlib package in python 3.9 I have searched and found this link https://pypi.org/project/cvlib/#history which is the official link. The latest version is on April 11, 2020 and this seems older than the newer…
YasserKhalil
  • 9,138
  • 7
  • 36
  • 95
0
votes
2 answers

I have installed cvlib in python but still can't import it

I installed miniconda and just created a conda environment: conda create -n my_env python=3.5 anaconda I am trying to: import cvlib But I am getting the error: ImportError: No module named cvlib So I have tried to install using: pip3 install…
user1551817
  • 6,693
  • 22
  • 72
  • 109
0
votes
1 answer

Cvlib not showing boxes, labels and confidence

I am trying to replicate a simple object detection that I found in on website. import cv2 import matplotlib.pyplot as plt import cvlib as cv from cvlib.object_detection import draw_bbox im = cv2.imread('downloads.jpeg') bbox, label, conf =…
0
votes
2 answers

How to check if these is no face detected using cvlib

cvlib library in python is well established and many people in research community uses it. I noticed that if threr is no face detected the (for) loop stops for exampe, if i have the following code: cap = cv2.VideoCapture(0) if not…
0
votes
1 answer

pkg_resources.DistributionNotFound for cvlib library

I have written a python script that uses cvlib library, when i run the code as a python scrept it works fine, however; when i converted the code into an exe file, everything seems to work fine, apart from importing cvlib library. The error shows up…
0
votes
1 answer

How can I use dowloaded weight and cfg files with cvlib?

How can I use pre-downloaded .weight and .cfg files instead of downloading them again every time I run an object detection code, using cvlib?
Javokhir169
  • 53
  • 1
  • 1
  • 5
1
2