-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchindex.js
1 lines (1 loc) · 47.2 KB
/
searchindex.js
1
Search.setIndex({"docnames": ["README_", "development", "development/coverage", "development/pytest_", "examples/index", "index", "modules", "pythia", "pythia.applications", "pythia.applications.annotation", "pythia.applications.base", "pythia.applications.command_line", "pythia.applications.demo", "pythia.cli", "pythia.cli.app", "pythia.config", "pythia.event_stream", "pythia.event_stream.base", "pythia.event_stream.kafka", "pythia.event_stream.log", "pythia.event_stream.memory", "pythia.event_stream.redis", "pythia.exceptions", "pythia.iterators", "pythia.models", "pythia.models.base", "pythia.paths", "pythia.pipelines", "pythia.pipelines.base", "pythia.types", "pythia.utils", "pythia.utils.ds", "pythia.utils.ext", "pythia.utils.gst", "pythia.utils.maskrcnn", "pythia.utils.message_handlers", "pythia.utils.str2pythia"], "filenames": ["README_.md", "development.md", "development/coverage.rst", "development/pytest_.rst", "examples/index.md", "index.md", "modules.rst", "pythia.rst", "pythia.applications.rst", "pythia.applications.annotation.rst", "pythia.applications.base.rst", "pythia.applications.command_line.rst", "pythia.applications.demo.rst", "pythia.cli.rst", "pythia.cli.app.rst", "pythia.config.rst", "pythia.event_stream.rst", "pythia.event_stream.base.rst", "pythia.event_stream.kafka.rst", "pythia.event_stream.log.rst", "pythia.event_stream.memory.rst", "pythia.event_stream.redis.rst", "pythia.exceptions.rst", "pythia.iterators.rst", "pythia.models.rst", "pythia.models.base.rst", "pythia.paths.rst", "pythia.pipelines.rst", "pythia.pipelines.base.rst", "pythia.types.rst", "pythia.utils.rst", "pythia.utils.ds.rst", "pythia.utils.ext.rst", "pythia.utils.gst.rst", "pythia.utils.maskrcnn.rst", "pythia.utils.message_handlers.rst", "pythia.utils.str2pythia.rst"], "titles": ["pythia README", "Developers corner", "Coverage", "Pytest", "Code examples", "Welcome to pythia\u2019s documentation", "API Documentation", "pythia package", "pythia.applications package", "pythia.applications.annotation", "pythia.applications.base", "pythia.applications.command_line", "pythia.applications.demo", "pythia.cli package", "pythia.cli.app", "pythia.config", "pythia.event_stream package", "pythia.event_stream.base", "pythia.event_stream.kafka", "pythia.event_stream.log", "pythia.event_stream.memory", "pythia.event_stream.redis", "pythia.exceptions", "pythia.iterators", "pythia.models package", "pythia.models.base", "pythia.paths", "pythia.pipelines package", "pythia.pipelines.base", "pythia.types", "pythia.utils package", "pythia.utils.ds", "pythia.utils.ext", "pythia.utils.gst", "pythia.utils.maskrcnn", "pythia.utils.message_handlers", "pythia.utils.str2pythia"], "terms": {"python": [0, 7, 9, 14, 18, 19, 20, 21, 23, 32, 33, 34], "deepstream": [0, 7, 9, 16, 23, 25, 28, 31, 33, 34], "nvidia": [0, 25, 28], "i": [0, 7, 9, 10, 14, 16, 17, 18, 21, 22, 23, 25, 28, 29, 31, 32, 33, 34, 36], "an": [0, 7, 9, 10, 11, 12, 16, 19, 20, 23, 25, 28, 32, 35], "excel": 0, "gstreamer": [0, 7, 9, 10, 11, 22, 25, 27, 28, 29, 31, 33, 35, 36], "framework": 0, "which": [0, 6, 10, 16, 18, 32, 33, 34], "allow": [0, 10, 20], "build": [0, 28], "ai": 0, "power": 0, "perform": 0, "hardwar": 0, "Its": [0, 14, 23], "api": [0, 5, 29, 31], "bind": 0, "howev": 0, "have": [0, 7, 10, 18, 20, 23, 28], "bunch": 0, "painpoint": 0, "we": [0, 5], "ve": 0, "here": [0, 1, 17], "collect": [0, 10, 14, 25, 28, 30, 34], "address": 0, "metadata": [0, 7, 9, 14, 16, 23, 25, 29, 31], "extract": [0, 14, 23, 25, 28, 34, 36], "requir": [0, 7, 9, 10, 22, 25, 28], "us": [0, 6, 7, 9, 10, 14, 18, 19, 20, 21, 23, 25, 26, 28, 29, 30, 31, 32, 34], "buffer": [0, 7, 10, 16, 17, 23, 28, 29, 31], "probe": [0, 7, 9, 10, 16, 17, 23, 29, 31], "provid": 0, "easi": 0, "interfac": [0, 10, 17, 29, 31, 33, 35], "split": [0, 14], "process": [0, 7, 9, 28], "iter": [0, 5, 6, 7, 25, 32, 33], "pyd": [0, 7, 9, 23, 29, 31, 34], "ar": [0, 6, 10, 25, 28, 34], "intuit": 0, "like": [0, 14, 25, 28, 32], "frame": [0, 7, 9, 23, 28, 29, 31], "frames_per_batch": [0, 23], "wrap": [0, 11, 36], "pybind": 0, "c": [0, 7, 9, 23, 29, 33], "cast": [0, 23, 31, 34], "boilerpl": [0, 10], "app": [0, 5, 7, 10, 11, 13, 28, 34, 35], "get": [0, 10, 17, 25, 31, 32, 33], "veri": 0, "larg": 0, "fast": 0, "abstract": [0, 7, 9, 17, 28], "awai": 0, "stuff": 0, "let": 0, "you": [0, 1, 5, 10, 11], "focu": 0, "quick": 0, "prototyp": 0, "sometim": 0, "just": 0, "want": 0, "new": [0, 35], "model": [0, 5, 6, 7, 9, 14, 28], "eg": [0, 14, 20], "after": [0, 10], "export": 0, "tao": 0, "verifi": 0, "environ": 0, "come": 0, "readi": 0, "demo": [0, 5, 7, 8], "gst": [0, 5, 7, 9, 10, 14, 25, 28, 29, 30, 31, 36], "launch": [0, 14, 25, 28], "offer": 0, "pars": [0, 14, 17, 28, 31, 36], "util": [0, 5, 6, 7, 27], "worker": [0, 20], "queue": 0, "manag": [0, 10], "background": [0, 10, 12, 20], "offload": 0, "outsid": 0, "imag": [0, 28], "both": [0, 14, 18, 21], "aarch64": 0, "jetson": [0, 28], "x86_64": 0, "gpu": [0, 28], "pylaunch": 0, "can": [0, 10, 11, 18, 19, 20, 21], "familiar": 0, "pipelin": [0, 5, 6, 7, 9, 10, 11, 12, 14, 22, 33, 35, 36], "attach": [0, 7, 9, 10], "simpl": [0, 10, 14, 18, 19, 20, 21, 28, 29, 34], "modul": [0, 32, 34], "py": 0, "import": [0, 29, 32, 33], "objects_per_batch": [0, 7, 23], "def": [0, 14, 29], "gen_detect": 0, "batch_meta": [0, 7, 9, 23, 31], "detect": [0, 7, 9, 14, 23, 28, 34], "box": [0, 34], "rect_param": 0, "yield": [0, 7, 10, 17, 23, 33], "frame_num": 0, "label": [0, 23, 25, 31], "obj_label": 0, "left": [0, 34], "top": [0, 34], "width": [0, 28, 34], "height": [0, 28, 34], "confid": 0, "txt": [0, 25], "uridecodebin": [0, 28], "uri": [0, 7, 9, 12, 17, 18, 19, 20, 21, 28, 29], "input": [0, 7, 9, 14, 23, 28, 32], "ident": [0, 33], "eo": [0, 7, 10, 11, 35], "30": 0, "nvvideoconvert": [0, 28], "muxer": [0, 28], "sink_0": 0, "nvstreammux": [0, 7, 23, 28], "name": [0, 7, 9, 10, 14, 25, 28, 29, 32, 33], "1280": [0, 28], "720": [0, 28], "batch": [0, 7, 9, 17, 23, 31], "size": [0, 32], "1": [0, 10, 25, 32, 33], "nvinfer": [0, 7, 9, 23, 25, 28, 31, 36], "pgie": [0, 25, 29], "config": [0, 5, 6, 7, 25], "path": [0, 5, 6, 7, 9, 10, 14, 17, 25, 28, 29, 32], "conf": [0, 25], "nvdsosd": 0, "x264enc": 0, "mp4mux": 0, "filesink": [0, 28], "locat": [0, 7, 9, 14, 25, 32, 33], "p": 0, "opt": [0, 25], "sampl": [0, 34], "config_infer_primari": 0, "stream": [0, 16, 17, 18, 19, 20, 21, 28], "sample_720p": 0, "mp4": [0, 28, 29], "tmp": 0, "overlai": 0, "src": [0, 7, 9, 10, 14, 33, 34], "note": [0, 25], "arg": [0, 7, 9, 10, 11, 14, 25, 28, 29, 31, 34, 35], "were": 0, "dynam": 0, "ad": [0, 29], "thi": [0, 6, 7, 9, 10, 11, 16, 17, 18, 21, 23, 25, 28, 29, 34], "command": [0, 11, 14], "instruct": 0, "do": 0, "follow": [0, 17, 28], "load": [0, 14, 32], "contain": [0, 7, 9, 10, 17, 18, 19, 20, 25, 28, 31, 32], "syntax": [0, 14, 22, 25, 28], "some": 0, "paramet": [0, 7, 9, 10, 11, 12, 14, 17, 18, 19, 20, 21, 23, 25, 28, 31, 32, 33, 34, 35, 36], "insert": [0, 28], "format": [0, 10, 34], "pipeli": 0, "receiv": [0, 7, 14, 16, 23, 25, 28, 31, 32], "For": [0, 10], "more": 0, "complex": 0, "jinja": [0, 14], "templat": [0, 14], "backend": [0, 10, 16, 17, 18, 19, 20, 21, 29], "see": [0, 10, 25, 29], "document": [0, 29], "detail": [0, 10], "intern": [0, 17, 19, 20, 28, 33, 34], "call": [0, 10, 14, 17, 23, 28], "method": [0, 10, 17, 18, 21, 28, 35], "defin": [0, 10, 16, 28], "said": [0, 10], "sourc": [0, 7, 9, 10, 11, 12, 14, 17, 18, 19, 20, 21, 22, 23, 25, 28, 29, 31, 32, 33, 34, 35, 36], "pad": [0, 7, 9, 10, 23, 29, 31, 33], "element": [0, 7, 9, 10, 17, 18, 19, 20, 22, 25, 28, 29, 33, 36], "send": [0, 10, 17, 18, 21, 28], "incom": [0, 7, 9, 10, 19, 20], "logger": [0, 9, 19], "print": [0, 11, 14], "jsonifi": 0, "consol": [0, 14], "someth": 0, "els": 0, "choos": [0, 17], "between": 0, "sever": [0, 10, 23, 28], "log": [0, 5, 7, 9, 16], "stdout": [0, 9], "stderr": [0, 9], "avail": [0, 14, 25, 28], "memori": [0, 5, 7, 16, 19], "dequ": [0, 19, 20], "kafka": [0, 5, 7, 16], "redi": [0, 5, 7, 16], "implement": [0, 7, 9, 10, 16, 17, 28, 29, 34, 35], "own": 0, "connector": 0, "pythia_stream_uri": 0, "env": 0, "var": 0, "If": [0, 10, 14, 25, 28, 31, 32], "granular": 0, "control": 0, "over": [0, 23, 25, 33], "behavior": 0, "its": [0, 7, 14, 17, 18, 19, 20, 21, 23, 25, 28, 32, 33, 34], "signal": [0, 10, 28, 29], "event": [0, 7, 10, 11, 16, 17, 18, 19, 20, 21, 35], "messag": [0, 7, 9, 10, 11, 18, 21, 35], "instead": [0, 14], "program": [0, 14], "aplic": 0, "": [0, 7, 9, 10, 11, 18, 25, 28, 32, 33, 35, 36], "continu": 0, "same": 0, "previou": 0, "myscript": 0, "json": [0, 9], "kafkaproduc": [0, 18], "admin": 0, "kafkaadmincli": 0, "newtop": 0, "class": [0, 7, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20, 21, 23, 25, 28, 29, 31, 33, 34, 35], "__init__": [0, 7, 9, 10, 17, 28], "self": [0, 7, 9, 10, 11, 35], "kw": [0, 14, 25, 29], "super": 0, "manual_kafka": 0, "bootstrap_serv": [0, 18], "9092": 0, "on_message_error": [0, 7, 9, 10, 11, 35], "err": 0, "debug": [0, 7, 9, 10, 35], "app_ev": 0, "dump": [0, 19], "condit": [0, 28, 31], "error": [0, 7, 9, 10, 11, 28, 35], "encod": [0, 25], "rais": [0, 7, 9, 10, 11, 14, 18, 25, 28, 29, 32, 33], "runtimeerror": [0, 10, 11, 28], "unhandl": 0, "on_message_eo": [0, 7, 10, 11, 35], "bu": [0, 7, 9, 10, 11, 35], "sent_bi": 0, "str": [0, 7, 9, 10, 12, 14, 17, 18, 19, 20, 21, 25, 28, 29, 31, 32, 33, 35], "from_pipeline_fil": [0, 10], "param": [0, 10, 14, 17, 28], "pad_direct": [0, 10], "backend_uri": [0, 10], "raw_detect": 0, "pgie_srcprob": 0, "source_prob": 0, "info": [0, 7, 9, 31], "start": [0, 5, 10, 14, 28, 29, 32], "pad_cap": 0, "prop": [0, 25], "cap": 0, "to_str": 0, "direct": [0, 10, 25, 28, 33], "pad_offset": 0, "offset": [0, 34], "return": [0, 7, 9, 10, 14, 17, 18, 19, 20, 21, 25, 28, 31, 32, 33, 34, 35, 36], "padprobereturn": [0, 7, 9, 10, 29], "remov": [0, 32], "__name__": [0, 32], "__main__": 0, "list_top": 0, "create_top": 0, "new_top": 0, "num_partit": 0, "replication_factor": 0, "validate_onli": 0, "fals": [0, 7, 9, 10, 12, 25, 28, 31, 36], "In": [0, 10, 28], "mode": [0, 14], "subclass": [0, 28], "instanti": [0, 7, 10, 11, 12, 17, 18, 21, 23, 25, 28], "custom": [0, 7, 9, 10, 17, 20, 22, 31, 33], "handler": [0, 10, 35], "produc": [0, 18, 21, 28, 33], "forward": [0, 7, 9, 10, 11], "topic": [0, 18], "interpol": 0, "variabl": 0, "construct": [0, 7, 9, 10, 11, 12, 14, 28], "decor": [0, 10, 32], "gener": [0, 7, 10, 14, 23, 29, 34], "handl": [0, 10, 11], "manual": 0, "flow": 0, "while": 0, "true": [0, 10, 14, 25, 28, 29, 31, 35, 36], "either": [0, 14, 25], "One": [0, 14], "recent": 0, "support": [0, 25, 28], "all": [0, 10, 36], "6": [0, 25, 28, 32], "pip": 0, "pythiag": 0, "login": 0, "ghcr": 0, "io": [0, 10, 33], "pull": 0, "rmclab": 0, "l4t": 0, "latest": 0, "tag": 0, "deliber": 0, "publish": 0, "flag": [0, 10], "least": [0, 10, 28], "v": 0, "x11": 0, "unix": 0, "e": 0, "displai": [0, 28, 31], "dev": [0, 20, 25, 28], "2": [0, 14, 32], "altern": [0, 20], "could": [0, 20], "make": [0, 18, 21], "sure": [0, 18, 21], "properli": [0, 18, 21, 28], "configur": [0, 25], "refer": 0, "upstream": [0, 10, 28, 29], "tutori": 0, "visit": 0, "section": [0, 14, 25], "out": [0, 5], "ongo": 0, "futur": 0, "q": 0, "packag": [0, 5, 6], "fail": 0, "a1": 0, "upgrad": 0, "10": [0, 32], "a2": 0, "list": [0, 7, 9, 10, 14, 17, 18, 25, 28, 34, 36], "req": 0, "apt": 0, "my": 0, "slow": 0, "A": [0, 7, 9, 10, 11, 17, 23, 25, 28, 29, 34, 35], "ensur": [0, 10, 17, 18], "enabl": 0, "clock": 0, "maxn": 0, "sudo": 0, "nvpmodel": 0, "m": 0, "0": [0, 9, 10, 32, 33, 34], "jetson_clock": 0, "exit": [0, 11, 14], "unabl": [0, 10, 28, 32, 33], "window": 0, "abort": [0, 14], "when": [0, 7, 10, 14, 23, 25, 28, 31, 32], "through": 0, "ssh": 0, "session": 0, "most": [0, 7, 9, 10], "case": [0, 10, 14, 35], "mean": [0, 10], "need": 0, "correctli": 0, "set": [0, 10, 14, 20, 25, 28, 32], "To": 0, "w": 0, "09": 0, "53": 0, "38": 0, "up": [0, 28], "dai": 0, "17": 0, "26": 0, "user": [0, 31], "averag": 0, "36": 0, "33": 0, "23": 0, "tty": 0, "idl": 0, "jcpu": 0, "pcpu": 0, "what": 0, "lun16": 0, "xdm": 0, "3": [0, 14, 32], "06m": 0, "02": 0, "usr": 0, "lib": [0, 25], "gdm3": 0, "gdm": 0, "x": [0, 7, 9], "script": 0, "gnome": 0, "systemd": 0, "uniti": 0, "target": [0, 34], "pt": 0, "11": 0, "100": [0, 28, 34], "79": 0, "57": 0, "00": 0, "correspond": 0, "local": 0, "connect": [0, 10, 17, 18, 19, 20, 21, 25, 28, 29], "includ": 0, "colon": 0, "Then": 0, "again": 0, "request": [0, 17, 25], "badshmseg": 0, "invalidshar": 0, "segment": [0, 7, 9, 23, 31], "major": 0, "opcod": 0, "150": 0, "xvideo": 0, "minor": 0, "19": 0, "id": 0, "0x121": 0, "serial": [0, 18], "number": [0, 14], "current": 0, "58": 0, "hb": 0, "object": [0, 7, 9, 10, 14, 17, 18, 19, 20, 21, 23, 25, 28, 29, 31, 33, 34, 35], "privat": 0, "hh": 0, "154": 0, "type": [0, 5, 6, 7, 10, 14, 17, 18, 23, 25, 28, 31], "hb_object_refer": 0, "hb_unicode_funcs_t": 0, "assert": 0, "hb_object_is_valid": 0, "obj": 0, "add": 0, "ipc": 0, "host": [0, 18], "segfault": [0, 28], "subsequ": [0, 28], "It": [0, 10, 25, 34], "seem": [0, 28], "race": 0, "nvjpegenc": 0, "mayb": 0, "other": 0, "timeout": 0, "sec": 0, "chang": [0, 7, 10, 11, 28, 35], "demote_plugin": 0, "am": 0, "devcontain": 0, "updat": 0, "proper": [0, 10], "base_imag": 0, "docker_group_id": 0, "fork": 0, "clone": 0, "branch": 0, "option": [0, 7, 9, 10, 14, 25, 28, 32], "recommend": 0, "pre": [0, 10], "commit": 0, "valid": [0, 28], "test": [0, 1, 26, 28], "doc": [0, 5, 7, 9, 10, 25, 28, 33], "code": [0, 5, 29], "etc": 0, "lint": 0, "convent": 0, "push": 0, "wait": 0, "ci": 0, "maintain": 0, "feedback": 0, "repeat": 0, "8": [0, 32], "until": 0, "success": [0, 25], "welcom": 1, "ll": [1, 25], "find": [1, 25], "inform": [1, 17], "about": 1, "setup": [1, 5], "design": 1, "pythia": [1, 6], "pytest": [1, 5], "coverag": [1, 5], "feel": 5, "free": 5, "brows": 5, "exampl": [5, 10, 14, 23, 28, 29, 32, 33, 34], "suggest": 5, "read": [5, 14], "readm": 5, "first": [5, 25, 36], "check": [5, 14, 28, 32, 36], "run": [5, 7, 9, 10, 11, 28, 29], "from": [5, 6, 7, 10, 11, 12, 14, 16, 17, 18, 19, 20, 21, 23, 25, 28, 29, 31, 32, 33, 34, 36], "cli": [5, 6, 7, 11], "creat": [5, 6, 7, 9, 18, 21, 25], "file": [5, 10, 14, 25, 28, 29, 32], "your": 5, "output": [5, 7, 9, 28, 34], "develop": [5, 10], "applic": [5, 6, 7, 14, 35], "base": [5, 7, 8, 9, 11, 12, 14, 16, 18, 19, 20, 21, 22, 24, 27, 29, 31, 33, 34, 35], "prerequisit": 5, "instal": [5, 14], "non": [5, 7, 9], "docker": 5, "usag": [5, 10, 14, 28, 34], "faq": 5, "common": [5, 17, 26, 28, 29, 35], "issu": [5, 14, 28], "contribut": [5, 6], "subpackag": [5, 6], "submodul": [5, 6], "annot": [5, 7, 8, 28], "command_lin": [5, 7, 8], "event_stream": [5, 6, 7], "d": [5, 7, 30], "ext": [5, 7, 30], "maskrcnn": [5, 7, 9, 30], "message_handl": [5, 7, 30], "str2pythia": [5, 7, 30], "except": [5, 6, 7, 11], "corner": 5, "wa": [6, 7, 9, 14, 32, 34], "autogener": 6, "sphinx": 6, "apidoc": 6, "docstr": 6, "incomplet": 6, "pr": 6, "annotateframesbas": [7, 9], "dst_folder": [7, 9], "kwarg": [7, 9, 10, 11, 25, 28, 29, 31, 34, 35], "abc": [7, 9, 17, 28], "dataset": [7, 9], "constructor": [7, 9, 10, 23, 28], "none": [7, 9, 10, 12, 14, 17, 18, 19, 20, 21, 25, 28, 31, 32, 33, 35, 36], "_abc_impl": [7, 9, 10, 17, 18, 19, 20, 21, 25, 28, 29, 31, 35], "_abc_data": [7, 9, 10, 17, 18, 19, 20, 21, 25, 28, 29, 31, 35], "static": [7, 9, 25, 28, 33], "_extract_common": [7, 9], "extract_analyt": [7, 9], "bool": [7, 9, 12, 14, 25, 31, 36], "annotator_prob": [7, 9], "padprobeinfo": [7, 9, 10, 29, 31], "nvdsbatchmeta": [7, 9, 23, 31], "where": [7, 9, 10, 25, 29, 33, 34, 36], "default_probe_target": [7, 9], "retreiv": [7, 9], "The": [7, 9, 10, 11, 14, 17, 18, 23, 25, 28, 31, 32, 33, 34, 35, 36], "downstream": [7, 9], "preced": [7, 9], "order": [7, 9, 25], "analyt": [7, 9, 23, 25, 28, 31, 36], "tracker": [7, 9, 25, 28, 36], "lookuperror": [7, 9], "found": [7, 9, 25, 33, 36], "nvds_frame_meta_pars": [7, 9], "callabl": [7, 9, 10, 14, 25, 28, 29, 31], "nvdsframemeta": [7, 9, 23, 29, 31], "ani": [7, 9, 10, 14, 17, 18, 19, 20, 21, 25, 29, 31, 32], "tupl": [7, 9, 10, 14, 17, 23, 28, 32, 34, 35], "stop": [7, 9, 10, 11, 28, 35], "stoppabl": [7, 9, 10, 11, 35], "instanc": [7, 9, 10, 11, 23, 28, 35], "string": [7, 9, 10, 14, 17, 18, 19, 20, 21, 25, 28, 32, 33, 35, 36], "classmethod": [7, 9, 10, 12, 17, 25, 28], "sourceuri": [7, 9, 28, 29], "union": [7, 9, 23, 28, 29, 31], "inferenceengin": [7, 9, 25, 28, 36], "suffix": [7, 9, 32], "jpg": [7, 9, 28, 29], "video": [7, 9, 25, 28, 29], "infer": [7, 9, 25, 28], "store": [7, 9, 20], "piplin": [7, 9], "fileexistserror": [7, 9], "empti": [7, 9, 25, 32], "run_with_prob": [7, 9], "supportedcb": [7, 9, 29], "boundsupportedcb": [7, 9], "annotateframesbbox": [7, 9], "boundingbox": [7, 9], "_bu": [7, 9], "_registered_prob": [7, 9], "loop": [7, 9, 10, 29], "runloop": [7, 9, 10], "watch_id": [7, 9], "int": [7, 9, 10, 14, 18, 33, 34], "annotateframesmaskrcnn": [7, 9], "contour_kw": [7, 9], "dict": [7, 9, 10, 14, 17, 25, 28, 29, 31, 34], "arbitrari": [7, 9, 16], "cv2": [7, 9], "findcontour": [7, 9], "importerror": [7, 9, 32], "opencv": [7, 9], "miss": [7, 9, 22], "http": [7, 9, 10, 25, 28, 29, 33], "org": [7, 9, 29], "4": [7, 9, 14, 32], "d3": [7, 9], "dc0": [7, 9], "group__imgproc__shap": [7, 9], "html": [7, 9, 10, 25, 28, 29, 33], "gadf1ad6a0b82947fa1fe3c3d497f260e0": [7, 9], "generate_mask_polygon": [7, 9], "mask": [7, 9, 23, 31, 34], "ndarrai": [7, 9, 23, 34], "convert": [7, 9, 33, 36], "2d": [7, 9, 34], "numpi": [7, 9, 34], "arrai": [7, 9, 10, 34], "coco": [7, 9], "polygon": [7, 9, 34], "matrix": [7, 9, 23], "form": [7, 9, 17, 18, 34], "learnopencv": [7, 9], "com": [7, 9, 25, 28, 34], "deep": [7, 9, 25], "learn": [7, 9, 25], "rcnn": [7, 9], "basepipelin": [7, 10, 11, 12, 28], "baseappl": [7, 10], "typic": [7, 10], "state": [7, 10, 11, 28, 35], "alia": [7, 10, 12, 14, 20, 29, 31], "_demo": [7, 12], "nvdsobjectmeta": [7, 23, 29, 31, 34], "bufer": [7, 23], "singl": [7, 10, 17, 18, 23, 28], "might": [7, 23], "multipl": [7, 23, 28], "valu": [7, 10, 14, 23, 25, 28, 32, 33, 34], "_dumplogg": [9, 19], "level": [9, 23], "initi": [9, 10, 14, 17, 18, 19, 20, 21, 28, 33], "msg": 9, "_make_handl": 9, "dst": 9, "liter": [9, 10, 14, 33], "streamhandl": 9, "_make_logg": 9, "compos": 10, "two": 10, "logic": [10, 28], "plai": [10, 12, 28], "paus": 10, "backgroundthreadloop": 10, "thread": 10, "without": 10, "block": [10, 11, 28], "glib": [10, 28, 29], "mainloop": [10, 29], "_is_protocol": [10, 25, 28, 29, 31, 35], "quit": [10, 29], "reduc": 10, "thei": 10, "pertin": 10, "onli": [10, 23, 28], "messagetyp": 10, "lazka": [10, 33], "github": [10, 33], "pgi": [10, 33], "index": [10, 33], "_before_pipeline_start": 10, "hook": 10, "befor": 10, "_build_message_handl": 10, "ba": 10, "after_pipeline_start": 10, "element_nam": [10, 33], "sink": [10, 14, 28, 33], "idx": 10, "retriev": 10, "regist": 10, "posit": [10, 14], "registri": 10, "specifi": [10, 28], "As": 10, "usual": 10, "default": [10, 20, 25, 32], "signl": 10, "associ": 10, "charg": [10, 18, 21], "post": [10, 16, 17, 18, 19, 20, 21], "extern": [10, 16], "servic": [10, 16, 17], "before_loop_join": 10, "join": [10, 14, 28], "before_loop_quit": 10, "before_pipeline_start": 10, "properti": [10, 18, 19, 20, 21, 25, 28], "lazi": [10, 18, 19, 20, 21, 28], "connect_bu": 10, "watch": 10, "depend": [10, 28], "disconnect_bu": 10, "dettach": 10, "pipeline_fil": [10, 14], "factori": [10, 17, 25, 28], "from_pipeline_str": 10, "extractor": [10, 14], "inject": [10, 14, 28, 31], "inject_prob": 10, "map": [10, 28, 29], "callback": [10, 29], "assign": [10, 14], "respect": [10, 17, 28], "loop_cl": 10, "probe_arg": 10, "pad_probe_typ": 10, "gi": [10, 29, 33], "repositori": [10, 29, 33], "padprobetyp": 10, "gst_pad_probe_type_buff": 10, "function": [10, 14, 23, 32, 34], "addit": [10, 14, 25, 28], "vararg": 10, "remot": [10, 17], "mandatori": 10, "he": 10, "ha": [10, 17, 28, 29], "data": [10, 17, 18, 19, 20, 21, 23, 31, 32], "latter": 10, "execut": [10, 29], "must": [10, 14, 28, 29], "well": 10, "boundgstpadprobecallback": 10, "padprob": [10, 29], "protocol": [10, 29, 31, 35], "padprobecallback": [10, 29], "notimplementederror": [10, 28, 29], "foregroundloop": 10, "wrapper": [10, 14, 25, 27, 28, 36], "foreground": 10, "main": [10, 14, 28], "exist": [10, 14, 18, 25], "access": 10, "onc": [10, 17], "activ": 10, "_build_prob": 10, "_get_from_annot": 10, "signatur": 10, "_get_from_positional_arg_nam": 10, "_get_probe_batch_meta_idx": 10, "fullargspec": 10, "_get_probe_info_idx": 10, "_get_probe_pad_idx": 10, "defeinit": 11, "deisgn": 11, "cliapplic": [11, 12], "line": [11, 14, 25, 28], "noreturn": 11, "alwai": 11, "try": [11, 25], "playbin": 12, "_plai": 12, "interfact": 14, "typer": 14, "mimmick": 14, "enum": [14, 28], "extraction_not_bound": 14, "invalid_extract": 14, "invalid_pipelin": 14, "unplayable_pipelin": 14, "5": [14, 32], "argv": 14, "_generate_next_value_": 14, "count": 14, "last_valu": 14, "next": [14, 23], "given": 14, "member": 14, "last": 14, "_member_map_": 14, "_member_names_": 14, "_member_type_": 14, "_value2member_map_": 14, "_ctx_cb": 14, "_jinja_render": 14, "pipeline_templ": 14, "context": 14, "_native_render": 14, "_receive_any_return_kw": 14, "_": 14, "_validate_extractor": 14, "_validate_pipelin": 14, "pipeline_str": [14, 28], "build_pipelin": 14, "pipeline_part": 14, "ctx": 14, "extra_ctx": 14, "sy": 14, "pipielin": 14, "help": 14, "problem": 14, "render": [14, 25, 28], "choose_render": 14, "decid": 14, "wether": [14, 36], "vanilla": 14, "warn": 14, "fall": 14, "back": [14, 18, 19, 20, 21], "nativ": 14, "inspect": 14, "underli": [14, 28], "define_templ": 14, "wither": 14, "part": 14, "click": 14, "incorrect": 14, "nonempti": 14, "content": 14, "exclus": 14, "suppli": [14, 28], "pass": [14, 31], "optioninfo": 14, "argumentinfo": 14, "pathlib": [14, 25], "dry_run": 14, "parse_arbitrary_argv": 14, "compon": 14, "argument": [14, 23], "accord": 14, "spec": [14, 32], "pair": 14, "dictionari": [14, 17, 28], "asdf": 14, "fire": 14, "core": [14, 34], "_fire": 14, "_callandupdatetrac": 14, "pipe_from_fil": 14, "stdin": 14, "pipe_from_part": 14, "wuith": 14, "space": 14, "version_callback": 14, "echo": 14, "version": 14, "abl": 16, "quickli": [16, 28], "definit": 17, "even": 17, "three": 17, "prupos": 17, "skeleton": [17, 28], "work": [17, 28], "ok": 17, "from_uri": [17, 28], "select": 17, "schema": 17, "packet": 17, "each": [17, 34], "kind": [17, 23], "should": [17, 29, 32, 34], "coordin": 17, "_parse_netloc": 17, "netloc": [17, 18], "parse_uri": 17, "eventstreamuri": 17, "scheme": [17, 29], "queri": [17, 28], "fragment": 17, "b": 17, "kei": [17, 28], "storag": [18, 19, 20, 21, 29], "_client": [18, 21], "port": [18, 34], "singular": 18, "client": [18, 19, 20, 21], "loader": [18, 19, 20, 21], "guarante": [18, 21], "actual": 18, "otherwis": [18, 25, 28, 32, 36], "connectionerror": 18, "bootstrap_connect": 18, "exctract": 18, "append": [18, 19, 20, 21], "_logger": 19, "fetch": [19, 20], "specif": [19, 20], "global": [19, 20], "By": 20, "doe": [20, 22, 25], "limit": 20, "so": [20, 25], "mu": [20, 28], "pai": 20, "special": 20, "attent": 20, "avoid": 20, "grow": 20, "indefinit": 20, "bound": [20, 34], "watcher": 20, "pop": [20, 25, 28], "old": [20, 35], "enough": 20, "_dequ": 20, "_deque_constructor": 20, "maxlen": 20, "xadd": 21, "ping": 21, "via": [21, 23, 34], "incompatiblepipelineerror": [22, 28], "invalidpipelineerror": [22, 28], "compli": 22, "shortcut": 23, "glist": 23, "_iter_user_meta": 23, "container_list": 23, "supportedusermeta": [23, 31], "analytics_per_fram": 23, "frame_meta": 23, "nvdsanalyticsframemeta": [23, 29, 31], "analytics_per_obj": 23, "object_metadata": 23, "nvdsanalyticsobjinfo": [23, 29, 31], "classification_per_object": 23, "nvdsclassifiermeta": [23, 29, 31], "classif": [23, 31], "glist_it": 23, "klass": [23, 31], "nvdsinfersegmentationmeta": [23, 29, 31], "nvdsusermeta": [23, 29, 31], "nvdslabelinfo": [23, 29, 31], "wai": 23, "frame_metadata": 23, "nvdsmetalist": 23, "l_obj": 23, "obj_meta_list": 23, "null": [23, 28], "object_meta": 23, "do_something_with": 23, "And": 23, "equival": 23, "attribut": 23, "pycapsul": 23, "instance_masks_per_batch": 23, "bidimension": 23, "labels_per_classif": 23, "classifier_meta": 23, "labels_per_obj": 23, "objects_per_fram": 23, "semantic_masks_per_fram": 23, "semant": [23, 31], "probabl": 23, "etlt": 25, "engin": [25, 28], "compat": 25, "config_fil": 25, "_string": 25, "_default_prop": 25, "hasconnect": [25, 28, 29], "around": 25, "nvdsanalyt": [25, 28, 31, 36], "from_el": 25, "from_fil": 25, "filenotfounderror": 25, "parseabl": 25, "metropoli": [25, 28], "guid": [25, 28], "text": [25, 28], "ds_plugin_gst": 25, "requires_track": 25, "nvtracker": [25, 28, 36], "cross": [25, 28], "andata": 25, "labels_fil": 25, "source_model": 25, "compiled_model": 25, "model_config_suffix": 25, "ini": 25, "yml": 25, "yaml": 25, "extens": [25, 28, 32], "directori": 25, "also": [25, 29, 31], "locate_config_fil": 25, "model_suffix": 25, "caff": 25, "caffemodel": 25, "tlt": 25, "onnx": 25, "prototxt": 25, "proto": 25, "uff": 25, "priorit": 25, "locate_source_model": 25, "ie": 25, "from_fold": 25, "folder": 25, "locate_compiled_model": 25, "match": [25, 32], "pattern": 25, "search": 25, "stem": [25, 32], "No": [25, 28], "strategi": 25, "known": 25, "locate_labels_fil": 25, "insid": 25, "expect": 25, "pop_property_or_get_from_nvinfer_conf": 25, "property_nam": 25, "comput": [25, 28, 33], "absolut": 25, "look": [25, 32, 36], "desir": 25, "possibl": 25, "occur": 25, "low_level_librari": 25, "posixpath": 25, "libnvds_nvmultiobjecttrack": 25, "t": [25, 32], "share": 25, "throught": 26, "At": 28, "one": 28, "although": 28, "shot": 28, "_pipelin": 28, "parse_launch": [28, 33], "alreadi": 28, "becaus": 28, "unrel": 28, "gstremaer": 28, "send_eo": 28, "end": [28, 32], "statechangereturn": 28, "result": 28, "complianc": 28, "secondaryinfer": 28, "primaryinferenceengin": 28, "modeltyp": 28, "sinkuri": [28, 29], "fakesink": [28, 29, 33], "eas": 28, "creation": 28, "increment": 28, "final": 28, "valueerror": [28, 32, 33], "invalid": 28, "would": 28, "model_map": 28, "lazyproperti": 28, "whose": 28, "pythiafakesink": 28, "pythiasink": 28, "finish": 28, "pythiafilesink": 28, "encodebin": 28, "attempt": 28, "pythialivesink": 28, "arch": [28, 32], "nveglglessink": [28, 29], "platform": [28, 32], "architectur": 28, "differenti": 28, "devic": 28, "automat": 28, "get_arch": [28, 32], "nvegltransform": 28, "ds_faq": 28, "why": 28, "plugin": 28, "pythiamultisourc": 28, "pythiasourcebas": 28, "nvmuxer": 28, "pop_pythia_args_from_uri": 28, "filter": [28, 31], "wihtout": 28, "04d": [28, 29], "muxer_width": 28, "320": 28, "muxer_height": 28, "240": 28, "pythiamultifilesink": 28, "multifilesink": [28, 29], "multioutput": 28, "supported_format": 28, "n": 28, "jpegenc": 28, "qualiti": 28, "idct": 28, "float": [28, 34], "png": 28, "avenc_png": 28, "webp": 28, "webpenc": 28, "lossless": 28, "speed": [28, 34], "video_extens": 28, "avi": 28, "mov": 28, "mkv": 28, "webm": 28, "flv": 28, "wmv": 28, "mpg": 28, "mpeg": 28, "m4v": 28, "fulfil": 28, "live": 28, "screen": 28, "fakes": 28, "point": 28, "unsupport": 28, "pythiasourc": 28, "goal": 28, "pythiatestsourc": 28, "concret": 28, "relat": 28, "videotestsrc": [28, 33], "stringpipelin": 28, "clean_single_uri": 28, "con": 29, "cb": 29, "gstpadprobecallback": 29, "indic": 29, "pydsclass": 29, "registeredprob": 29, "induc": 29, "base_stream": 29, "livesink": 29, "appsink": 29, "todo": 29, "uses": 29, "multifil": 29, "v4l2src": 29, "v4l2": 29, "filesrc": 29, "freedesktop": 29, "gsturihandl": 29, "languag": 29, "throughout": 30, "codebas": 30, "frameanalyt": 31, "per": 31, "objectanalyt": 31, "semanticmask": 31, "minimum": 31, "meta": [31, 34], "classvar": 31, "discrimin": 31, "filterus": 31, "_is_analytics_meta": 31, "user_meta": 31, "_is_frameanalytics_meta": 31, "_is_segmentation_meta": 31, "buf2batchmeta": 31, "gst_buffer": 31, "gst_buffer_get_nvds_batch_meta": 31, "info2batchmeta": 31, "inject_external_classif": 31, "obj_meta": [31, 34], "present": 31, "system": 32, "unam": 32, "machin": 32, "group": 32, "zip": 32, "rang": 32, "7": 32, "import_from_path": 32, "moduletyp": 32, "filepath": 32, "importlib": 32, "spec_from_file_loc": 32, "import_from_str": 32, "thing": 32, "improt": 32, "not_empti": 32, "eoferror": 32, "not_non": 32, "remove_prefix": 32, "input_str": 32, "prefix": 32, "lead": 32, "substr": 32, "len": 32, "copi": 32, "origin": [32, 34], "backport": 32, "stdlib": 32, "9": 32, "remove_suffix": 32, "trail": 32, "element_repr": 33, "strig": 33, "hierarchi": 33, "represent": 33, "init": 33, "bin": [33, 36], "ey": 33, "get_by_nam": 33, "pipeline0": 33, "bin1": 33, "gstident": 33, "get_el": 33, "gst_bin": 33, "parent": 33, "nameerror": 33, "getter": 33, "get_sinkpad": 33, "sinkpad": 33, "get_srcpad": 33, "srcpad": 33, "get_static_pad": 33, "gst_init": 33, "gst_iter": 33, "long_to_uint64": 33, "long": 33, "64": 33, "bit": 33, "unsign": 33, "datatyp": 33, "unit64": 33, "parser": 34, "extract_maskrcnn_mask": 34, "resize_mask_vec": 34, "cpp": 34, "counterpart": 34, "resizemask": 34, "vector": 34, "improv": 34, "author": 34, "pablo": 34, "woolvett": 34, "pablowoolvett": 34, "gmail": 34, "dsbbox": 34, "style": 34, "_gen_clip": 34, "original_width": 34, "original_height": 34, "_gen_idx": 34, "right": 34, "bottom": 34, "_gen_rang": 34, "target_height": 34, "target_width": 34, "_interpol": 34, "left_top_v": 34, "right_top_v": 34, "left_bottom_v": 34, "right_bottom_v": 34, "_take_v": 34, "idxmat": 34, "binari": 34, "np": 34, "uint8": 34, "255": 34, "shape": 34, "dtype": 34, "300": 34, "polygon_to_bbox": 34, "assum": 34, "rel": 34, "sequenc": 34, "y0": 34, "x0": 34, "y1": 34, "x1": 34, "yn": 34, "xn": 34, "circumscrib": 34, "src_shape": 34, "target_shap": 34, "threshold": 34, "resiz": 34, "sample_app": 34, "mrcnn": 34, "deepstream_mrcnn_test": 34, "whihc": 35, "mainli": 35, "aim": 35, "restrict": 35, "on_state_chang": 35, "report": 35, "aris": 35, "pend": 35, "find_analyt": 36, "root": 36, "find_model": 36, "nvifer": 36, "ninfer": 36, "find_track": 36, "is_analyt": 36, "iff": 36, "is_infer": 36, "is_track": 36}, "objects": {"": [[7, 0, 0, "-", "pythia"]], "pythia": [[7, 1, 1, "", "AnnotateFramesBase"], [7, 1, 1, "", "AnnotateFramesBbox"], [7, 1, 1, "", "AnnotateFramesMaskRcnn"], [7, 1, 1, "", "Application"], [7, 3, 1, "", "Demo"], [8, 0, 0, "-", "applications"], [13, 0, 0, "-", "cli"], [15, 0, 0, "-", "config"], [16, 0, 0, "-", "event_stream"], [22, 0, 0, "-", "exceptions"], [23, 0, 0, "-", "iterators"], [24, 0, 0, "-", "models"], [7, 4, 1, "", "objects_per_batch"], [26, 0, 0, "-", "paths"], [27, 0, 0, "-", "pipelines"], [29, 0, 0, "-", "types"], [30, 0, 0, "-", "utils"]], "pythia.AnnotateFramesBase": [[7, 2, 1, "", "__init__"], [7, 3, 1, "", "_abc_impl"], [7, 2, 1, "", "_extract_common"], [7, 2, 1, "", "annotator_probe"], [7, 2, 1, "", "default_probe_target"], [7, 3, 1, "", "nvds_frame_meta_parser"], [7, 2, 1, "", "on_message_error"], [7, 2, 1, "", "run"], [7, 2, 1, "", "run_with_probe"]], "pythia.AnnotateFramesBbox": [[7, 3, 1, "", "_abc_impl"], [7, 3, 1, "", "_bus"], [7, 3, 1, "", "_registered_probes"], [7, 2, 1, "", "annotator_probe"], [7, 3, 1, "", "loop"], [7, 3, 1, "", "nvds_frame_meta_parser"], [7, 3, 1, "", "watch_ids"]], "pythia.AnnotateFramesMaskRcnn": [[7, 2, 1, "", "__init__"], [7, 3, 1, "", "_abc_impl"], [7, 3, 1, "", "_bus"], [7, 3, 1, "", "_registered_probes"], [7, 2, 1, "", "annotator_probe"], [7, 2, 1, "", "generate_mask_polygon"], [7, 3, 1, "", "loop"], [7, 3, 1, "", "nvds_frame_meta_parser"], [7, 3, 1, "", "watch_ids"]], "pythia.Application": [[7, 2, 1, "", "on_message_eos"], [7, 2, 1, "", "on_message_error"]], "pythia.applications": [[9, 0, 0, "-", "annotation"], [10, 0, 0, "-", "base"], [11, 0, 0, "-", "command_line"], [12, 0, 0, "-", "demo"]], "pythia.applications.annotation": [[9, 1, 1, "", "AnnotateFramesBase"], [9, 1, 1, "", "AnnotateFramesBbox"], [9, 1, 1, "", "AnnotateFramesMaskRcnn"], [9, 1, 1, "", "_DumpLogger"], [9, 4, 1, "", "_make_handler"], [9, 4, 1, "", "_make_logger"]], "pythia.applications.annotation.AnnotateFramesBase": [[9, 2, 1, "", "__init__"], [9, 3, 1, "", "_abc_impl"], [9, 3, 1, "", "_bus"], [9, 2, 1, "", "_extract_common"], [9, 3, 1, "", "_registered_probes"], [9, 2, 1, "", "annotator_probe"], [9, 2, 1, "", "default_probe_target"], [9, 3, 1, "", "loop"], [9, 3, 1, "", "nvds_frame_meta_parser"], [9, 2, 1, "", "on_message_error"], [9, 2, 1, "", "run"], [9, 2, 1, "", "run_with_probe"], [9, 3, 1, "", "watch_ids"]], "pythia.applications.annotation.AnnotateFramesBbox": [[9, 3, 1, "", "_abc_impl"], [9, 3, 1, "", "_bus"], [9, 3, 1, "", "_registered_probes"], [9, 2, 1, "", "annotator_probe"], [9, 3, 1, "", "loop"], [9, 3, 1, "", "nvds_frame_meta_parser"], [9, 3, 1, "", "watch_ids"]], "pythia.applications.annotation.AnnotateFramesMaskRcnn": [[9, 2, 1, "", "__init__"], [9, 3, 1, "", "_abc_impl"], [9, 3, 1, "", "_bus"], [9, 3, 1, "", "_registered_probes"], [9, 2, 1, "", "annotator_probe"], [9, 2, 1, "", "generate_mask_polygon"], [9, 3, 1, "", "loop"], [9, 3, 1, "", "nvds_frame_meta_parser"], [9, 3, 1, "", "watch_ids"]], "pythia.applications.annotation._DumpLogger": [[9, 2, 1, "", "json"]], "pythia.applications.base": [[10, 1, 1, "", "Application"], [10, 1, 1, "", "BackgroundThreadLoop"], [10, 1, 1, "", "BaseApplication"], [10, 6, 1, "", "BoundGstPadProbeCallback"], [10, 1, 1, "", "ForegroundLoop"], [10, 1, 1, "", "RunLoop"], [10, 4, 1, "", "_build_probe"], [10, 4, 1, "", "_get_from_annotations"], [10, 4, 1, "", "_get_from_positional_arg_name"], [10, 4, 1, "", "_get_probe_batch_meta_idx"], [10, 4, 1, "", "_get_probe_info_idx"], [10, 4, 1, "", "_get_probe_pad_idx"]], "pythia.applications.base.Application": [[10, 2, 1, "", "on_message_eos"], [10, 2, 1, "", "on_message_error"]], "pythia.applications.base.BackgroundThreadLoop": [[10, 2, 1, "", "__init__"], [10, 3, 1, "", "_abc_impl"], [10, 3, 1, "", "_is_protocol"], [10, 2, 1, "", "quit"], [10, 2, 1, "", "run"]], "pythia.applications.base.BaseApplication": [[10, 2, 1, "", "__init__"], [10, 2, 1, "", "_before_pipeline_start"], [10, 2, 1, "", "_build_message_handlers"], [10, 2, 1, "", "after_pipeline_start"], [10, 2, 1, "", "backend"], [10, 2, 1, "", "before_loop_join"], [10, 2, 1, "", "before_loop_quit"], [10, 2, 1, "", "before_pipeline_start"], [10, 5, 1, "", "bus"], [10, 2, 1, "", "connect_bus"], [10, 2, 1, "", "disconnect_bus"], [10, 2, 1, "", "from_pipeline_file"], [10, 2, 1, "", "from_pipeline_string"], [10, 2, 1, "", "inject_probes"], [10, 3, 1, "", "loop_cls"], [10, 2, 1, "", "probe"], [10, 2, 1, "", "stop"]], "pythia.applications.base.ForegroundLoop": [[10, 2, 1, "", "__init__"], [10, 3, 1, "", "_abc_impl"], [10, 3, 1, "", "_is_protocol"], [10, 2, 1, "", "join"], [10, 5, 1, "", "loop"], [10, 2, 1, "", "quit"], [10, 2, 1, "", "start"]], "pythia.applications.base.RunLoop": [[10, 3, 1, "", "_abc_impl"], [10, 3, 1, "", "_is_protocol"], [10, 2, 1, "", "join"], [10, 2, 1, "", "quit"], [10, 2, 1, "", "start"]], "pythia.applications.command_line": [[11, 1, 1, "", "CliApplication"]], "pythia.applications.command_line.CliApplication": [[11, 2, 1, "", "on_message_eos"], [11, 2, 1, "", "on_message_error"]], "pythia.applications.demo": [[12, 3, 1, "", "Demo"], [12, 1, 1, "", "_Demo"]], "pythia.applications.demo._Demo": [[12, 2, 1, "", "_play"], [12, 2, 1, "", "play"]], "pythia.cli": [[14, 0, 0, "-", "app"]], "pythia.cli.app": [[14, 1, 1, "", "Exit"], [14, 1, 1, "", "Mode"], [14, 4, 1, "", "_ctx_cb"], [14, 4, 1, "", "_jinja_renderer"], [14, 4, 1, "", "_native_renderer"], [14, 4, 1, "", "_receive_any_return_kw"], [14, 4, 1, "", "_validate_extractors"], [14, 4, 1, "", "_validate_pipeline"], [14, 4, 1, "", "build_pipeline"], [14, 4, 1, "", "choose_renderer"], [14, 4, 1, "", "define_template"], [14, 4, 1, "", "main"], [14, 4, 1, "", "parse_arbitrary_argv"], [14, 4, 1, "", "pipe_from_file"], [14, 4, 1, "", "pipe_from_parts"], [14, 4, 1, "", "version_callback"]], "pythia.cli.app.Exit": [[14, 3, 1, "", "EXTRACTION_NOT_BOUND"], [14, 3, 1, "", "INVALID_EXTRACTION"], [14, 3, 1, "", "INVALID_PIPELINE"], [14, 3, 1, "", "UNPLAYABLE_PIPELINE"]], "pythia.cli.app.Mode": [[14, 3, 1, "", "ARGV"], [14, 3, 1, "", "FILE"], [14, 2, 1, "", "_generate_next_value_"], [14, 3, 1, "", "_member_map_"], [14, 3, 1, "", "_member_names_"], [14, 3, 1, "", "_member_type_"], [14, 3, 1, "", "_value2member_map_"]], "pythia.event_stream": [[17, 0, 0, "-", "base"], [18, 0, 0, "-", "kafka"], [19, 0, 0, "-", "log"], [20, 0, 0, "-", "memory"], [21, 0, 0, "-", "redis"]], "pythia.event_stream.base": [[17, 1, 1, "", "Backend"], [17, 4, 1, "", "_parse_netloc"], [17, 4, 1, "", "parse_uri"]], "pythia.event_stream.base.Backend": [[17, 2, 1, "", "__init__"], [17, 3, 1, "", "_abc_impl"], [17, 2, 1, "", "connect"], [17, 2, 1, "", "from_uri"], [17, 2, 1, "", "post"]], "pythia.event_stream.kafka": [[18, 1, 1, "", "Backend"]], "pythia.event_stream.kafka.Backend": [[18, 3, 1, "", "_abc_impl"], [18, 3, 1, "", "_client"], [18, 5, 1, "", "bootstrap_servers"], [18, 5, 1, "", "client"], [18, 2, 1, "", "connect"], [18, 5, 1, "", "host"], [18, 5, 1, "", "port"], [18, 2, 1, "", "post"]], "pythia.event_stream.log": [[19, 1, 1, "", "Backend"]], "pythia.event_stream.log.Backend": [[19, 3, 1, "", "_abc_impl"], [19, 3, 1, "", "_logger"], [19, 2, 1, "", "connect"], [19, 5, 1, "", "logger"], [19, 2, 1, "", "post"]], "pythia.event_stream.memory": [[20, 1, 1, "", "Backend"]], "pythia.event_stream.memory.Backend": [[20, 3, 1, "", "_abc_impl"], [20, 3, 1, "", "_deque"], [20, 3, 1, "", "_deque_constructor"], [20, 2, 1, "", "connect"], [20, 5, 1, "", "deque"], [20, 2, 1, "", "post"]], "pythia.event_stream.redis": [[21, 1, 1, "", "Backend"]], "pythia.event_stream.redis.Backend": [[21, 3, 1, "", "_abc_impl"], [21, 3, 1, "", "_client"], [21, 5, 1, "", "client"], [21, 2, 1, "", "connect"], [21, 2, 1, "", "post"]], "pythia.exceptions": [[22, 7, 1, "", "IncompatiblePipelineError"], [22, 7, 1, "", "InvalidPipelineError"]], "pythia.iterators": [[23, 4, 1, "", "_iter_user_meta"], [23, 4, 1, "", "analytics_per_frame"], [23, 4, 1, "", "analytics_per_obj"], [23, 4, 1, "", "classification_per_object"], [23, 4, 1, "", "frames_per_batch"], [23, 4, 1, "", "glist_iter"], [23, 4, 1, "", "instance_masks_per_batch"], [23, 4, 1, "", "labels_per_classification"], [23, 4, 1, "", "labels_per_obj"], [23, 4, 1, "", "objects_per_batch"], [23, 4, 1, "", "objects_per_frame"], [23, 4, 1, "", "semantic_masks_per_frame"]], "pythia.models": [[25, 0, 0, "-", "base"]], "pythia.models.base": [[25, 1, 1, "", "Analytics"], [25, 1, 1, "", "InferenceEngine"], [25, 1, 1, "", "Tracker"]], "pythia.models.base.Analytics": [[25, 3, 1, "", "CONNECTIONS"], [25, 3, 1, "", "_abc_impl"], [25, 3, 1, "", "_default_props"], [25, 3, 1, "", "_is_protocol"], [25, 3, 1, "", "_string"], [25, 3, 1, "", "config_file"], [25, 2, 1, "", "from_element"], [25, 2, 1, "", "from_file"], [25, 2, 1, "", "gst"], [25, 2, 1, "", "requires_tracker"]], "pythia.models.base.InferenceEngine": [[25, 3, 1, "", "CONNECTIONS"], [25, 3, 1, "", "MODEL_CONFIG_SUFFIXES"], [25, 3, 1, "", "MODEL_SUFFIXES"], [25, 3, 1, "", "_abc_impl"], [25, 3, 1, "", "_default_props"], [25, 3, 1, "", "_is_protocol"], [25, 3, 1, "", "_string"], [25, 3, 1, "", "compiled_model"], [25, 3, 1, "", "config_file"], [25, 2, 1, "", "from_element"], [25, 2, 1, "", "from_folder"], [25, 2, 1, "", "gst"], [25, 3, 1, "", "labels_file"], [25, 2, 1, "", "locate_compiled_model"], [25, 2, 1, "", "locate_config_file"], [25, 2, 1, "", "locate_labels_file"], [25, 2, 1, "", "locate_source_model"], [25, 2, 1, "", "pop_property_or_get_from_nvinfer_conf"], [25, 3, 1, "", "source_model"]], "pythia.models.base.Tracker": [[25, 3, 1, "", "CONNECTIONS"], [25, 3, 1, "", "_abc_impl"], [25, 3, 1, "", "_default_props"], [25, 3, 1, "", "_is_protocol"], [25, 3, 1, "", "_string"], [25, 3, 1, "", "config_file"], [25, 2, 1, "", "from_element"], [25, 2, 1, "", "from_file"], [25, 2, 1, "", "gst"], [25, 3, 1, "", "low_level_library"]], "pythia.pipelines": [[28, 0, 0, "-", "base"]], "pythia.pipelines.base": [[28, 1, 1, "", "BasePipeline"], [28, 1, 1, "", "Pipeline"], [28, 1, 1, "", "PythiaFakesink"], [28, 1, 1, "", "PythiaFilesink"], [28, 1, 1, "", "PythiaLiveSink"], [28, 1, 1, "", "PythiaMultiSource"], [28, 1, 1, "", "PythiaMultifileSink"], [28, 1, 1, "", "PythiaSink"], [28, 1, 1, "", "PythiaSource"], [28, 1, 1, "", "PythiaSourceBase"], [28, 1, 1, "", "PythiaTestSource"], [28, 1, 1, "", "StringPipeline"], [28, 4, 1, "", "clean_single_uri"]], "pythia.pipelines.base.BasePipeline": [[28, 5, 1, "", "CONNECTIONS"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 3, 1, "", "_pipeline"], [28, 3, 1, "", "analytics"], [28, 2, 1, "", "gst"], [28, 3, 1, "", "models"], [28, 2, 1, "", "parse_launch"], [28, 5, 1, "", "pipeline"], [28, 2, 1, "", "send_eos"], [28, 2, 1, "", "start"], [28, 2, 1, "", "stop"], [28, 3, 1, "", "tracker"], [28, 2, 1, "", "validate"]], "pythia.pipelines.base.Pipeline": [[28, 5, 1, "", "CONNECTIONS"], [28, 2, 1, "", "__init__"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 3, 1, "", "analytics"], [28, 2, 1, "", "gst"], [28, 5, 1, "", "model_map"], [28, 3, 1, "", "models"], [28, 3, 1, "", "tracker"]], "pythia.pipelines.base.PythiaFakesink": [[28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"]], "pythia.pipelines.base.PythiaFilesink": [[28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"]], "pythia.pipelines.base.PythiaLiveSink": [[28, 2, 1, "", "__init__"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"]], "pythia.pipelines.base.PythiaMultiSource": [[28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"], [28, 2, 1, "", "pop_pythia_args_from_uris"]], "pythia.pipelines.base.PythiaMultifileSink": [[28, 3, 1, "", "SUPPORTED_FORMATS"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"]], "pythia.pipelines.base.PythiaSink": [[28, 3, 1, "", "CONNECTIONS"], [28, 3, 1, "", "VIDEO_EXTENSIONS"], [28, 2, 1, "", "__init__"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "from_uri"], [28, 2, 1, "", "gst"]], "pythia.pipelines.base.PythiaSource": [[28, 3, 1, "", "CONNECTIONS"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"], [28, 2, 1, "", "pop_pythia_args_from_uris"]], "pythia.pipelines.base.PythiaSourceBase": [[28, 3, 1, "", "CONNECTIONS"], [28, 2, 1, "", "__init__"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "from_uris"], [28, 2, 1, "", "gst"], [28, 2, 1, "", "pop_pythia_args_from_uris"]], "pythia.pipelines.base.PythiaTestSource": [[28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"], [28, 2, 1, "", "pop_pythia_args_from_uris"]], "pythia.pipelines.base.StringPipeline": [[28, 3, 1, "", "CONNECTIONS"], [28, 2, 1, "", "__init__"], [28, 3, 1, "", "_abc_impl"], [28, 3, 1, "", "_is_protocol"], [28, 2, 1, "", "gst"]], "pythia.types": [[29, 6, 1, "", "Con"], [29, 6, 1, "", "GstPadProbeCallback"], [29, 1, 1, "", "HasConnections"], [29, 1, 1, "", "Loop"], [29, 6, 1, "", "PydsClass"], [29, 1, 1, "", "RegisteredProbe"], [29, 3, 1, "", "SinkUri"], [29, 3, 1, "", "SourceUri"]], "pythia.types.HasConnections": [[29, 3, 1, "", "CONNECTIONS"], [29, 3, 1, "", "_abc_impl"], [29, 3, 1, "", "_is_protocol"]], "pythia.types.Loop": [[29, 3, 1, "", "_abc_impl"], [29, 3, 1, "", "_is_protocol"], [29, 2, 1, "", "quit"], [29, 2, 1, "", "run"]], "pythia.types.RegisteredProbe": [[29, 3, 1, "", "backend"], [29, 3, 1, "", "probe"]], "pythia.utils": [[31, 0, 0, "-", "ds"], [32, 0, 0, "-", "ext"], [33, 0, 0, "-", "gst"], [34, 0, 0, "-", "maskrcnn"], [35, 0, 0, "-", "message_handlers"], [36, 0, 0, "-", "str2pythia"]], "pythia.utils.ds": [[31, 1, 1, "", "FrameAnalytics"], [31, 1, 1, "", "ObjectAnalytics"], [31, 1, 1, "", "SemanticMasks"], [31, 1, 1, "", "SupportedUserMeta"], [31, 4, 1, "", "_is_analytics_meta"], [31, 4, 1, "", "_is_frameanalytics_meta"], [31, 4, 1, "", "_is_segmentation_meta"], [31, 4, 1, "", "buf2batchmeta"], [31, 4, 1, "", "info2batchmeta"], [31, 4, 1, "", "inject_external_classification"]], "pythia.utils.ds.FrameAnalytics": [[31, 3, 1, "", "_abc_impl"], [31, 3, 1, "", "_is_protocol"], [31, 2, 1, "", "condition"], [31, 3, 1, "", "klass"]], "pythia.utils.ds.ObjectAnalytics": [[31, 3, 1, "", "_abc_impl"], [31, 3, 1, "", "_is_protocol"], [31, 2, 1, "", "condition"], [31, 3, 1, "", "klass"]], "pythia.utils.ds.SemanticMasks": [[31, 3, 1, "", "_abc_impl"], [31, 3, 1, "", "_is_protocol"], [31, 2, 1, "", "condition"], [31, 3, 1, "", "klass"]], "pythia.utils.ds.SupportedUserMeta": [[31, 3, 1, "", "_abc_impl"], [31, 3, 1, "", "_is_protocol"], [31, 3, 1, "", "condition"], [31, 3, 1, "", "klass"]], "pythia.utils.ext": [[32, 4, 1, "", "get_arch"], [32, 4, 1, "", "grouped"], [32, 4, 1, "", "import_from_path"], [32, 4, 1, "", "import_from_str"], [32, 4, 1, "", "not_empty"], [32, 4, 1, "", "not_none"], [32, 4, 1, "", "remove_prefix"], [32, 4, 1, "", "remove_suffix"]], "pythia.utils.gst": [[33, 4, 1, "", "element_repr"], [33, 4, 1, "", "get_element"], [33, 4, 1, "", "get_sinkpad"], [33, 4, 1, "", "get_srcpad"], [33, 4, 1, "", "get_static_pad"], [33, 4, 1, "", "gst_init"], [33, 4, 1, "", "gst_iter"], [33, 4, 1, "", "long_to_uint64"]], "pythia.utils.maskrcnn": [[34, 1, 1, "", "DsBBox"], [34, 4, 1, "", "_gen_clips"], [34, 4, 1, "", "_gen_idxs"], [34, 4, 1, "", "_gen_ranges"], [34, 4, 1, "", "_interpolate"], [34, 4, 1, "", "_take_vals"], [34, 4, 1, "", "extract_maskrcnn_mask"], [34, 4, 1, "", "polygon_to_bbox"], [34, 4, 1, "", "resize_mask_vec"]], "pythia.utils.maskrcnn.DsBBox": [[34, 3, 1, "", "height"], [34, 3, 1, "", "left"], [34, 3, 1, "", "top"], [34, 3, 1, "", "width"]], "pythia.utils.message_handlers": [[35, 1, 1, "", "Stoppable"], [35, 4, 1, "", "on_message_eos"], [35, 4, 1, "", "on_message_error"], [35, 4, 1, "", "on_state_change"]], "pythia.utils.message_handlers.Stoppable": [[35, 3, 1, "", "_abc_impl"], [35, 3, 1, "", "_is_protocol"], [35, 2, 1, "", "stop"]], "pythia.utils.str2pythia": [[36, 4, 1, "", "find_analytics"], [36, 4, 1, "", "find_models"], [36, 4, 1, "", "find_tracker"], [36, 4, 1, "", "is_analytics"], [36, 4, 1, "", "is_inference"], [36, 4, 1, "", "is_tracker"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function", "5": "py:property", "6": "py:data", "7": "py:exception"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"], "5": ["py", "property", "Python property"], "6": ["py", "data", "Python data"], "7": ["py", "exception", "Python exception"]}, "titleterms": {"pythia": [0, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "readm": 0, "exampl": [0, 4], "run": 0, "from": 0, "cli": [0, 13, 14], "creat": 0, "file": 0, "check": 0, "your": 0, "output": 0, "develop": [0, 1], "applic": [0, 8, 9, 10, 11, 12], "base": [0, 10, 17, 25, 28], "setup": 0, "prerequisit": 0, "instal": 0, "non": 0, "docker": 0, "usag": 0, "faq": 0, "common": 0, "issu": 0, "contribut": 0, "corner": 1, "coverag": 2, "pytest": 3, "code": 4, "welcom": 5, "": 5, "document": [5, 6], "api": 6, "inform": 6, "packag": [7, 8, 13, 16, 24, 27, 30], "subpackag": 7, "submodul": [7, 8, 13, 16, 24, 27, 30], "annot": 9, "command_lin": 11, "demo": 12, "app": 14, "config": 15, "event_stream": [16, 17, 18, 19, 20, 21], "kafka": 18, "log": 19, "memori": 20, "redi": 21, "except": 22, "iter": 23, "model": [24, 25], "path": 26, "pipelin": [27, 28], "type": 29, "util": [30, 31, 32, 33, 34, 35, 36], "d": 31, "ext": 32, "gst": 33, "maskrcnn": 34, "message_handl": 35, "str2pythia": 36}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 56}})