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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5049eb8cde73339044dd6cdee4c1e2b494680e0c646058ab0c9a337dffabce |
|
MD5 | 5efc4d83250626efe9eaae813416ddb9 |
|
BLAKE2b-256 | c1bb7c3223de2764b4cb97f595ae11fc668361bd351ce3d63ddbae70047a43c2 |
Close
Hashes for poliduckie_segmentation-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b0fdf263d5cbf58517c35055bca1096c62b7c0eec03b1d3e709fa42cdcfafa9 |
|
MD5 | 4f4e132302cc96a470d093c2515ed917 |
|
BLAKE2b-256 | 7f0b04624e7b2a4928afa1bdd7d4c383bad42539f7ca16ac69d00fb456e217ff |