Comments (2)
Hey!
I'm willing to take up this issue.
I just wanted to point out some things after I went through the code briefly :
- Based on #4 and #5, it looks like the we need a function for loading dataset(images/videos), which is currently done by just inputting the image path directly.
- Using opencv would make it easier for preprocessing and reading videos/images. I understand we have used pillow for preprocessing using torchvision.transforms. Opencv is just a suggestion from my side.
You can suggest your changes in the appropriate file, I will try implementing them.
from playground.
Sure. In that case, let's keep it standard process to use OpenCV from now on. In the file Badminton/Badminton.py do the following:
Currently, only path is taken as input, Add an additional parameter taking input as loaded image array so that the user has option of using ANY ONE form of input. Put appropriate checks in place such that if two parameters are passed, an error is shown as loaded image, and image from the input image path might be different in an exceptional case leading to bugs.
Create another method with the name detect_players_video() which takes in the video / video path as parameter similar to above, parser through the video, and runs detections on it.
Best of luck!
from playground.
Related Issues (20)
- Color segmentation for differentiating team members for Football HOT 1
- Data processing to extract annotations HOT 3
- Removing code redundancy HOT 2
- Code modularisation HOT 3
- Adding optimization code to heatmap
- Documentation for optimisation algo HOT 1
- Extra progress bars in the heatmap module HOT 2
- Point segmentation HOT 1
- Implementing action segmentation HOT 2
- Highlights Generation in Cricket HOT 10
- Implementing Action Recognition on the badminton dataset HOT 4
- Football player detection HOT 3
- Football player tracking HOT 6
- Cricket wagon wheel generation HOT 1
- Football heatmap generation HOT 1
- Football tactical analysis
- Gym form analysis HOT 1
- Basketball action analysis
- Detection and Tracking of Basketball players in Real Time
- Multiple progress bars HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playground.