Deep Art Effects Command Line Tool For Batch Processing & Scripting

Cedric answered your question for both within Deep Art Effect and command line.

Below not only answers your question, but may answer other user questions on how to use the command line prompt. The following may prove to be helpful to others.

This article directly addresses using Windows 10 and creating a batch file. To make it easier to follow I am listing explanation in numbered steps.

  1. First, I created a batch file (below) in NOTEPAD and saved the file “DAE Multiple Files.bat” make sure to put the file name in quotes, when saving in Notepad. This saves the file as a batch file and NOT a text file. To run the file, you simply double click the bat file.

  2. Why do I use this method? It saves me time and gives me a reference folder with all the baseline source images and their impact on what I generally take photos of and want to have DAE generate a painted image. Sound confusing, keep reading, hopefully, the following will help you understand what I am doing.

  3. For my source images, I have a higher level folder kept in the Windows USER default Pictures folder. In my case that folder is located "C:\Users\USERNAME\Pictures".

  4. In that folder, I created a new folder I called, "Saved Pictures". The resulting folder is "C:\Users\USERNAME\Pictures\Saved Pictures".

  5. In that folder, I keep source images. Known in DAE as stylename.

  6. Generally, I take nature, city, or portraits of people. In their respective folder, I have the baseline photograph; a beach scene, a town square, and a face shot. Known in DAE as input. Their folder names are Beach, City, and Portrait respectively.

  7. When I obtain a new source image, in this case, I modified a Picasso image (see attached) and called it Picasso-mine.png. I saved that image in the Saved Pictures; the stylename folder.

  8. I want to apply the new artwork to the three baseline images. Known in DAE as output. You will note in the bat file, I preceded the file name with an underscore, this is to help me, you may or may not want to use the underscore, it is your call.

  9. From Windows Explorer, in the Saved Pictures folder, right click the DAE Multiple Files.bat file, and select EDIT, and change the output and the stylename file to the name of the new stylename, in this case it is called Picasso-mine.png.

  10. Save the file.

  11. To run the file, right click the DAE Multiple Files.bat file and click OPEN. This will open the Command Prompt file telling you the process of the the conversion. Depending on many factors this can take a few minutes to over an hour. You can work on other things while the file is running. DO NOT CLOSE the file while it is running. When it is done, you will be notified to press enter to continue.

  12. When the program is done, it should save the new stylename DAE file in the respective folders. Now you can open those folders and view the impact of running DAE on your original image.

  13. Doing the above saves a lot of time. I do keep an Excel file with all the stylenames. Depending on what you want to do, you could save the information in a Word or Note file. This way you can sort the file names to make sure you do not make duplicate images.

Hope this helps. Below should also be of use.

DAE Multiple Files.bat file READABLE VERSION:

echo %date% %time%

“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract
-input “C:\Users\USERNAME\Pictures\Saved Pictures\Beach\Beach.jpg”
-output “C:\Users\USERNAME\Pictures\Saved Pictures\Beach\_Picasso-mine.png
-stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png
-originalcolors -styleweight 100

“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract
-input “C:\Users\USERNAME\Pictures\Saved Pictures\City\City.jpg”
-output “C:\Users\USERNAME\Pictures\Saved Pictures\City\_Picasso-mine.png
-stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png
-originalcolors -styleweight 100

“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract
-input “C:\Users\USERNAME\Pictures\Saved Pictures\Portrait\Portrait.jpg”
-output “C:\Users\USERNAME\Pictures\Saved Pictures\Portrait\_Picasso-mine.png
-stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png
-originalcolors -styleweight 100

echo %date% %time%
pause

DAE Multiple Files.bat file (SAVE this version. The above one is for readability purposes only)

echo %date% %time%
“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract -input “C:\Users\USERNAME\Pictures\Saved Pictures\City\City.jpg” -output “C:\Users\USERNAME\Pictures\Saved Pictures\City_Picasso-mine.png” -stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png” -originalcolors -styleweight 100
“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract -input “C:\Users\USERNAME\Pictures\Saved Pictures\Beach\Beach.jpg” -output “C:\Users\USERNAME\Pictures\Saved Pictures\Beach_Picasso-mine.png” -stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png” -originalcolors -styleweight 100
“C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe” abstract -input “C:\Users\USERNAME\Pictures\Saved Pictures\Portrait\Portrait.jpg” -output “C:\Users\USERNAME\Pictures\Saved Pictures\Portrait_Picasso-mine.png” -stylename “C:\Users\USERNAME\Pictures\Saved Pictures\Picasso-mine.png” -originalcolors -styleweight 100
echo %date% %time%
pause

ADDENDUM: If you are going to use an ARTFILTER style, the following parameters in BOLD must be changed. In the example below, the artfilter stylename is Pointillism 3.

"C:\Users\USERNAME\AppData\Roaming\DeepArtEffects\DeepArtEffectsCli.exe" artfilter
-input “C:\Users\USERNAME\Pictures\Saved Pictures\Beach\Beach.jpg”
-output “C:\Users\USERNAME\Pictures\Saved Pictures\Beach_Pointillism 3.jpg”
-stylename “Pointillism 3
-originalcolors

Picasso-mine.png

1 Like