Questions tagged [image-recognition]

Classification of a detected object into different known categories.

The classical problem in computer vision, image processing, and machine vision is that of determining whether or not the image data contains some specific object, feature, or activity. There are different varieties of this , such as object detection, Identification (like face recognition ), Content-based image retrieval ( like similar images option in google image search) etc.

1351 questions
-1
votes
1 answer

Geometric/Shape Recognition ( Odd Shape )

I would like to do some odd geometric/odd shape recognition. But I'm not sure how to do it. Here's what I have so far: Convert RGB image to Monochrome. Otsu Threshold Hough Transform. I'm not sure what to do next.
-1
votes
0 answers

Getting 'TypeError: '<' not supported between instances of 'str' and 'int' when using pyautogui.pixel in python

I'm trying to fetch the RGB values of a certain pixel on my screen using pyautogui.pixel, heres my code import pyautogui pixel_color = pyautogui.pixel(1400, 300) print("Pixel color:", pixel_color) i keep getting this TypeError: '<' not supported…
-1
votes
1 answer

ReferenceError: Property 'document' doesn't exist

friend. I seeketh thy assistance in recognizing the text from an image. I hath utilized tesseract.js for this purpose. Pray, how may I rectify this matter? import Tesseract from 'tesseract.js'; const recognizeImage = async () => { try { …
-1
votes
1 answer

Cv2 is refusing to use imread and TM_CCOEFF_NORMED when trying to compare 2 images (this is in pycharm, python 3.10.1)

I am trying to make a game where the user submits and image and then that image gets compared to a hard coded template. If the images are close enough then the user wins. I coded this segment about 3 months ago, and at that time it ran perfectly,…
-1
votes
1 answer

Pass parameters along image for Image Recognition

I need to label a given image with an Image Recognition solution, and then skim the results based on another parameter. For example, I may pass the photo of the the City Hall of a certain city, and the algorithm would return me labels identifying…
-1
votes
1 answer

Yolo V5 can't detect moss

I use colab to train my moss dataset, however it can't detect anything in the picture, how do i conquer this problem? To train more pictures? And while labeling the moss with labelimg, i just labeled the moss that i saw in the picture, but there…
-1
votes
1 answer

As a result of the Euclidean distance many images are mistakenly identified as identical

Sorry for my bad english, i have a small database that contains hashes of photos, when I try to find similar photos to the one below: for which the following hash was calculated: "0f3f2764ecc482c2" using the method…
user3391185
  • 33
  • 1
  • 1
  • 5
-1
votes
1 answer

Detect very faint circles, not clear edge. Hough Transform not working

I'm doing work where the output is a faint large circle. I can see the circle is there, and I know from the experiment that it is a uniform solid circle. But I am having issues recognising it with python. I tried using Hough Transforms, because the…
-1
votes
1 answer

Is there a way to use both an image and text data for precision image detection TensorFlow

I am working on a basic image detection neural network in Tensorflow. It has been trained to identify foods with around 94% accuracy. I have wondered whether it is possible to supply text data with the image to the neural net to improve accuracy.…
-1
votes
1 answer

Find a similar image in a screenshot

I was trying to use python to find an image that matches somewhere in a screenshot. For example: https://i.stack.imgur.com/CuPyX.png I would have the image above as a file that was trying to match with something on the…
Spider
  • 3
  • 1
-1
votes
1 answer

Does a ML model classify between desired image classes or by datasets?

If I had a Dataset 1 with 90% cat images and 10% dog images, and I combined Dataset 2, with only dogs to equalize the class imbalance, will my model classify which are cats and dogs or which are dataset 1 images and dataset 2 images? If it's the…
Sid S
  • 1
-1
votes
1 answer

How do I improve my OpenCV recognition code to find upper body and also cut down on resources while having a CCTV stream as input?

How do I make my opencv recognition more accurate, I was just using haarcascade to find the upper body in a gray frame of my cctv, but it is taking a lot of resources and isn't giving a good enough result. Should I use outlines or something to cut…
-1
votes
1 answer

How to do image recognition on nearly all black images?

I've setup a camera in a squash club and want it to tell me if the squash court is occupied or empty. I trained it with a few hundred images of occupied and empty courts and the results are good. Now the catch is sometimes the club closes early and…
Faraz H
  • 161
  • 10
-1
votes
2 answers

Increase accuracy of CNN model (stuck at really low accuracy)

Hereby is my code: for CNN training on image recognition python # definiton of code def make_model(): model = Sequential() model.add(Conv2D(16, (3,3),input_shape = (32,32,3), padding = "same", kernel_initializer="glorot_uniform")) …
-1
votes
1 answer

automatically extract tiles from comics

Is it possible to automatically extract tiles from comics, with an existing tool like ImageMagick or should I code a tool myself? I have seen answers using ImageMagick (Using imagemagick how can i slice up an image into several separate images?,…