aws-predictions/src/main/java/com/amplifyframework/predictions/aws/adapter/RekognitionResultTransformers.java [58:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Nullable
    public static RectF fromBoundingBox(@Nullable BoundingBox box) {
        if (box == null) {
            return null;
        }
        return new RectF(
                box.getLeft(),
                box.getTop(),
                box.getLeft() + box.getWidth(),
                box.getTop() + box.getHeight()
        );
    }

    /**
     * Converts geometric polygon from Amazon Rekognition into
     * Amplify-compatible polygon object.
     * @param polygon the polygon object by Amazon Rekognition
     * @return the polygon object representing vertices
     */
    @Nullable
    public static Polygon fromPoints(@Nullable List<Point> polygon) {
        if (Empty.check(polygon)) {
            return null;
        }
        List<PointF> points = new ArrayList<>();
        for (Point point : polygon) {
            PointF androidPoint = new PointF(
                    point.getX(),
                    point.getY()
            );
            points.add(androidPoint);
        }
        return Polygon.fromPoints(points);
    }


    /**
     * Converts {@link com.amazonaws.services.rekognition.model.Pose}
     * from Amazon Rekognition into Amplify-compatible pose data.
     * @param pose the pose provided by Amazon Rekognition
     * @return the Amplify pose with same orientation
     */
    @Nullable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-predictions/src/main/java/com/amplifyframework/predictions/aws/adapter/TextractResultTransformers.java [62:103]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Nullable
    public static RectF fromBoundingBox(@Nullable BoundingBox box) {
        if (box == null) {
            return null;
        }
        return new RectF(
                box.getLeft(),
                box.getTop(),
                box.getLeft() + box.getWidth(),
                box.getTop() + box.getHeight()
        );
    }

    /**
     * Converts geometric polygon from Amazon Textract into
     * Amplify-compatible polygon object.
     * @param polygon the polygon object by Amazon Textract
     * @return the polygon object representing vertices
     */
    @Nullable
    public static Polygon fromPoints(@Nullable List<Point> polygon) {
        if (Empty.check(polygon)) {
            return null;
        }
        List<PointF> points = new ArrayList<>();
        for (Point point : polygon) {
            PointF androidPoint = new PointF(
                    point.getX(),
                    point.getY()
            );
            points.add(androidPoint);
        }
        return Polygon.fromPoints(points);
    }

    /**
     * Converts a given Amazon Textract block into Amplify's
     * image text feature. Returns null if not a valid text.
     * @param block Textract text block
     * @return Amplify text feature instance
     */
    @Nullable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



