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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0459e62ed9334b859d6637173be24f2d649e62a2219c36a990bb43ab5e0ab9d5 |
|
MD5 | 8031d43cdb1661ddccb61dbfd01e160d |
|
BLAKE2b-256 | 97f6dc1e71d6690cbd9103028b1de6bd2eb24779efbe9b8006b715dc33530ca2 |
Close
Hashes for poliduckie_segmentation-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a8115a34f05cba3bf3238bd0c8cb0dd318341aa11d8d262893b408aa5f99e8 |
|
MD5 | f6bc573a9ee14d400df4a3bbe96b3743 |
|
BLAKE2b-256 | dfca353091936e284f7232760ceddaa61640ed7662e903d514ae01ec777d2122 |