Segmentation from the Poliduckie team.
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for poliduckie_segmentation-0.1.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 970632fad432089c6f44c8b319d343977bcc928e3f3b8d90eb897c603f643d98 |
|
MD5 | 301e51b1b4c040bbe89dd06459280446 |
|
BLAKE2b-256 | 58ae5e36302f24096a4ca45bd3fc7855c3462c8335e4a105b35231b6faab3477 |
Close
Hashes for poliduckie_segmentation-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b52e43f9d21d61ed44f58055c7a1fcbbddfeaf282391a456b2abe0ed68bc25 |
|
MD5 | 27c0ce921e95cf96d3761da261738107 |
|
BLAKE2b-256 | fdc62ea92748cc584f9fe2766ef3055fb190a29272516c28db3fa4675c33dce0 |