GithubHelp home page GithubHelp logo

arnav58 / video-processing Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 55.14 MB

Python 96.11% CSS 0.47% JavaScript 0.68% HTML 0.69% C++ 0.94% C 1.05% Fortran 0.05% PowerShell 0.01% Batchfile 0.01%

video-processing's Introduction

This project contains the configure_video_output.py file which reads the data from the specified video file and masks it to only output the layers containing the fresh produce.

The file, even though expects resolution for the video, does not change the resolution from 400*240 and so that is the configuration needed for the output file to run correctly as well.

All of the development for this project was completed in a single day, along with the web development exercise including the learning curve for Open CV. The project was intended to also extend the service out as a Django REST API but in lieu of time, this couldn't be achieved. The idea for the API was to accept the POST parameters from the API call, including a "file" to be processed, which would have then been first stored locally after copying it from the request.POST["file"], then be worked upon as is the case with the current video data stored locally in the /data/ folder. This API would then have triggered a download by returning the HttpResponse with a content_type of a mp4 file and a "content-Disposition" tag explaining the name of the file and extension.

This service would then have been engulfed by the React application which would make the POST request and expect the HttpResponse to initiate the file download.

video-processing's People

Watchers

Arnav Jain 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.