Questions tagged [imageai]

Use for questions about using ImageAI, a python library to build applications and systems with self-contained Deep Learning and Computer Vision .

Use for questions about using ImageAI, a python library to build applications and systems with self-contained Deep Learning and Computer Vision.

Use together with .

Related Tags

Links

This tag is being discussed in Do we need [imageai]?

69 questions
0
votes
1 answer

Unable to draw lines using OpenCV

I have created a per_frame function that is fed into ImageAI's detector. I want to draw a line between centroid that meet the distance criteria (if distance >= find_dist_ratio(x1, y1)). Lines should be drawn between the centroids of all objects that…
0
votes
0 answers

`get_session` is not available when using TensorFlow 2.0

I tried to run this script with Python 3.7 and PyCharm 2019 CE, already installed every required libraries. https://towardsdatascience.com/object-detection-with-10-lines-of-code-d6cb4d86f606 from imageai.Detection import ObjectDetection import…
0
votes
1 answer

Getting AttributeError in Google Colab

I am training an object detection model using the Image AI library in google colab. I get the following error AttributeError: '_TfDeviceCaptureOp' object has no attribute '_set_device_from_string' This is how the error is Generating anchor boxes…
0
votes
0 answers

ImageAI - "TypeError: 'NoneType' object is not subscriptable"

When using the DetectModelTrainer() class in ImageAI on the first epoch at 839/840 I’m getting this error: libpng warning: iCCP: known incorrect sRGB profile Cannot find crab\validation\images\533.257297283.jpg Traceback (most recent call last): …
0
votes
1 answer

ImageAI Object detection with prediction training

I have successfully trained a predictor model - so with no labels using ModelTraining class. Currently, I can use CustomImagePrediction.predictImage() to return a value of what it thinks is in the picture. I want to be able to detect the location of…
s33ds
  • 57
  • 7
0
votes
0 answers

Why am i getting TypeError in imageAI?

I am getting a error while using imageAI. I have tried troubleshooting the file path and am sure it is correct, what am I getting wrong? My OS Ubuntu 18+ and running Python 2+ . My code is below: python import os from imageai.Detection import…
-1
votes
0 answers

Detect exact object coordinates in Python using trained models

Is it possible to detect exact coordinates (pixels) of an object in Python? Currently i'm working with ImageAI and YOLOv3 models, but it provides only a box with the object. I haven't found any references in ImageAI docs how to detect exact…
Nokt
  • 29
  • 5
-4
votes
2 answers

how to run on array of string in nested loop in python

I try to run this code (small part of my program) I fixed and added whitespaces and now I get new error, maybe this array does not fit to string? arrayOfPhotos = ["1.jpg", "2.jpg", "3.jpg", "4.jpg"] for name in arrayOfPhotos: detections =…
1 2 3 4
5