Poliduckies common packages
A package ready to be installed that provides the work made by the Poliduckie team
pip install poliduckie-segmentation
Example for segmentation
from poliduckie_segmentation.segmentation import Segmentation
image = [...]
segmentation = Segmentation()
# To predict:
prediction = segmentation.predict(image)
# To get the model:
segmentation.get_model()
# To get the model summary:
segmentation.get_model_summary()
Example for MPC
from poliduckie_segmentation.control import MPC
M = MPC()
# x = state, r = reference (with N=10 be like r=[[0.1, 0.1]]*10)
next_action = M.mpc(x, r)
Example for Model
from poliduckie_segmentation.model import Model
F = Model()
x, y, theta = 0,0,0
action = [1,1] # linear and angular speed
next_state = F.step(x, y, theta, previous_speed, previous_angular_speed, action)
# To use as action left and right wheel speed:
F.step_wheel_speed(x, y, theta, previous_speed, previous_angular_speed, action)
Metadata
Release files for poliduckie-segmentation 0.1.17.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poliduckie_segmentation-0.1.17.1.tar.gz | 22.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poliduckie_segmentation-0.1.17.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.2 MB
Release files / poliduckie_segmentation-0.1.17.1.tar.gz
| Download URL | poliduckie_segmentation-0.1.17.1.tar.gz |
|---|---|
| Size | 22.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2678e1baa96e3092a0696f68f17e7f8e4b7ea59e4496011bcd8e165f49dbb34
|
|
BLAKE2b-256 checksum How to use checksums |
ff8e7c56153c6fe817e74fca6acd0f893c0fea55b161572e85a84b1346ce7414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / poliduckie_segmentation-0.1.17.1-py3-none-any.whl
| Download URL | poliduckie_segmentation-0.1.17.1-py3-none-any.whl |
|---|---|
| Size | 22.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
598f67899ea29f6d2ce76cef4305e514bd562251be534620b4a46b9b2701a641
|
|
BLAKE2b-256 checksum How to use checksums |
57db7b7b07d9ea35d472a1a42a6813b7b1a2d339bba30246d527e5ccfb2923d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|