Category : object-detection

Hellllo guys, right now I have this image that has some concentration of white pixels forming a rectangle right in the middle of this image. Surrounding the rectangle-like object, there is a black region. And after the black region, there are some white pixels that are considered to be noise and will be removed from ..

Read more

I’m trying to return list of objects that are returned from the detection or at least the name of the object. My code: while True: ret, frame = cap.read() image_np = np.array(frame) input_tensor = tf.convert_to_tensor(np.expand_dims(image_np, 0), dtype=tf.float32) detections = detect_fn(input_tensor) num_detections = int(detections.pop(‘num_detections’)) detections = {key: value[0, :num_detections].numpy() for key, value in detections.items()} detections[‘num_detections’] = ..

Read more

New to both python and machine learning. I’m trying to draw bounding boxes on my mss screen capture. This is the part of the code where I believe I should be receiving the coordinates to draw the rectangle. while True: img = screnshot.grab(bounding_box) frame = np.array(img) cv2.imshow(‘Testing’, frame) results = model(frame) results.print() pandasbox=results.pandas().xyxy[0] print(pandasbox) The ..

Read more

I need help to deal with an error… I try to create an object detection program with a tutorial made by lazy tech on Youtube. This tutorial use this repo on github https://github.com/Bengemon825/TF_Object_Detection2020 I have an error when I try to generate the tfrecord file for my train data and my test data. I run ..

Read more