Git Product home page Git Product logo

deepstream-test4-c-redis's Introduction

deepstream-test4-app + Redis + RedisInsight

deepstream-test4-app

RedisInsight: Redis GUI

My environment

  • Ubuntu 20.04.3 LTS (amd64)
  • GeForce GTX 1070 Ti
    • Driver Version: 510.47.03
    • CUDA Version: 11.6
  • Docker version 20.10.12, build e91ed57
  • docker-compose version 1.29.2, build 5becea4c

Running under Docker

  1. Download this project

    $ git clone https://github.com/KeitetsuWorks/deepstream-test4-c-redis.git
    $ cd deepstream-test4-c-redis/
  2. Start the docker containers

    $ docker-compose up -d
    Creating network "deepstream-test4-c-redis_frontend" with the default driver
    Creating volume "deepstream-test4-c-redis_redisinsight" with default driver
    Creating redis ... done
    Creating nvds         ... done
    Creating redisinsight ... done
  3. Check if Redis is working (Optional)

    $ docker exec -it redis /bin/bash
    root@redis:/data# redis-cli
    127.0.0.1:6379> set testKey testValue
    OK
    127.0.0.1:6379> keys *
    1) "testKey"
    127.0.0.1:6379> get testKey
    "testValue"
    127.0.0.1:6379> exit
    root@redis:/data# exit
  4. Run deepstream-test4-app

    $ xhost +
    $ docker exec -it nvds /bin/bash
    # cd sources/apps/sample_apps/deepstream-test4/
    # deepstream-test4-app -i ../../../../samples/streams/sample_720p.h264 -p /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_redis_proto.so --conn-str="redis;6379" -t ds-meta -s 0
  5. Check Redis database

    • CUI

      $ docker exec -it redis /bin/bash
      root@redis:/data# redis-cli
      127.0.0.1:6379> keys *
      1) "ds-meta"
      2) "testKey"
    • RedisInsight

      Visit http://localhost:8001 in your web browser.

Related projects

deepstream-test4-c-redis's People

Contributors

keitetsuworks avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.