semvec/pypi-packages huggingface dataset:
irisSeg 0.3
Daugman implementation to segement iris and pupil
License: MIT
Keywords: Daugman Daugman's integrodifferential operator iris pupil segementation computer vision

# irisSeg


Segementation of iris and pupil.

## Daugman algorithm:

![image](irisSeg/Data/DaughmanOperation.jpg)

`where I(x,y) is the eye image, r is the radius to searches over the image (x,y), G(r) is a Gaussian smoothing function.
The algorithm starts to search from the pupil, in order to detect the changing of maximum pixel values
(partial derivative).`

# Installation
    pip install irisSeg

# Usage

    from irisSeg import irisSeg
    import matplotlib.pyplot as plt
    #
    # you can also view using the argument in irisSeq function
    #
    coord_iris, coord_pupil, output_image = irisSeg('UBIRIS_200_150_R/Sessao_1/1/Img_1_1_1.jpg', 40, 70)
    print(coord_iris) # radius and the coordinates for the center of iris 
    print(coord_pupil) # radius and the coordinates for the center of pupil 
    plt.imshow(output_image)
    plt.show()

# use as a commandline tool

    >>iris-seg file_path min_radius max_radius


![image](irisSeg/Data/sample_img.jpg)

![image](irisSeg/Data/segemented_img.png)

# References

1. `https://www.diva-portal.org/smash/get/diva2:831173/FULLTEXT01.pdf`
2. `https://uk.mathworks.com/matlabcentral/fileexchange/15652-iris-segmentation-using-daugman-s-integrodifferential-operator`
sockapp 0.1a8
Simple flask webapp for sending files over network using socket.
License: MIT

# SockApp

Simple flask web app to transfer files and messages between two computers using socket. Uses <a href="https://github.com/pulse-net/sockx.git">SockX</a> to transfer files and messages.

## Steps to run

1. Install sockapp using pip:-

```bash
user@programmer~:$ pip install sockapp
```

2. Run sockapp from terminal on both sender and receiver (make sure you are in receiving location at receiver's end):-

```bash
user@programmer~:$ sockapp
```

2.1. To run sockapp from a different port, pass it as a command line argument:-

```bash
user@programmer~:$ sockapp --port 12345
```

2.2. To run sockapp using a different protocol (default = TCP), pass it as a command line argument:-

```bash
user@programmer~:$ sockapp --protocol UDP
```

2.3. To run sockapp from a different working directory, pass it as a command line argument:-

```bash
user@programmer~:$ sockapp --start_dir /home/user/sample-dir
```

**Note**:- If you want to  use TCP you can mention it using this command line arugment but since it is the default value, passing TCP is optional.

3. From sender enter IP address of receiver and file path to be sent.

4. From receiver accept the connection by pressing the receive button.

# License

SockApp is licensed under <a href="https://github.com/pulse-net/sockapp/blob/master/LICENSE">MIT License</a>.