Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    R0yk3
    @R0yk3
    By the colors. there are two red blocks, one is called schoolbus yellow.. :D
    Damian Moore
    @damianmoore
    Oh, interesting. Should be a quick fix - I guess I never loaded a photo with school bus yellow before.
    Out of interest, would you expect filtering to be AND? Can you point to examples of other photo managers that do this?
    R0yk3
    @R0yk3
    Neither did i. But it comes back in a lot of photo's
    i guess it works with a histogram? and lights, beer and all are coming back into this filter.
    Damian Moore
    @damianmoore
    Yeah basically a histogram with thresholds. The function for determining is a bit simplistic right now so will be tweaked in future. It's a more orangey yellow than lemon. Just pushed a commit to master so there'll be a new Docker build with the fix in ~15 mins.
    R0yk3
    @R0yk3
    no hurry's
    question about the settings. source folder is that in relation to the "/data/photos" folder?
    I cannot save settings or any thing is that what it is suposed to be.
    i'm using chrome..
    Damian Moore
    @damianmoore
    Settings source folder should be the whole path (including /data/photos). It's a bit confusing now though as it needs a backend change to be properly effective.
    R0yk3
    @R0yk3
    I like it, it's stil rough but i like it. i'm not a coder so cannot help you there, but by the time you are going to translate let me know. i can translate to dutch.
    R0yk3
    @R0yk3
    I see more and more objects becoming visible. how long does it continue processing photo's?
    Damian Moore
    @damianmoore
    Thanks @R0yk3, appreciate it and will try to remember to ask you to translation. I would expect object detection to keep running for a while yet. Maybe about 5 secs per photo :-I
    ~5.8 days!
    R0yk3
    @R0yk3
    Out of interest, would you expect filtering to be AND? Can you point to examples of other photo managers that do this?
    I missed this post..
    I would expect a 'OR' but it is 'AND' because if i choose a second filter the selection becomes smaller. It would be nice to select the 'AND/OR'
    Cannot point other programs which do this.
    Jeyakumar CK
    @JeyakumarCK
    Hi, I just followed the installation instructions for photonix, but I couldn't see any pictures listed from the folders that I have been giving
    image.png
    All I got is this blank screen. Am I missing something?
    I have put couple of pictures in the .../data/photos folder and expecting it to showup in the home page in my library
    Jeyakumar CK
    @JeyakumarCK
    and I gave the base folder as /home/jk/Pictures
    Damian Moore
    @damianmoore
    Hi @JeyakumarCK, sorry you're having issues. Do you see any error messages in the console? Also could you run make shell and then ls /data/photos/ to confirm you have files mounted correctly?
    Francesco Belladonna
    @Fire-Dragon-DoL
    Is it possible to tag images in some way? I read the homepage but it's not cleer if the feature is implemented or not. In the demo it's hard to understand, because I presume some features are disabled to prevent spammers from wrecking havoc
    Damian Moore
    @damianmoore
    Hi @Fire-Dragon-DoL thanks for the question. Tagging is actually enabled on the demo site right now. To use it, select a thumbnail then scroll down until you see the heading "Tags". You should be able to then click the pencil/edit icon and add some of your own. You can see an example of the UI in this blog post under the heading "General tags": https://photonix.org/blog/january-2021-update/
    Francesco Belladonna
    @Fire-Dragon-DoL
    Ah! Thank you Damian ;)
    I completely missed the fact I was able to scroll, nice
    legraml
    @legraml

    All I got is this blank screen. Am I missing something?

    I am having the same problem. I used the web interface for setting up "admin" account and set basePath to "/data/photos". When I use "docker-compose run photonix bash" and "ls /data/photos", I get all JPG files listed as root:root and readable. But nothing happens.... any ideas?

    Damian Moore
    @damianmoore
    Hi @legraml, thanks for reporting this issue. I fear it might have been something I recently merged that broke things. I'll hopefully be able to look into it in the next couple of days.
    Damian Moore
    @damianmoore
    Hi @legraml, @JeyakumarCK Think I've fixed this import issue now. If you pull and run again I think it would be a lot better at detecting photos as they arrive.
    jensbrak
    @jensbrak
    I've resumed looking at the possibility to build and run Photonix on RPi. While building it is slow, as you mentioned in #67 it is possible to get beyond Tensorflow at least. But as you also mentioned, problems occur later on.
    Damian Moore
    @damianmoore
    Hi @jensbrak Thanks for having a go. Yes building the other Python wheel packages is slow - my solution to this is I created my own PyPI server and some scripting to upload packages so they only have to built once per architecture. Are you using (or have you seen) this branch?: https://github.com/damianmoore/photonix/compare/raspberry-pi There'll be some other bits I can push to that branch soon. I think it's very close.
    jensbrak
    @jensbrak
    Ah. Well, I haven't tried that branch no - I just went along with master and when encountering Tensorflow issues I manually installed it (2.4.0 actually). Now there seems to be issues building scipy
    There's no real hurry for me, I just remembered I tried to get it up and running but failed to remember the Github issue I was following lol.
    Damian Moore
    @damianmoore
    Cool @jensbrak. These are the packages I've built so far on my PyPI server in case they're of any use: https://pypi.epixstudios.co.uk/packages/
    jensbrak
    @jensbrak
    Allright. I'll see what I can do. I'll try the pi branch too - so far it stopped at tensorflow once again - which I just omit in the build script for the time being.
    Maybe I need to clear the build cache from my previous attempts since it seem to use that.
    I'm down to scipy 1.4.1 build step but most likely that will fail too in the rpi-branch.
    Damian Moore
    @damianmoore
    There are a lot of packages I temporarily removed in that branch. With the current requirements.txt it build and ran for me but obviously started erroring when starting to import photos. I didn't get onto scipy yet - gradually adding the dependencies back in.
    jensbrak
    @jensbrak
    ah, I get it. Allright. And I need to actually get the correct branch to start with lol.
    chbmb
    @CHBMB
    Hi Damian, was chatting to you on reddit about adding extra users via cmd line. I was wondering if I could help, if you tell me the commands, I can submit a PR for the docs and flesh it out a bit if you'd like?
    Damian Moore
    @damianmoore
    Hi @CHBMB, thanks for joining here. Here are some commands but it's more than I'd imagined, so I'm sorry about that. I was starting to write some scripts to simplify this but thought I'd send you these if you're brave enough to try in the mean time. Otherwise, I'll let you know when I've written the scripts. Hopefully the comments make sense but do ask if you are unsure or get stuck.
    # Launch Python shell in the running Docker container
    docker exec -ti photonix python photonix/manage.py shell
    
    # Import Django models
    from photonix.accounts.models import User
    from photonix.photos.models import Library, LibraryUser, LibraryPath
    
    # Create a user
    user = User(username='YOUR_USERNAME')
    user.set_password('YOUR_PASSWORD')
    user.save()
    
    # Create a library
    library = Library(name='YOUR_NEW_LIBRARY_NAME', classification_color_enabled=True, classification_location_enabled=True, classification_style_enabled=True, classification_object_enabled=True, setup_stage_completed='Th')
    library.save()
    
    # Create a path attached to the library so files can be imported
    library_path = LibraryPath(library=library, type='St', backend_type='Lo', path='YOUR_PATH_INSIDE_DOCKER_CONTAINER', watch_for_changes=True)
    library_path.save()
    
    # Link the user created above to the library created above
    library_user = LibraryUser(library=library, user=user, owner=True)  # owner=True only if this new library user is going to be in charge of managing it
    library_user.save()
    
    # Alternatively, if you want to be the owner in charge, set owner=False above and then also run this
    owner_user = User.objects.get(username='demo')
    library_user = LibraryUser(library=library, user=owner_user, owner=True)
    library_user.save()
    chbmb
    @CHBMB
    @damianmoore Looks straightforward enough to me, I'll have a play and knock something together, might take me a week or so as I have to do this sort of thing in the evenings once the kids are in bed.
    Damian Moore
    @damianmoore
    OK, cool. Good luck @CHBMB
    chbmb
    @CHBMB
    @damianmoore With photonix or the kids? :smile:
    Damian Moore
    @damianmoore
    Haha @CHBMB both! :smiley: