semvec/pypi-packages huggingface dataset:
labelme2yolov7segmentation 2.0.0
Convert LabelMe format to yolov7 for segmentation.
License: MIT

# LabelMe2Yolov7Segmentation

This repository was designed in order to label images using [LabelMe](https://github.com/wkentaro/labelme) and transform to [YoloV7](https://github.com/WongKinYiu/yolov7) format for instance segmentation

## Instalation

`pip install labelme2yolov7segmentation`

## Usage

First of all, make your dataset with LabelMe, after that call to the following command

`labelme2yolo --source-path /labelme/dataset --output-path /another/path`

The arguments are:

* `--source-path`: That indicates the path where are the json output of LabelMe and their images, both will have been in the same folder
* `--output-path`: The path where you will save the converted files and a copy of the images following the yolov7 folder estructure

### Expected output

If you execute the following command:

`labelme2yolo --source-path /labelme/dataset --output-path /another/datasets`

You will get something like this

```bash
datasets
├── images
│   ├── train
│   │   ├── img_1.jpg
│   │   ├── img_2.jpg
│   │   ├── img_3.jpg
│   │   ├── img_4.jpg
│   │   └── img_5.jpg
│   └── val
│       ├── img_6.jpg
│       └── img_7.jpg
├── labels
│   ├── train
│   │   ├── img_1.txt
│   │   ├── img_2.txt
│   │   ├── img_3.txt
│   │   ├── img_4.txt
│   │   └── img_5.txt
│   └── val
│       ├── img_6.txt
│       └── img_7.txt
├── labels.txt
├── test.txt
└── train.txt
```

## Donation

If you want to contribute you can make a donation at https://www.buymeacoffee.com/tlaloc, thanks in advance
FaceDetector-cc 0.0.2
Simple python package to simply use mediapipe face detection.
License: MIT
Requires Python: >=3.6
Keywords: Mediapipe,Opencv,Face Detection,Python


# FaceDetector-cc Module

Simple python package to simply use mediapipe face detection.


## Author Details

#### Name : [Chanchal Roy](https://github.com/Chexa12cc)
#### Email : [croy7667@gmail.com](https://mail.google.com/mail/u/0/#inbox?compose=GTvVlcSKjDXfbgxPqzlHGlKdhgKgDfbxZMfwLWHzBDlSCTsRdSrZxkGcgLHSwmlbGpKmVPcLfKxWQ)


## GitHub Project Details

#### Project : [FaceDetector-cc](https://github.com/Chexa12cc/FaceDetector-cc)


## Installation

Install FaceDetector-cc with pip

```bash
  pip install FaceDetector-cc
```


## Usage

```python
import FaceDec
import time

RED = (0, 0, 255)
YELLOW = (0, 255, 255)
timeS, timeE = 0, 0

obj = FaceDec.FaceDetector()
cam = obj.init_cam()

while cam.isOpened():
    success, frame = cam.read()

    if not success: continue

    face_lm, face_bbox = obj.detect_face(frame)
    print(face_lm, face_bbox, sep='\n', end='\n\n')

    timeE: float = time.time()
    fps = int(1 / (timeE - timeS))
    timeS = timeE
    c.putText(frame, str(f'FPS : {fps}'), (10, 30), 0, 1, YELLOW, 2)

    c.imshow('Face Detection : Chanchal Roy', frame)

    if c.waitKey(1) & 0xff == ord('q'): break

cam.release()
c.destroyAllWindows()
```