function recognizeFromPoints(points) { return { shape: Shapes.rectangle, points, } } export const Shapes = { rectangle: "rect", } export default recognizeFromPoints