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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4f18d4d1c9c43637b4566baa5260c548e1288b0fb85ed3e22199b81908f9bc |
|
MD5 | 49346e073b790502d1499349ae1f3d45 |
|
BLAKE2b-256 | 995ac94481be8132129cb06254d9ad97189a7debb43989dee91c486de01dc450 |
Close
Hashes for poliduckie_segmentation-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a4f0b751cb2a1b6a010571b6c42fbb86105ae1f0059e266b3eebf1c7aa169d |
|
MD5 | 40e86edeca9dfea0927114d585d802c8 |
|
BLAKE2b-256 | 05d0c34c620929b5295d0732b4548c424b25ea6783a44e740c95e4035961d601 |