m-kashani / MS_Project

MIT License
3 stars 0 forks source link

Result after code3.py #2

Open m-kashani opened 4 years ago

m-kashani commented 4 years ago

What it does?

Shows the images before and after the bounding boxes based on the given coordination.


TO Do NEXT:


top 5 images Number of Objects
A_3D_L0646_144.jpg 56
3D_L0622_176.jpg 55
3R010215_829.jpg 54
B_3D_L0647_42.jpg 53
3D_L0622_139.jpg 53

3L040215_322.jpg 49 B_3D_L0647_127.jpg 49 3D_L0453_49.jpg 48 3D_L0622_91.jpg 48 3D_L0622_150.jpg 48 3D_L0623_38.jpg 47 B_3D_L0647_160.jpg 47 3L010215_778.jpg 47 3D_L0453_283.jpg 47 B_3D_L0647_488.jpg 46 3D_L0215_202.jpg 45 3D_L0623_59.jpg 45 A_3D_L0646_394.jpg 45 C_3D_L0648_194.jpg 44 A_3D_L0646_263.jpg 44

bottom 5 images Number of Objects
3D_L0443_21.jpg 8
3D_L0443_36.jpg 5
3D_L0441_41.jpg 4
3D_L0457_97.jpg 2
3D_L0453_119.jpg 2

Might be related later:

https://github.com/facebookresearch/detectron2/blob/master/detectron2/utils/visualizer.py
    def bbox(self):
        p = mask_util.frPyObjects(self.polygons, self.height, self.width)
        p = mask_util.merge(p)
        bbox = mask_util.toBbox(p)
        bbox[2] += bbox[0]
        bbox[3] += bbox[1]
        return bbox
m-kashani commented 4 years ago

image

Contaminated Examples:

image

image

image


Examples that are not labeled!

3D_L0622_176.jpg

image

m-kashani commented 4 years ago

image

I think that it's gonna work:

https://github.com/m-kashani/pycococreator/blob/master/examples/shapes/train/shapes_train2018/1001.jpeg

image

image

Next issue :+1:

image

So ->

https://forum.image.sc/t/creating-binary-png-masks/26348 image