Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Introducing real-time Encoding/Decoding for NetGear API #72

Merged
merged 1 commit into from
Nov 16, 2019

Conversation

abhiTronix
Copy link
Owner

Description

This PR introduces Encoding/Decoding compression capabilities for NetGear API for optimizing performance while sending the frames of large size directly over the network by encoding the frame before sending it and decoding it on the client's end automatically all in real-time. To achieve this NetGear API utilizes OpenCV's imencode & imdecode functions in conjunction with its flexible APIs and robustly handles all errors

Features:

  • added compression support with on-the-fly flexible frame encoding on the server-side
  • added initial support for JPEG, PNG & BMP encoding formats
  • added exclusive options attribute compression_format & compression_param to tweak this feature
  • client-side will now decode frame automatically based on the encoding as well as support decoding flags.
  • Updated docs
  • Minor fixes(removed redundant import from PiGear)

Requirements / Checklist

Related Issue

#65

Context

This PR helps to achieve better control over the quality of the frame being sent over the network and thereby helps in optimizing the performance at cost quality. Thereby the user can now specify the format and other parameters (such as compression level, compression type) for the outgoing frame easily through new compression_format & compression_param attributes and client have the capability to handle decoding automatically.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Screenshots (if available):

None

- added compression support with on-the-fly flexible frame encoding on server side(#65)
- added initial support for `jpg,png,bmp` encoding formats
- added exclusive options attribute `compression_format` & `compression_param` to tweak this feature
- client side will now decode frame automatically based on the encoding
- Updated docs
- Minor fixes
@abhiTronix abhiTronix added ENHANCEMENT ⚡ New Feature/Addition/Improvement WORK IN PROGRESS 🚧 currently been worked on. labels Nov 13, 2019
@abhiTronix abhiTronix added this to the v0.1.6 milestone Nov 13, 2019
@abhiTronix abhiTronix self-assigned this Nov 13, 2019
@abhiTronix abhiTronix merged commit cca8b26 into testing Nov 16, 2019
@abhiTronix abhiTronix deleted the development branch November 16, 2019 03:25
@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! and removed WORK IN PROGRESS 🚧 currently been worked on. labels Nov 16, 2019
@abhiTronix abhiTronix mentioned this pull request Dec 24, 2019
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENHANCEMENT ⚡ New Feature/Addition/Improvement SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant