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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec2840f11c2bf670a981c4eedb55ea1e6113589ca34c013448699a31a32138e5 |
|
MD5 | b2a89208fb8b8d62d5ff1ed342c1c9a3 |
|
BLAKE2b-256 | 72df2d4900b61638c04dab9d07765bf34f1dbcfa610d04bc043460c3c0399da8 |
Close
Hashes for poliduckie_segmentation-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38794a3b719c895d7a9b178408014c8d89f463c8061f7971968b0ff95a23462f |
|
MD5 | df826fac7913a5f5ef67afe4cb5b4be6 |
|
BLAKE2b-256 | fdd1dfc63294649beaefd6ff92af36f615c42fd2002b19081f6421c48bfd0b89 |