Not sure if it would help, but here is how I did it using Miniconda, which allows to isolate different Python application (i.e. use different versions of a library for each application):
While executing, you’ll need to say “yes” a few times. The lines “pip uninstall / pip3 install” is to replace the “CPU” version of torch with a “cuda enabled / GPU” version (you might need to install nvidia CUDA stuff for it to works, I’m not sure).
I would put it in Software. Motion Tracking Funscript Generator is there (and it has one in “How to” aswell). Maybe when it’s more mature, you could create something in the “How to”, or if you are lucky, someone else might do it for you…
And yes, I would create a new topic and try to limit it to using the application, fixing problem that people have, etc. You could keep this thread for the experimentation that you are doing and stuff. But I’m not an expert either, my multiple topics for FunscriptToolBox is a bit of a mess too.
Also, to complete my miniconda, after the setup, I usually create a batch file to start the application in the right conda environnement (note: need to update the path):
@echo off
call <PATH_TO_MINICONDA>\miniconda3\condabin\conda activate VRFunAIGen
cd /d "<PATH_TO_SOURCES>\VR-Funscript-AI-Generator"
python FSGenerator.py
pause
Enable boost : boost up is a boost value for peaks, reduce is a lowering value for lows
Enable treshold : 0 threshold = all values below selected value will be mapped to 0, and to 100 for any value above the selected 100 threshold
Simplification: strength of the VW simplification algorithm (the more, the less points in funscript in the end). Rounding will round values to the closest multiple of 5 or 10
Hi all, finally I can’t do it.
Yesterday I managed to connect my Keon to Heresphere via “Intiface & Scriptplayer” it was quite fun to use this kind of device, it is correctly synchronized with the videos and powerful enough to move the stroker.
Now having some SBS 4k videos but without scripts, I would like to create scripts with this program of k00gar, but I still can’t run it in Python. I tried python in 64bit, in 32Bit, it’s the same thing: syntax error, syntax error, syntax error… What am I doing wrong ??? It’s simple anyway, but at home it doesn’t want.
Hello, I made some progress, managed to install with difficulty all the dependencies to run the program, and I finally managed to generate a .funscript from a 4K SBS video. I then tested the rendering with my Keon but already on a scene where an actress is from behind and straddles the actor, everything is clearly visible in the scene and there is no movement for the Keon in the .funscript file, on the other hand on other scenes I obtained almost synchronous movements with slight defects at times, but in any case it is starting to work for me. Maybe I should only put 1 model in the models folder, and not all three, I don’t know. It’s the YOLO detection, you have to put the 3 files in the models folder, there is one that I unzipped too. In any case, good luck in improving this promising program, it’s a whole other immersion to be synchronized with the videos and not have to do anything. Thank you
Ok, thanks for your help, just for now I have to go, I’ll go to discord tonight or tomorrow as soon as I’ve uploaded the video clip I’m trying to .funscript. See you soon
A new update was pushed to GitHub, including the following changes and fixes:
Inference performance - The on-the-fly resizing option will now default to 1080p as it seems to be a sweet spot for performance/reliability (can be changed in config.py)
Funscript pos. estimation - Tweaked the use of the visible penis length, used only when no class touching is identified by YOLO, but penetration still considered as ongoing - Fixed a bug in the way the visible part of penis was taken into account - Tweaked moving averages weights - Added a IOU filter logic to discard fake positives of hand touching penis - Added a change in the position estimation based on the class
Funscript report generation - Added a SPOILER_ prefix so the content is blurred when posted on Discord, before clicking
Debugging - The output video are now compressed with h265, full res (max 1080p), and saved with a SPOILER_ prefix so the content is blurred when posted on Discord, before clicking
2D POV - Added a 2D POV mode during video selection - Tweaked the actuation speed of the locked penis box (to compensate specific cases, the camera not being still as in VR for instance)