Giter VIP home page Giter VIP logo

frc-opencv-android-vision's Introduction

FRC-OpenCV-Android-Vision

FRC vision application on android device using openCV and camera2 API (openCV JavaCamera2View)

General

  • This app trying to change camera exposure to low (image will be dark), it may not work in your device. camera sittings can be found in here
  • Need to give camera permissions for the app to work
  • If you changing openCV version add all the folders in sdk\native\libs from your new openCV version to jniLibs folder
  • Tested on samsung galaxy A5 2017, you can see here the performance when running it in 30FPS and 320X240

View should look like for FRC teams after configuration

App view you can also see here 2020 field target images

Draws on screen

  • phone battery level
  • FPS
  • Don't have connection (no one is reading vision data)
  • Counters, Target and target error

Servers

The servers will send value and responds only when the app is open and running on your phone!

  • MjpgServer stream final mat (app view) to port 5800 in 15 FPS
  • VisionConstantServer get request to change vision values to port 5801, to view web vision value config send a request from your browser to <Phone-IP>:5801 (you can see images of web vision config here)
  • VisionDataServer send string with vision data (isTargetValid;x;y => true;-0.711;-0.417) to port 5802 (you can use client.py to read vision data value but change the host)

Contact

If you have any question you can send me email: [email protected]

frc-opencv-android-vision's People

Contributors

matanabc avatar

Stargazers

 avatar

Watchers

 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.