• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

AC App Python import help required

Abhishek Masand

New Member
Hi everyone,

I wanted to make an Assetto Corsa as an environent for my AI agent, but to do that I needed to collect data first. I saw a library that did that, but it used mss library for screen capture, and that dropped my fps down to 3 ( pretty much pointless then). So I wanted to use the d3dshot library, as its touted to be one of the fastest screen capture libraries with around 60 fps.

I need some help with adding d3dshot library to my app, I have tried everything, but I can't get it to import.

Let me know if someone can help me with this.

Github repo: https://github.com/Mashex/Assetto-Corsa-Data-Collector/tree/master

Thanks and Regards
 

fughettaboutit

aka leBluem

Abhishek Masand

New Member
Thanks for your reply,

I appreciate you pointing out different ways to get the car's position, but my main goal is to only use the camera view of the car for my project and nothing else. That's why I have to apply screen capture. Please let me know if you have any idea to get screen capture data.

Thanks a lot!
 

Abhishek Masand

New Member
Yup, the above video is by sentdex, I have seen all of his videos, and they are a huge help. I can directly record the screen, through my system's python and get the controls, but the idea of getting those through AC's inbuilt python app provided me with the flexibility as well as the ease of recording the data directly through a button while playing, I would also have the benefit of getting extra data, such as speed, g-force, etc, if I want to use those features later on.

There is already an app: https://github.com/briansfma/AC-Synced-Logger.

But it uses MSS as a screen capture tool, and that is extremely slow. It drops my FPS from 90-100 all the way down to 3-5. I was trying to implement D3DSHOT instead of MSS, as it claims to work very fast ( 60 fps ).

I was trying to make an app because it is the most convenient for me, and I could easily share it with my friends to help me collect data( cause I need around 20 hrs :| ).

I could use any help that I can get.
 
Top