Package com.kurento.kmf.media

Examples of com.kurento.kmf.media.RelativePoint


        .build();

    List<RegionOfInterest> rois = newArrayList();
    List<RelativePoint> points = new ArrayList<RelativePoint>();

    points.add(new RelativePoint(0, 0));
    points.add(new RelativePoint((float) 0.5, 0));
    points.add(new RelativePoint((float) 0.5, (float) 0.5));
    points.add(new RelativePoint(0, (float) 0.5));

    RegionOfInterestConfig config = new RegionOfInterestConfig();

    config.setFluidityLevelMin(10);
    config.setFluidityLevelMed(35);
View Full Code Here


      }

      else if (contentId != null && contentId.equalsIgnoreCase("crowd")) {
        // Crowd Detector Filter
        List<RelativePoint> points = new ArrayList<RelativePoint>();
        points.add(new RelativePoint(0, 0));
        points.add(new RelativePoint(1, 0));
        points.add(new RelativePoint(1, 1));
        points.add(new RelativePoint(0, 1));
        RegionOfInterestConfig config = new RegionOfInterestConfig();
        config.setFluidityLevelMin(10);
        config.setFluidityLevelMed(35);
        config.setFluidityLevelMax(65);
        config.setFluidityNumFramesToEvent(5);
View Full Code Here

            float x = coordenate.getAsJsonPrimitive("x")
                .getAsFloat();
            float y = coordenate.getAsJsonPrimitive("y")
                .getAsFloat();

            points.add(new RelativePoint(x, y));
          }

          RegionOfInterestConfig config = new RegionOfInterestConfig();

          config.setFluidityLevelMin(roi.getAsJsonPrimitive(
View Full Code Here

TOP

Related Classes of com.kurento.kmf.media.RelativePoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.