Primary competition visual

Barbados Traffic Analysis Challenge

Helping Barbados
$11 000 USD
Completed (~1 month ago)
Computer Vision
Prediction
Object Tracking
Video Analytics
Deep Learning
1824 joined
222 active
Starti
Nov 07, 25
Closei
Jan 25, 26
Reveali
Jan 26, 26
User avatar
diyar
Optimized Submissions & Data Resources to Improve Your Barbados Traffic Analysis Challenge Scores
Help · 2 Dec 2025, 17:15 · 19

I currently have 19 additional submission.csv files designed to help optimize your competition performance and improve your overall score. I can provide these files in a well-organized ZIP archive to anyone interested. By reviewing my workflow and data processing strategies, you can enhance your existing models and achieve stronger, more consistent results in future competitions.

In my own work, I reached 13th place using only a single submission.csv file. Additionally, I have a supporting data folder that can be shared with participants who wish to explore advanced analysis and model optimization techniques.

For optimal efficiency, I recommend using a system with at least 16 GB of RAM, though 32 GB or more will deliver significantly faster and more stable performance during processing.

Discussion 19 answers
User avatar
CodeJoe

Oh it will be great if you share it here😁

2 Dec 2025, 17:16
Upvotes 1
User avatar
Joseph_gitau
African center for data science and analytics

Sure, it would be great if shared here.

User avatar
diyar

I won’t be sharing the files directly here, but for those interested, I will be uploading them as a public repository on GitHub. I hope these resources help you achieve strong results and improve your performance. The repository will be available on my GitHub account within approximately 30 minutes.

2 Dec 2025, 17:20
Upvotes 0
User avatar
CodeJoe

May we know your repo at least?

User avatar
nymfree

please post the link here.

User avatar
diyar

The repository will be fully public, allowing anyone to download, explore, and use the files freely. As mentioned earlier, I will be uploading it to GitHub within the next 30 minutes and sharing the link here as soon as it’s available. I hope this resource proves useful and supportive in improving your work and results.

User avatar
Joseph_gitau
African center for data science and analytics

Thanks

User avatar
CodeJoe

Thank you in advance🙏

User avatar
diyar
User avatar
diyar
User avatar
CodeJoe

🙏🙏🙏😭

User avatar
diyar
2 Dec 2025, 18:57
Upvotes 3
User avatar
CodeJoe

Wow, the code is really heavy. Thank YOU!

User avatar
diyar

thanks

User avatar
nymfree

thank you

User avatar
Knowledge_Seeker101
Freelance

Thanks for the insights

User avatar
Juliuss
Freelance

Oh my! This is really loaded🔥. I’ll be digging through that repo for many days. Great job!!

2 Dec 2025, 21:20
Upvotes 0
User avatar
nymfree

Parallelised video feature extraction to make experimentation a little faster

 from concurrent.futures import ProcessPoolExecutor, as_completed
 
    @staticmethod
    def process_single_video(args):
        """ Helper function for multiprocessing video feature extraction. """
        row, video_base_path, row_index = args
        extractor = VideoFeatureExtractor(use_yolo=False)
        video_path = os.path.join(video_base_path, row["videos"])
        features = extractor.extract_features_from_video(video_path)
        features["time_segment_id"] = row["time_segment_id"]
        return row_index, features
        
                
   def prepare_training_data(self, df: pd.DataFrame, video_base_path: str = "videos") -> pd.DataFrame:
       print("Parallel video feature extractor")
       max_workers = 4
       results = []               
       with ProcessPoolExecutor(max_workers=max_workers) as executor:
          futures = []
          for idx, row in df.iterrows():
              futures.append(executor.submit(self.process_single_video, (row, video_base_path, idx))
              
          for idx, future in enumerate(as_completed(futures)):
              row_index, features = future.result()
              results.append((row_index, features))
              
              if (idx + 1) % 100 == 0:
                  print(f"  Processed video: {idx + 1}/{len(df)}")
     
    results = sorted(results, key=lambda x: x[0])
    video_features_list = [x[1] for x in results]
    # Video özelliklerini birleştir
    ....                                               
3 Dec 2025, 08:05
Upvotes 3
User avatar
21db

This is a big repo! thanks for sharing🙏

5 Dec 2025, 13:18
Upvotes 0