de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Just some ideas
PostPosted: Thu Jun 08, 2017 12:46 pm 
Offline
Regular
Hi all,

I really like the software und scripts provided in this forum. From another forum I got some ideas, I would like to share here. Perhaps someone with the required coding experience likes one of those and wants to implement one or two of them :D

Advanced Webcam Integration
- Motion detection, based on existing libraries ==> not allowed to move during a script / forced to move in front of the cam
- Blowjob Trainer (already exists as a single piece of software)
- Taking pictures / videos that are stored locally and can be encrypted by the software ==> humiliation / number-locks that are used to lock something for a period of time
- Identify user with the webcam (libraries for that already exist)
- Identify the users behaviour ==> punishment for missbehaviour
==> If you are interested in this, search e.g. for OpenCV at Youtube. Face recognition, eye-tracking etc. is possible - The libraries for those features exist already. I see great possibilities here.

Mic integration
- Make the user speak / shut up

Encryption
- Encrypt some / all p*rn folders of the users, so these are only availible during a session
- Use a key that is hidden in the .jar file, to digitally sign specified scripts and variables to prevent cheating.

IFTTT Integration
- Integration to the cloud-service If That Then That ==> User could integrate the app in the smart home / bet on football games / any many more scenarios are possible

Monitoring of the user behaviour
- the app has to be maximized and in front of anything else -> prevent user to do anything else without being noticed
- NTP -> prevent cheating by getting the time from the internet and not from the local pc

Smartphone app that helps tracking
- movement via GPS
- showing up notifications / random tasks
- taking pictures of numlocks and hiding them till a specified date
- taking pictures and videos that have to be transferred to a specified folder on the computer later on - the app could sign them to make sure they were taken at the specified time / date

To avaoid using some shady cloud services via internet, the computer to app communication could be realized e.g. by QR Codes. Both, the app and the program contain a secret key, that is used to encrypt/decrypt communication. Could mean:
- Mistress tells you to go for a 5 km walk and provides you a QR code
- QR Code is scanned by the app
- After the 5 km walk, that app presents you a code-string you type in the program to prove that you fulfilled the task

P.S. I'm not a programmer, but I think I know how much work that would be... So just dreaming... :whistle:


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Thu Jun 22, 2017 7:10 pm 
Offline
Site Admin
User avatar
We'll do some proposal about some of them.

For developers informations : you can already use some other library from SexScripts, if needed, for example here OpenCV Java API. Juste check : is this a Java library.

IFTTT forbid pornography.

Thank you for all those ideas.


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Thu Aug 10, 2017 5:02 pm 
Offline
Regular
Could you just give me an exaple on how to use another JAVA library? Or did you already document that somewhere in the forum?


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Thu Aug 10, 2017 9:37 pm 
Offline
Site Admin
User avatar
Try putting the .jar file in the /lib/ directory, and use the classes, it should be ok. If not I'll check the auto includes


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Fri Aug 11, 2017 12:42 am 
Offline
Regular
I'm sorry, but I don't get it. Probably because I'm not programmer at all.

The code I would like to transfer is the following

Code:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javacvtestapp;

/**
*
* @author Paul Pistorius
*/

import org.opencv.core.*;
import org.opencv.videoio.VideoCapture;
import org.opencv.imgcodecs.Imgcodecs;


public class JavaCvTestApp {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
       VideoCapture camera = new VideoCapture(0);
       
       if(!camera.isOpened()){
          System.out.println("Error");
       }
       else {
          Mat frame = new Mat();
           while(true){
              if (camera.read(frame)){
                 System.out.println("Frame Obtained");
                 System.out.println("Captured Frame Width " +
                 frame.width() + " Height " + frame.height());
                        Imgcodecs.imwrite("camera.jpg", frame);
                 System.out.println("OK");
                 break;
              }
           }   
       }
       camera.release();
    }
   
}



So I downloaded the opencv-3.2.0-1.jar and put it into the lib folder.

But already if I try this...
Code:
  show("<b>Test</b>")

wait(3)



     System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
       VideoCapture camera = new VideoCapture(0);
       
       if(!camera.isOpened()){
//          System.out.println("Error");
      show("NO")
       }
   else {
      show("YES")
   }


...I get the error message at startup, that the class VideoCapture wouldn't exist.

When I have a look at videos like https://www.youtube.com/watch?v=o3LSOq6OC4I or KI systems like tensorflow https://www.youtube.com/watch?v=QfNvhPx5Px8 I think there are pretty much scenarios, I can imagine.

I'm pretty shure that I make a total noobish mistake. So help is very appreciated.


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Fri Aug 11, 2017 10:21 am 
Offline
Site Admin
User avatar
You have to do some changes to make it work.

You can see some "import" line in the begining, the second one means "when I use VideoCapture, its in fact the class VideoCapture of the package org.opencv.videoio". You can not use "import" in SexScripts scripts, so when you have
Code:
import org.opencv.videoio.VideoCapture;
...
...
VideoCapture camera = new VideoCapture(0);

You must prefix instead :
Code:
org.opencv.videoio.VideoCapture camera = new org.opencv.videoio.VideoCapture(0);


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Fri Aug 11, 2017 7:14 pm 
Offline
Regular
I tried your example as well as that

Code:
  show("Test")
wait(1)
   com.github.sarxos.webcam.WebcamMotionDetector myWebcam = null; //for testing purposes
   org.opencv.videoio.Videoio camera = null;
show ("Passed")


Line
Code:
com.github.sarxos.webcam.WebcamMotionDetector myWebcam = null;

Works, but when I try the script above, startup failed.
Code:
script...groovy: 52: unable to resolve class org.opencv.videoio.Videoio @ line 52, column 29.
org.opencv.videoio.Videoio camera = null


Jar file is moved to the lib folder and contains the referenced class.
Using the jar file from here
https://jar-download.com/explore-java-source-code.php?a=opencv&g=org.openpnp&v=3.2.0-1&downloadable=1

Any ideas?


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Sat Aug 12, 2017 6:53 pm 
Offline
Site Admin
User avatar
Ok, found it
If you are using SexScripts.exe, it won't work. You need to run sexscripts.jar directly (Linux and OsX user do that already). On Windows, you can create a sexscripts.bat file with :
Code:
java -Djava.ext.dirs=lib -Dfile.encoding=UTF-8 -jar sexscripts.jar


I tested it : it runs, but nothing happend with "opencv-3.2.0-1.jar". I don't know why.


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Sat Aug 12, 2017 9:48 pm 
Offline
Regular
Code:
java -Djava.ext.dirs=lib -Dfile.encoding=UTF-8 -jar sexscripts.jar

worked on my ubuntu as well. Now, I'm facing the same issue as you. When I run a function, the program doesn't finish, e.g.

Code:
show("<b>started</b>")
   org.opencv.core.MatOfRect foo = null;
   foo = new org.opencv.core.MatOfRect();
show("<b>end</b>")


Seems like SS is not able to open the jar file properly, as far as I can see it.


Top
 Profile Send private message 
 
 Re: Just some ideas
PostPosted: Sun Aug 13, 2017 9:56 am 
Offline
Site Admin
User avatar
It seems OpenCV is only a java layer to some things in C or C++ with native librairies.
This works :
Code:
show("<b>started</b>")
def foo = new org.opencv.core.Core();
show("<b>end</b>")

So its only some classes, probably the ones that are in fact not in Java There's an installer for Windows, I didn't test it.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.