This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gi | |
| gi.require_version('Gst', '1.0') | |
| from gi.repository import Gst, GLib | |
| import os | |
| import argparse | |
| import multiprocessing | |
| import numpy as np | |
| import setproctitle | |
| import cv2 | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import datetime | |
| from datetime import datetime, timedelta | |
| import numpy | |
| import pprint | |
| import json | |
| import requests | |
| import os | |
| from pymilvus import connections | |
| from pymilvus import utility |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DIMENSION = 512 | |
| DATABASE_NAME = "./OrinEdgeAI.db" | |
| COLLECTION_NAME = "OrinEdgeAI" | |
| PATH = "/home/jetson/unstructureddata/images/" | |
| BLIP_MODEL = "Salesforce/blip-image-captioning-large" | |
| extractor = FeatureExtractor("resnet34") | |
| milvus_client = MilvusClient(DATABASE_NAME) | |
| fields = [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import print_function | |
| import requests | |
| from ultralytics import YOLO | |
| import sys | |
| import io | |
| import json | |
| import shutil | |
| import sys | |
| import datetime | |
| import subprocess |