Sunday, January 14, 2024

Python & ML: Tips

[1] __init__.
Free:
1. Make Sense: https://www.makesense.ai/
2. VGG Image Annotator: https://www.robots.ox.ac.uk/~vgg/software/via/
3. Computer Vision Annotator Tool (CVAT): https://github.com/openvinotoolkit/cvat
4. Labelme: http://labelme.csail.mit.edu/
5. Dash Doodler: https://github.com/Doodleverse/dash_doodler
6. LabelImg: https://github.com/tzutalin/labelImg
7. Label Studio: https://labelstud.io/
Paid:
8. LabelBox: https://labelbox.com/
9. Scale: https://scale.com/
10. Superannotate: https://www.superannotate.com/
[3] git.
[4] pip install -e git+https://github.com/tensorflow/examples.git#egg=TensorFlow-Examples
[5] tqdm means "progress" in Arabic.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from tqdm import tqdm

# create a list to store images
images=[]
# iterate over 1000 image paths
for path in tqdm(image_path):
    # read file
    file=tf.io.read_file(path)
    # decode a png file to a tensor
    image=tf.image.decode_png(file, channels=3, dtype=tf.uint8)
    # append to the list
    images.append(image)

No comments:

Post a Comment