mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
New dist file syncd to head
This commit is contained in:
Vendored
+25
-30
@@ -437,7 +437,7 @@ define("almond", function(){});
|
||||
|
||||
define(
|
||||
'barcode_reader',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
function BarcodeReader() {
|
||||
this._row = [];
|
||||
@@ -631,7 +631,7 @@ define(
|
||||
"./barcode_reader"
|
||||
],
|
||||
function(BarcodeReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function Code128Reader() {
|
||||
BarcodeReader.call(this);
|
||||
@@ -1079,7 +1079,7 @@ define(
|
||||
"./barcode_reader"
|
||||
],
|
||||
function(BarcodeReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function EANReader() {
|
||||
BarcodeReader.call(this);
|
||||
@@ -1379,7 +1379,7 @@ define(
|
||||
/* global define */
|
||||
|
||||
define('image_loader',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
var ImageLoader = {};
|
||||
ImageLoader.load = function(directory, callback, offset, size, sequence) {
|
||||
@@ -1443,7 +1443,7 @@ define('image_loader',[],function() {
|
||||
/* global define */
|
||||
|
||||
define('input_stream',["image_loader"], function(ImageLoader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var InputStream = {};
|
||||
InputStream.createVideoStream = function(video) {
|
||||
@@ -1732,7 +1732,7 @@ define("typedefs", (function (global) {
|
||||
/* global define */
|
||||
|
||||
define('subImage',["typedefs"], function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Construct representing a part of another {ImageWrapper}. Shares data
|
||||
@@ -1829,7 +1829,7 @@ define('subImage',["typedefs"], function() {
|
||||
/* global define, vec2 */
|
||||
|
||||
define('cluster',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Creates a cluster for grouping similar orientations of datapoints
|
||||
@@ -4174,7 +4174,7 @@ define("glMatrixAddon", ["glMatrix"], (function (global) {
|
||||
/* global define */
|
||||
|
||||
define('array_helper',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
init : function(arr, val) {
|
||||
@@ -4261,7 +4261,7 @@ define('array_helper',[],function() {
|
||||
|
||||
define('cv_utils',['cluster', 'glMatrixAddon', "array_helper"], function(Cluster2, glMatrixAddon, ArrayHelper) {
|
||||
|
||||
|
||||
"use strict";
|
||||
/*
|
||||
* cv_utils.js
|
||||
* Collection of CV functions and libraries
|
||||
@@ -4904,7 +4904,7 @@ define('image_wrapper',[
|
||||
],
|
||||
function(SubImage, CVUtils, ArrayHelper) {
|
||||
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Represents a basic image combining the data and size.
|
||||
@@ -5325,7 +5325,7 @@ define('image_wrapper',[
|
||||
* http://www.codeproject.com/Tips/407172/Connected-Component-Labeling-and-Vectorization
|
||||
*/
|
||||
define('tracer',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
var Tracer = {
|
||||
searchDirections : [[0, 1], [1, 1], [1, 0], [1, -1], [0, -1], [-1, -1], [-1, 0], [-1, 1]],
|
||||
@@ -5434,7 +5434,7 @@ define('tracer',[],function() {
|
||||
* http://www.codeproject.com/Tips/407172/Connected-Component-Labeling-and-Vectorization
|
||||
*/
|
||||
define('rasterizer',["tracer"], function(Tracer) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var Rasterizer = {
|
||||
createContour2D : function() {
|
||||
@@ -5630,7 +5630,7 @@ define('rasterizer',["tracer"], function(Tracer) {
|
||||
/* global define */
|
||||
|
||||
define('skeletonizer',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
/* @preserve ASM BEGIN */
|
||||
function Skeletonizer(stdlib, foreign, buffer) {
|
||||
@@ -5835,7 +5835,7 @@ define('skeletonizer',[],function() {
|
||||
/* global define */
|
||||
|
||||
define('image_debug',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
drawRect: function(pos, size, ctx, style){
|
||||
@@ -6380,7 +6380,7 @@ function(ImageWrapper, CVUtils, Rasterizer, Tracer, skeletonizer, ArrayHelper, I
|
||||
/* global define */
|
||||
|
||||
define('bresenham',[],function() {
|
||||
|
||||
"use strict";
|
||||
var Bresenham = {};
|
||||
|
||||
var Slope = {
|
||||
@@ -6586,7 +6586,7 @@ define(
|
||||
"./array_helper"
|
||||
],
|
||||
function(BarcodeReader, ArrayHelper) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function Code39Reader() {
|
||||
BarcodeReader.call(this);
|
||||
@@ -6848,7 +6848,7 @@ define(
|
||||
"./barcode_reader"
|
||||
],
|
||||
function(BarcodeReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function CodabarReader() {
|
||||
BarcodeReader.call(this);
|
||||
@@ -7161,7 +7161,7 @@ define(
|
||||
"./ean_reader"
|
||||
],
|
||||
function(EANReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function UPCReader() {
|
||||
EANReader.call(this);
|
||||
@@ -7192,7 +7192,7 @@ define(
|
||||
"./ean_reader"
|
||||
],
|
||||
function(EANReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function EAN8Reader() {
|
||||
EANReader.call(this);
|
||||
@@ -7237,7 +7237,7 @@ define(
|
||||
"./ean_reader"
|
||||
],
|
||||
function(EANReader) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function UPCEReader() {
|
||||
EANReader.call(this);
|
||||
@@ -7363,13 +7363,8 @@ define('barcode_decoder',[
|
||||
UPCReader,
|
||||
EAN8Reader,
|
||||
UPCEReader) {
|
||||
<<<<<<< HEAD
|
||||
"use strict";
|
||||
|
||||
=======
|
||||
|
||||
|
||||
>>>>>>> upstream/master
|
||||
var readers = {
|
||||
code_128_reader: Code128Reader,
|
||||
ean_reader: EANReader,
|
||||
@@ -7647,7 +7642,7 @@ define('barcode_decoder',[
|
||||
/* global define */
|
||||
|
||||
define('frame_grabber',["cv_utils"], function(CVUtils) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var FrameGrabber = {};
|
||||
|
||||
@@ -7729,7 +7724,7 @@ define('frame_grabber',["cv_utils"], function(CVUtils) {
|
||||
/* global define */
|
||||
|
||||
define('html_utils',[], function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
function createNode(htmlStr) {
|
||||
var temp = document.createElement('div');
|
||||
@@ -7823,7 +7818,7 @@ define('config',[],function(){
|
||||
/* global define */
|
||||
|
||||
define('events',[],function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
var _events = function() {
|
||||
var events = {};
|
||||
@@ -7914,7 +7909,7 @@ define('events',[],function() {
|
||||
/* global define, MediaStreamTrack */
|
||||
|
||||
define('camera_access',["html_utils"], function(HtmlUtils) {
|
||||
|
||||
"use strict";
|
||||
var streamRef,
|
||||
loadedDataHandler;
|
||||
|
||||
@@ -8081,7 +8076,7 @@ function(Code128Reader,
|
||||
CameraAccess,
|
||||
ImageDebug,
|
||||
CVUtils) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var _inputStream,
|
||||
_framegrabber,
|
||||
|
||||
Reference in New Issue
Block a user