Package com.kurento.kmf.media

Examples of com.kurento.kmf.media.RegionOfInterest


    config.setSendOpticalFlowEvent(false);
    config.setOpticalFlowNumFramesToEvent(3);
    config.setOpticalFlowNumFramesToReset(3);
    config.setOpticalFlowAngleOffset(0);

    rois.add(new RegionOfInterest(points, config, "roi0"));

    CrowdDetectorFilter crowdDetectorFilter = mp.newCrowdDetectorFilter(
        rois).build();
    playerEP.connect(crowdDetectorFilter);
    crowdDetectorFilter.connect(httpEP);
View Full Code Here


        config.setOccupancyLevelMed(35);
        config.setOccupancyLevelMax(65);
        config.setOccupancyNumFramesToEvent(5);
        config.setSendOpticalFlowEvent(false);

        List<RegionOfInterest> rois = newArrayList(new RegionOfInterest(
            points, config, "Roi"));
        CrowdDetectorFilter crowdDetector = mp.newCrowdDetectorFilter(
            rois).build();
        playerEndpoint.connect(crowdDetector);
        crowdDetector.connect(httpEP);
View Full Code Here

              .getAsInt());
          config.setOpticalFlowAngleOffset(roi.getAsJsonPrimitive(
              "opticalFlowAngleOffset").getAsInt());

          getLogger().info(config.toString());
          rois.add(new RegionOfInterest(points, config, roi
              .getAsJsonPrimitive("id").getAsString()));
        }

        crowdDetector = mediaPipeline.newCrowdDetectorFilter(rois)
            .build();
View Full Code Here

TOP

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

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.