semvec/pypi-packages huggingface dataset:
greenponik-tsl2561 0.0.3
Read TSL2561 through Python3 on raspberry pi
License: MIT
Requires Python: >=3.6.0
Keywords: GreenPonik hydroponics tsl2561 light reader python hardware diy iot raspberry pi

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=alert_status)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)

[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=ncloc)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)

[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=security_rating)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=GreenPonik_GreenPonik_TSL2561&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=GreenPonik_GreenPonik_TSL2561)


![Upload Python Package](https://github.com/GreenPonik/GreenPonik_TSL2561/workflows/Upload%20Python%20Package/badge.svg?event=release)
![Python package](https://github.com/GreenPonik/GreenPonik_TSL2561/workflows/Python%20package/badge.svg?event=push)


## GreenPonik_TSL2561.py Library for Raspberry pi
---------------------------------------------------------
This is the sample code for read light with TSL2561 sensor.


## Table of Contents

- [GreenPonik_TSL2561.py Library for Raspberry pi](#GreenPoniktsl2561py-library-for-raspberry-pi)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Methods](#methods)
- [Examples](#examples)
- [Credits](#credits)


## Installation
```shell
> git clone https://github.com/GreenPonik/GreenPonik_TSL2561.git
cd GreenPonik_TSL2561
pip3 install -r requirements.txt

or 

> pip3 install greenponik-tsl2561
```
```Python

from GreenPonik_TSL2561 import GreenPonik_TSL2561

```

## Methods

```python
"""
Get light data
"""
def read_tsl2561():

```

## Example
```Python
import time
from GreenPonik_TSL2561 import GreenPonik_TSL2561

if __name__ == "__main__":
    tsl = GreenPonik_TSL2561()
    while True:
        data = tsl.read_tsl2561()
        print(data)
        time.sleep(1)
```

## Credits
Write by Mickael Lehoux, from [GreenPonik](https://www.greenponik.com), 2019
camcalib 1.0.5
A wrapper around the main functionalities offered by OpenCV for camera calibration for cleaner and maintainable calibration routines.
License: MIT

# Camera Calibration w/ Python + OpenCV
A wrapper around the main functionalities offered by OpenCV for camera calibration for cleaner and maintainable calibration routines.

## Dependencies
```
numpy (1.17.4 preferred)
opencv (3.4.2 preferred)
tqdm
```
##Installation 
```
pip install camcalib
```

## Instructions
### Import 
```
from cam_calib import camera_calibrate
```
### Single Camera Calibration

Instantiate an object of type `camera_calibrate` by passing in relevant arguments to the constructor. (Example below uses some place holder arguments)

```
camera_1 = camera_calibrate(img_path = './path', dims = (w, h), img_size = (w_i, h_i),...)
```

Use the `calib` method on the object for single camera calibration

```
params = camera_1.calib()
```
### Stereo Camera Calibration
Instantiate two objects of the type `camera_calibrate` by passing in relevant arguments to the constructor. (Example below uses some place holder arguments)

```
camera_1 = camera_calibrate(img_path = '../left_path', dims = (w, h), img_size = (w_i, h_i),...)
camera_2 = camera_calibrate(img_path = '../right_path', dims = (w, h), img_size = (w_i, h_i),...)
```
Call the class method `stereo_calib` method on the class `camera_calibrate` by passing the two objects as arguments. 

```
stereo_params = camera_calibrate.stereo_calib(camera_1, camera_2) 
```