Package astro.detect.bgs

Examples of astro.detect.bgs.MOGBGS


            //stream.saveSnapshot(file);
      BufferedImage sns;
           
            if( (sns = stream.getSnapshot()) != null ) {
                if( this.bgs == null )
                    this.bgs = new MOGBGS(new BackgroundSubtractorMOG2(10, 90f));
                this.bgs.setShowFg(true);
                ((MOGBGS)this.bgs).setMovePercent(0.01f);
                this.bgs.process(ImgConverter.toMat(sns));

                if( this.bgs.isMoving() ) {
View Full Code Here

TOP

Related Classes of astro.detect.bgs.MOGBGS

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.