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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6318811794da44ebaa2cb9b054469551a5c109c48f15634f8db9e3b431afa32 |
|
MD5 | a8bf502ff14c76d60cf389fe8199c382 |
|
BLAKE2b-256 | 032fb5e9c2b0a1edc0401c50d017a2ac8732298790afd11cc6fee7fbfe8c0808 |
Close
Hashes for poliduckie_segmentation-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41dc7761cbac590ac20187bb108dab46ef9b19994e1ab628b97df768dbb11cf2 |
|
MD5 | 64bf846410d17067d0c04ce73793d108 |
|
BLAKE2b-256 | f3a5012f95f2f7c6256d697a36cbb21726a5f20ff3f14f428b89f87dea0d0475 |