Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/calclbp.py   antispoofing.lbp(Download)
 
    # start the work here...
    vin = input.load() # load the video
 
    data = numpy.array(args.blocks * args.blocks * lbphistlength[args.lbptype] * [0.]) # initialize the accumulated histogram	for uniform LBP

src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/calcframelbp.py   antispoofing.lbp(Download)
 
    # start the work here...
    vin = input.load() # load the video
 
    histdata = numpy.ndarray((0,args.blocks * args.blocks * lbphistlength[args.lbptype]), 'float64') # the numpy.ndarray, each row is the histogram of one frame

src/a/n/antispoofing.lbptop-1.0.4/antispoofing/lbptop/script/lbptop_calculate_parameters.py   antispoofing.lbptop(Download)
 
    # start the work here...
    vin = input.load() # load the video
    nFrames = vin.shape[0]
 

src/a/n/antispoofing.motion-1.1.1/antispoofing/motion/script/framediff.py   antispoofing.motion(Download)
 
    # start the work here...
    vin = input.load() # load all in one shot.
    prev = bob.ip.rgb_to_gray(vin[0,:,:,:])
    curr = numpy.empty_like(prev)

src/a/n/antispoofing.dog-1.0.2/antispoofing/dog/script/parameters.py   antispoofing.dog(Download)
 
    # start the work here...
    vin = input.load() # load the video
    nFrames = vin.shape[0]